Searched refs:ghdr (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | recordmcount.c | 596 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 597 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file() 598 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 603 if (w2(ghdr->e_machine) == EM_S390) { in do_file() 607 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file() 613 if (do64(ghdr, fname, reltype) < 0) in do_file()
|
| H A D | sorttable.c | 372 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 373 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file() 374 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 380 rc = do_sort_64(ghdr, fname, custom_sort); in do_file()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/ |
| H A D | pm_nl_ctl.c | 120 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() local 133 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_getfamily() 134 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily() 136 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_discovery.c | 165 struct gpu_info_header *ghdr; in amdgpu_discovery_init() local 223 ghdr = (struct gpu_info_header *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_init() 226 ghdr->size, checksum)) { in amdgpu_discovery_init()
|
| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | netlink.c | 484 struct genlmsghdr *ghdr; in ethnl_default_start() local 489 ghdr = nlmsg_data(cb->nlh); in ethnl_default_start() 490 ops = ethnl_default_requests[ghdr->cmd]; in ethnl_default_start() 491 if (WARN_ONCE(!ops, "cmd %u has no ethnl_request_ops\n", ghdr->cmd)) in ethnl_default_start()
|