/kernel/linux/linux-5.10/scripts/ |
H A D | recordmcount.c | 635 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 636 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file() 637 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 642 if (w2(ghdr->e_machine) == EM_S390) { in do_file() 646 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file() 652 if (w2(ghdr->e_machine) == EM_LOONGARCH) { in do_file() 656 if (do64(ghdr, fname, reltype) < 0) in do_file()
|
H A D | sorttable.c | 407 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 408 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file() 409 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 415 rc = do_sort_64(ghdr, fname, custom_sort); in do_file()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | recordmcount.c | 635 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 636 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file() 637 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 642 if (w2(ghdr->e_machine) == EM_S390) { in do_file() 646 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file() 652 if (w2(ghdr->e_machine) == EM_LOONGARCH) { in do_file() 656 if (do64(ghdr, fname, reltype) < 0) in do_file()
|
H A D | sorttable.c | 343 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 344 if (r2(&ghdr->e_ehsize) != sizeof(Elf64_Ehdr) || in do_file() 345 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 351 rc = do_sort_64(ghdr, fname, custom_sort); in do_file()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_capture.c | 822 struct guc_state_capture_group_header_t *ghdr) in guc_capture_log_get_group_hdr() 830 if (guc_capture_data_extracted(buf, fullsize, (void *)ghdr)) in guc_capture_log_get_group_hdr() 833 read += guc_capture_log_remove_dw(guc, buf, &ghdr->owner); in guc_capture_log_get_group_hdr() 834 read += guc_capture_log_remove_dw(guc, buf, &ghdr->info); in guc_capture_log_get_group_hdr() 1104 struct guc_state_capture_group_header_t ghdr = {0}; in guc_capture_extract_reglists() local 1123 if (guc_capture_log_get_group_hdr(guc, buf, &ghdr)) { in guc_capture_extract_reglists() 1179 is_partial = FIELD_GET(CAP_GRP_HDR_CAPTURE_TYPE, ghdr.info); in guc_capture_extract_reglists() 1180 numlists = FIELD_GET(CAP_GRP_HDR_NUM_CAPTURES, ghdr.info); in guc_capture_extract_reglists() 821 guc_capture_log_get_group_hdr(struct intel_guc *guc, struct __guc_capture_bufstate *buf, struct guc_state_capture_group_header_t *ghdr) guc_capture_log_get_group_hdr() argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.c | 117 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr() local 122 VIRTCHNL_SET_PROTO_HDR_TYPE(ghdr, GTPU_IP); in iavf_fill_fdir_gtpu_hdr() 145 __be16 *pay_word = (__be16 *)ghdr->buffer; in iavf_fill_fdir_gtpu_hdr() 148 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(ghdr, GTPU_IP, TEID); in iavf_fill_fdir_gtpu_hdr()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 109 struct genlmsghdr *ghdr; in capture_events() local 142 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events() 144 if (ghdr->cmd == 0) in capture_events() 147 fprintf(stderr, "type:%d", ghdr->cmd); in capture_events() 151 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in capture_events() 248 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() local 267 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_getfamily() 268 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily() 270 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | netlink.c | 523 struct genlmsghdr *ghdr; in ethnl_default_start() local 528 ghdr = nlmsg_data(cb->nlh); in ethnl_default_start() 529 ops = ethnl_default_requests[ghdr->cmd]; in ethnl_default_start() 530 if (WARN_ONCE(!ops, "cmd %u has no ethnl_request_ops\n", ghdr->cmd)) in ethnl_default_start()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 425 struct gpu_info_header *ghdr = in amdgpu_discovery_init() local 428 if (le32_to_cpu(ghdr->table_id) != GC_TABLE_ID) { in amdgpu_discovery_init() 435 le32_to_cpu(ghdr->size), checksum)) { in amdgpu_discovery_init()
|