Home
last modified time | relevance | path

Searched refs:ghdr (Results 1 – 4 of 4) sorted by relevance

/linux/scripts/
H A Drecordmcount.c634 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()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_capture.c818 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/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c106 struct genlmsghdr *ghdr; in capture_events() local
141 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events()
143 if (ghdr->cmd == 0) in capture_events()
146 fprintf(stderr, "type:%d", ghdr->cmd); in capture_events()
150 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in capture_events()
258 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() local
277 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_getfamily()
278 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily()
280 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c118 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()