Searched refs:ghdr (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/scripts/ |
D | recordmcount.c | 634 Elf64_Ehdr *const ghdr = (Elf64_Ehdr *)ehdr; in do_file() local 635 if (w2(ghdr->e_ehsize) != sizeof(Elf64_Ehdr) in do_file() 636 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file() 641 if (w2(ghdr->e_machine) == EM_S390) { in do_file() 645 if (w2(ghdr->e_machine) == EM_MIPS) { in do_file() 651 if (w2(ghdr->e_machine) == EM_LOONGARCH) { in do_file() 655 if (do64(ghdr, fname, reltype) < 0) in do_file()
|
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()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 818 struct guc_state_capture_group_header_t *ghdr) in guc_capture_log_get_group_hdr() argument 826 if (guc_capture_data_extracted(buf, fullsize, (void *)ghdr)) in guc_capture_log_get_group_hdr() 829 read += guc_capture_log_remove_dw(guc, buf, &ghdr->owner); in guc_capture_log_get_group_hdr() 830 read += guc_capture_log_remove_dw(guc, buf, &ghdr->info); in guc_capture_log_get_group_hdr() 1100 struct guc_state_capture_group_header_t ghdr = {}; in guc_capture_extract_reglists() local 1119 if (guc_capture_log_get_group_hdr(guc, buf, &ghdr)) { in guc_capture_extract_reglists() 1175 is_partial = FIELD_GET(CAP_GRP_HDR_CAPTURE_TYPE, ghdr.info); in guc_capture_extract_reglists() 1176 numlists = FIELD_GET(CAP_GRP_HDR_NUM_CAPTURES, ghdr.info); in guc_capture_extract_reglists()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 103 struct genlmsghdr *ghdr; in capture_events() local 136 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events() 138 if (ghdr->cmd == 0) in capture_events() 141 fprintf(stderr, "type:%d", ghdr->cmd); in capture_events() 145 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in capture_events() 242 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() local 261 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_getfamily() 262 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily() 264 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 118 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr() local 123 VIRTCHNL_SET_PROTO_HDR_TYPE(ghdr, GTPU_IP); in iavf_fill_fdir_gtpu_hdr() 146 __be16 *pay_word = (__be16 *)ghdr->buffer; in iavf_fill_fdir_gtpu_hdr() 149 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(ghdr, GTPU_IP, TEID); in iavf_fill_fdir_gtpu_hdr()
|
/linux-6.12.1/net/ethtool/ |
D | netlink.c | 607 struct genlmsghdr *ghdr; in ethnl_default_start() local 612 ghdr = nlmsg_data(cb->nlh); in ethnl_default_start() 613 ops = ethnl_default_requests[ghdr->cmd]; in ethnl_default_start() 614 if (WARN_ONCE(!ops, "cmd %u has no ethnl_request_ops\n", ghdr->cmd)) in ethnl_default_start()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 485 struct gpu_info_header *ghdr = in amdgpu_discovery_init() local 488 if (le32_to_cpu(ghdr->table_id) != GC_TABLE_ID) { in amdgpu_discovery_init() 495 le32_to_cpu(ghdr->size), checksum)) { in amdgpu_discovery_init()
|