Searched refs:ghdr (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/scripts/ |
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()
|
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.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 44 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr() local 49 VIRTCHNL_SET_PROTO_HDR_TYPE(ghdr, GTPU_IP); in iavf_fill_fdir_gtpu_hdr() 72 __be16 *pay_word = (__be16 *)ghdr->buffer; in iavf_fill_fdir_gtpu_hdr() 75 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(ghdr, GTPU_IP, TEID); in iavf_fill_fdir_gtpu_hdr()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 874 struct guc_state_capture_group_header_t *ghdr) in guc_capture_log_get_group_hdr() argument 882 if (guc_capture_data_extracted(buf, fullsize, (void *)ghdr)) in guc_capture_log_get_group_hdr() 885 read += guc_capture_log_remove_dw(guc, buf, &ghdr->owner); in guc_capture_log_get_group_hdr() 886 read += guc_capture_log_remove_dw(guc, buf, &ghdr->info); in guc_capture_log_get_group_hdr() 1158 struct guc_state_capture_group_header_t ghdr = {0}; in guc_capture_extract_reglists() local 1177 if (guc_capture_log_get_group_hdr(guc, buf, &ghdr)) { in guc_capture_extract_reglists() 1233 is_partial = FIELD_GET(CAP_GRP_HDR_CAPTURE_TYPE, ghdr.info); in guc_capture_extract_reglists() 1234 numlists = FIELD_GET(CAP_GRP_HDR_NUM_CAPTURES, ghdr.info); in guc_capture_extract_reglists()
|
/linux-6.1.9/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() 237 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() local 256 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_getfamily() 257 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily() 259 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
|
/linux-6.1.9/net/ethtool/ |
D | netlink.c | 532 struct genlmsghdr *ghdr; in ethnl_default_start() local 537 ghdr = nlmsg_data(cb->nlh); in ethnl_default_start() 538 ops = ethnl_default_requests[ghdr->cmd]; in ethnl_default_start() 539 if (WARN_ONCE(!ops, "cmd %u has no ethnl_request_ops\n", ghdr->cmd)) in ethnl_default_start()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 365 struct gpu_info_header *ghdr = in amdgpu_discovery_init() local 368 if (le32_to_cpu(ghdr->table_id) != GC_TABLE_ID) { in amdgpu_discovery_init() 375 le32_to_cpu(ghdr->size), checksum)) { in amdgpu_discovery_init()
|