Home
last modified time | relevance | path

Searched full:hdr (Results 1 – 25 of 2321) sorted by relevance

12345678910>>...93

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dacr.c26 wpr_header_dump(struct nvkm_subdev *subdev, const struct wpr_header *hdr) in wpr_header_dump() argument
29 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_dump()
30 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); in wpr_header_dump()
31 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); in wpr_header_dump()
32 nvkm_debug(subdev, "\tlazyBootstrap : %d\n", hdr->lazy_bootstrap); in wpr_header_dump()
33 nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); in wpr_header_dump()
37 wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr) in wpr_header_v1_dump() argument
40 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_v1_dump()
41 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); in wpr_header_v1_dump()
42 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); in wpr_header_v1_dump()
[all …]
H A Dls.c27 const struct nvfw_ls_desc_head *hdr) in nvfw_ls_desc_head() argument
33 hdr->descriptor_size); in nvfw_ls_desc_head()
34 nvkm_debug(subdev, "\timageSize : %d\n", hdr->image_size); in nvfw_ls_desc_head()
36 hdr->tools_version); in nvfw_ls_desc_head()
37 nvkm_debug(subdev, "\tappVersion : 0x%x\n", hdr->app_version); in nvfw_ls_desc_head()
39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head()
44 hdr->bootloader_start_offset); in nvfw_ls_desc_head()
46 hdr->bootloader_size); in nvfw_ls_desc_head()
48 hdr->bootloader_imem_offset); in nvfw_ls_desc_head()
50 hdr->bootloader_entry_point); in nvfw_ls_desc_head()
[all …]
H A Dflcn.c26 loader_config_dump(struct nvkm_subdev *subdev, const struct loader_config *hdr) in loader_config_dump() argument
29 nvkm_debug(subdev, "\tdmaIdx : %d\n", hdr->dma_idx); in loader_config_dump()
30 nvkm_debug(subdev, "\tcodeDmaBase : 0x%xx\n", hdr->code_dma_base); in loader_config_dump()
31 nvkm_debug(subdev, "\tcodeSizeTotal : 0x%x\n", hdr->code_size_total); in loader_config_dump()
32 nvkm_debug(subdev, "\tcodeSizeToLoad: 0x%x\n", hdr->code_size_to_load); in loader_config_dump()
33 nvkm_debug(subdev, "\tcodeEntryPoint: 0x%x\n", hdr->code_entry_point); in loader_config_dump()
34 nvkm_debug(subdev, "\tdataDmaBase : 0x%x\n", hdr->data_dma_base); in loader_config_dump()
35 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in loader_config_dump()
36 nvkm_debug(subdev, "\toverlayDmaBase: 0x%x\n", hdr->overlay_dma_base); in loader_config_dump()
37 nvkm_debug(subdev, "\targc : 0x%08x\n", hdr->argc); in loader_config_dump()
[all …]
H A Dhs.c28 const struct nvfw_hs_header *hdr = data; in nvfw_hs_header() local
30 nvkm_debug(subdev, "\tsigDbgOffset : 0x%x\n", hdr->sig_dbg_offset); in nvfw_hs_header()
31 nvkm_debug(subdev, "\tsigDbgSize : 0x%x\n", hdr->sig_dbg_size); in nvfw_hs_header()
32 nvkm_debug(subdev, "\tsigProdOffset : 0x%x\n", hdr->sig_prod_offset); in nvfw_hs_header()
33 nvkm_debug(subdev, "\tsigProdSize : 0x%x\n", hdr->sig_prod_size); in nvfw_hs_header()
34 nvkm_debug(subdev, "\tpatchLoc : 0x%x\n", hdr->patch_loc); in nvfw_hs_header()
35 nvkm_debug(subdev, "\tpatchSig : 0x%x\n", hdr->patch_sig); in nvfw_hs_header()
36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
37 nvkm_debug(subdev, "\thdrSize : 0x%x\n", hdr->hdr_size); in nvfw_hs_header()
38 return hdr; in nvfw_hs_header()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c374 struct header_pointers *hdr) in tcp_dissect() argument
376 hdr->eth = data; in tcp_dissect()
377 if (hdr->eth + 1 > data_end) in tcp_dissect()
380 switch (bpf_ntohs(hdr->eth->h_proto)) { in tcp_dissect()
382 hdr->ipv6 = NULL; in tcp_dissect()
384 hdr->ipv4 = (void *)hdr->eth + sizeof(*hdr->eth); in tcp_dissect()
385 if (hdr->ipv4 + 1 > data_end) in tcp_dissect()
387 if (hdr->ipv4->ihl * 4 < sizeof(*hdr->ipv4)) in tcp_dissect()
389 if (hdr->ipv4->version != 4) in tcp_dissect()
392 if (hdr->ipv4->protocol != IPPROTO_TCP) in tcp_dissect()
[all …]
H A Dtest_lwt_ip_encap.c21 } hdr; in bpf_lwt_encap_gre() local
24 memset(&hdr, 0, sizeof(struct encap_hdr)); in bpf_lwt_encap_gre()
26 hdr.iph.ihl = 5; in bpf_lwt_encap_gre()
27 hdr.iph.version = 4; in bpf_lwt_encap_gre()
28 hdr.iph.ttl = 0x40; in bpf_lwt_encap_gre()
29 hdr.iph.protocol = 47; /* IPPROTO_GRE */ in bpf_lwt_encap_gre()
31 hdr.iph.saddr = 0x640110ac; /* 172.16.1.100 */ in bpf_lwt_encap_gre()
32 hdr.iph.daddr = 0x641010ac; /* 172.16.16.100 */ in bpf_lwt_encap_gre()
34 hdr.iph.saddr = 0xac100164; /* 172.16.1.100 */ in bpf_lwt_encap_gre()
35 hdr.iph.daddr = 0xac101064; /* 172.16.16.100 */ in bpf_lwt_encap_gre()
[all …]
/openbmc/qemu/block/
H A Dvhdx-endian.c116 void vhdx_log_entry_hdr_le_import(VHDXLogEntryHeader *hdr) in vhdx_log_entry_hdr_le_import() argument
118 assert(hdr != NULL); in vhdx_log_entry_hdr_le_import()
120 hdr->signature = le32_to_cpu(hdr->signature); in vhdx_log_entry_hdr_le_import()
121 hdr->checksum = le32_to_cpu(hdr->checksum); in vhdx_log_entry_hdr_le_import()
122 hdr->entry_length = le32_to_cpu(hdr->entry_length); in vhdx_log_entry_hdr_le_import()
123 hdr->tail = le32_to_cpu(hdr->tail); in vhdx_log_entry_hdr_le_import()
124 hdr->sequence_number = le64_to_cpu(hdr->sequence_number); in vhdx_log_entry_hdr_le_import()
125 hdr->descriptor_count = le32_to_cpu(hdr->descriptor_count); in vhdx_log_entry_hdr_le_import()
126 leguid_to_cpus(&hdr->log_guid); in vhdx_log_entry_hdr_le_import()
127 hdr->flushed_file_offset = le64_to_cpu(hdr->flushed_file_offset); in vhdx_log_entry_hdr_le_import()
[all …]
/openbmc/u-boot/common/
H A Dimage-android.c16 static ulong android_image_get_kernel_addr(const struct andr_img_hdr *hdr) in android_image_get_kernel_addr() argument
29 if (hdr->kernel_addr == ANDROID_IMAGE_DEFAULT_KERNEL_ADDR) in android_image_get_kernel_addr()
30 return (ulong)hdr + hdr->page_size; in android_image_get_kernel_addr()
32 return hdr->kernel_addr; in android_image_get_kernel_addr()
37 * @hdr: Pointer to image header, which is at the start
50 int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, in android_image_get_kernel() argument
53 u32 kernel_addr = android_image_get_kernel_addr(hdr); in android_image_get_kernel()
60 strncpy(andr_tmp_str, hdr->name, ANDR_BOOT_NAME_SIZE); in android_image_get_kernel()
66 kernel_addr, DIV_ROUND_UP(hdr->kernel_size, 1024)); in android_image_get_kernel()
69 if (*hdr->cmdline) { in android_image_get_kernel()
[all …]
H A Dbloblist.c15 struct bloblist_rec *bloblist_first_blob(struct bloblist_hdr *hdr) in bloblist_first_blob() argument
17 if (hdr->alloced <= hdr->hdr_size) in bloblist_first_blob()
19 return (struct bloblist_rec *)((void *)hdr + hdr->hdr_size); in bloblist_first_blob()
22 struct bloblist_rec *bloblist_next_blob(struct bloblist_hdr *hdr, in bloblist_next_blob() argument
27 offset = (void *)rec - (void *)hdr; in bloblist_next_blob()
29 if (offset >= hdr->alloced) in bloblist_next_blob()
31 return (struct bloblist_rec *)((void *)hdr + offset); in bloblist_next_blob()
41 struct bloblist_hdr *hdr = gd->bloblist; in bloblist_findrec() local
44 if (!hdr) in bloblist_findrec()
47 foreach_rec(rec, hdr) { in bloblist_findrec()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dga102.c29 struct wpr_header_v2 hdr; in ga102_acr_wpr_patch() local
39 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr)); in ga102_acr_wpr_patch()
40 wpr_header_v2_dump(&acr->subdev, &hdr); in ga102_acr_wpr_patch()
43 if (lsfw->id != hdr.wpr.falcon_id) in ga102_acr_wpr_patch()
46 nvkm_robj(acr->wpr, hdr.wpr.lsb_offset, lsb, sizeof(*lsb)); in ga102_acr_wpr_patch()
53 offset += sizeof(hdr); in ga102_acr_wpr_patch()
54 } while (hdr.wpr.falcon_id != WPR_HEADER_V1_FALCON_ID_INVALID); in ga102_acr_wpr_patch()
63 struct lsb_header_v2 *hdr; in ga102_acr_wpr_build_lsb() local
66 if (WARN_ON(lsfw->sig->size != sizeof(hdr->signature))) in ga102_acr_wpr_build_lsb()
69 hdr = kvzalloc(sizeof(*hdr), GFP_KERNEL); in ga102_acr_wpr_build_lsb()
[all …]
/openbmc/u-boot/lib/
H A Dtrace.c41 static struct trace_hdr *hdr; /* Pointer to start of trace buffer */ variable
62 if (hdr->depth > hdr->depth_limit) { in add_ftrace()
63 hdr->ftrace_too_deep_count++; in add_ftrace()
66 if (hdr->ftrace_count < hdr->ftrace_size) { in add_ftrace()
67 struct trace_call *rec = &hdr->ftrace[hdr->ftrace_count]; in add_ftrace()
73 hdr->ftrace_count++; in add_ftrace()
78 if (hdr->ftrace_count < hdr->ftrace_size) { in add_textbase()
79 struct trace_call *rec = &hdr->ftrace[hdr->ftrace_count]; in add_textbase()
85 hdr->ftrace_count++; in add_textbase()
105 if (func < hdr->func_count) { in __cyg_profile_func_enter()
[all …]
/openbmc/linux/sound/synth/
H A Dutil_mem.c27 struct snd_util_memhdr *hdr; in snd_util_memhdr_new() local
29 hdr = kzalloc(sizeof(*hdr), GFP_KERNEL); in snd_util_memhdr_new()
30 if (hdr == NULL) in snd_util_memhdr_new()
32 hdr->size = memsize; in snd_util_memhdr_new()
33 mutex_init(&hdr->block_mutex); in snd_util_memhdr_new()
34 INIT_LIST_HEAD(&hdr->block); in snd_util_memhdr_new()
36 return hdr; in snd_util_memhdr_new()
42 void snd_util_memhdr_free(struct snd_util_memhdr *hdr) in snd_util_memhdr_free() argument
46 if (!hdr) in snd_util_memhdr_free()
49 while ((p = hdr->block.next) != &hdr->block) { in snd_util_memhdr_free()
[all …]
/openbmc/linux/net/ieee802154/
H A Dheader_ops.c47 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr() argument
51 memcpy(buf, hdr, 1); in ieee802154_hdr_push_sechdr()
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
54 switch (hdr->key_id_mode) { in ieee802154_hdr_push_sechdr()
62 memcpy(buf + pos, &hdr->short_src, 4); in ieee802154_hdr_push_sechdr()
67 memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_sechdr()
72 buf[pos++] = hdr->key_id; in ieee802154_hdr_push_sechdr()
78 ieee802154_hdr_push(struct sk_buff *skb, struct ieee802154_hdr *hdr) in ieee802154_hdr_push() argument
83 struct ieee802154_hdr_fc *fc = &hdr->fc; in ieee802154_hdr_push()
85 buf[pos++] = hdr->seq; in ieee802154_hdr_push()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_bsg.c12 static int scsi_bsg_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr, in scsi_bsg_sg_io_fn() argument
20 if (hdr->protocol != BSG_PROTOCOL_SCSI || in scsi_bsg_sg_io_fn()
21 hdr->subprotocol != BSG_SUB_PROTOCOL_SCSI_CMD) in scsi_bsg_sg_io_fn()
23 if (hdr->dout_xfer_len && hdr->din_xfer_len) { in scsi_bsg_sg_io_fn()
28 rq = scsi_alloc_request(q, hdr->dout_xfer_len ? in scsi_bsg_sg_io_fn()
35 scmd->cmd_len = hdr->request_len; in scsi_bsg_sg_io_fn()
42 if (copy_from_user(scmd->cmnd, uptr64(hdr->request), scmd->cmd_len)) in scsi_bsg_sg_io_fn()
49 if (hdr->dout_xfer_len) { in scsi_bsg_sg_io_fn()
50 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->dout_xferp), in scsi_bsg_sg_io_fn()
51 hdr->dout_xfer_len, GFP_KERNEL); in scsi_bsg_sg_io_fn()
[all …]
/openbmc/u-boot/tools/
H A Dvybridimage.c64 struct nand_page_0_boot_header *hdr = in vybridimage_verify_header() local
68 if (hdr->fcb[1] != 0x46434220) in vybridimage_verify_header()
70 if (hdr->fcb[2] != 1) in vybridimage_verify_header()
72 if (hdr->fcb[7] != 64) in vybridimage_verify_header()
74 if (hdr->fcb[14] != 6) in vybridimage_verify_header()
76 if (hdr->fcb[30] != 0x0001ff00) in vybridimage_verify_header()
78 if (hdr->fcb[43] != 1) in vybridimage_verify_header()
80 if (hdr->fcb[54] != 0) in vybridimage_verify_header()
82 if (hdr->fcb[55] != 8) in vybridimage_verify_header()
86 for (idx = 0; idx < sizeof(hdr->fcb_bytes); idx++) { in vybridimage_verify_header()
[all …]
H A Dlpc32xximage.c85 struct nand_page_0_boot_header *hdr = in lpc32xximage_verify_header() local
92 if (hdr->data[0] != (0xff & LPC32XX_BOOT_ICR)) in lpc32xximage_verify_header()
94 if (hdr->data[1] != (0xff & ~LPC32XX_BOOT_ICR)) in lpc32xximage_verify_header()
96 if (hdr->data[2] != (0xff & LPC32XX_BOOT_ICR)) in lpc32xximage_verify_header()
98 if (hdr->data[3] != (0xff & ~LPC32XX_BOOT_ICR)) in lpc32xximage_verify_header()
100 if (hdr->data[4] != (0xff & image_size_in_pages)) in lpc32xximage_verify_header()
102 if (hdr->data[5] != (0xff & ~image_size_in_pages)) in lpc32xximage_verify_header()
104 if (hdr->data[6] != (0xff & image_size_in_pages)) in lpc32xximage_verify_header()
106 if (hdr->data[7] != (0xff & ~image_size_in_pages)) in lpc32xximage_verify_header()
108 if (hdr->data[8] != (0xff & image_size_in_pages)) in lpc32xximage_verify_header()
[all …]
/openbmc/u-boot/cmd/x86/
H A Dfsp.c29 struct fsp_header *hdr = find_fsp_header(); in do_hdr() local
30 u32 img_addr = hdr->img_base; in do_hdr()
31 char *sign = (char *)&hdr->sign; in do_hdr()
35 CONFIG_FSP_ADDR, (int)hdr); in do_hdr()
37 for (i = 0; i < sizeof(hdr->sign); i++) in do_hdr()
39 printf(", size %d, rev %d\n", hdr->hdr_len, hdr->hdr_rev); in do_hdr()
41 if (hdr->hdr_rev == FSP_HEADER_REVISION_1) { in do_hdr()
43 (hdr->img_rev >> 8) & 0xff, hdr->img_rev & 0xff); in do_hdr()
46 (hdr->img_rev >> 24) & 0xff, (hdr->img_rev >> 16) & 0xff, in do_hdr()
47 (hdr->img_rev >> 8) & 0xff, hdr->img_rev & 0xff); in do_hdr()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c31 static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr) in radeon_ucode_print_common_hdr() argument
33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr()
34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in radeon_ucode_print_common_hdr()
35 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in radeon_ucode_print_common_hdr()
36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in radeon_ucode_print_common_hdr()
37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in radeon_ucode_print_common_hdr()
38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in radeon_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in radeon_ucode_print_common_hdr()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adv_rss.c10 * @hdr: the virtchnl message protocol header data structure
14 iavf_fill_adv_rss_ip4_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip4_hdr() argument
16 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV4); in iavf_fill_adv_rss_ip4_hdr()
19 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV4, SRC); in iavf_fill_adv_rss_ip4_hdr()
22 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV4, DST); in iavf_fill_adv_rss_ip4_hdr()
27 * @hdr: the virtchnl message protocol header data structure
31 iavf_fill_adv_rss_ip6_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip6_hdr() argument
33 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV6); in iavf_fill_adv_rss_ip6_hdr()
36 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV6, SRC); in iavf_fill_adv_rss_ip6_hdr()
39 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV6, DST); in iavf_fill_adv_rss_ip6_hdr()
[all …]
/openbmc/phosphor-networkd/src/
H A Dnetlink.cpp29 const auto& hdr = stdplus::raw::refFrom<nlmsghdr, Aligned>(msgs); in processMsg() local
30 if (hdr.nlmsg_len < sizeof(hdr)) in processMsg()
34 hdr.nlmsg_len, sizeof(hdr))); in processMsg()
36 if (msgs.size() < hdr.nlmsg_len) in processMsg()
40 hdr.nlmsg_len)); in processMsg()
42 auto msg = msgs.substr(NLMSG_HDRLEN, hdr.nlmsg_len - NLMSG_HDRLEN); in processMsg()
43 msgs.remove_prefix(NLMSG_ALIGN(hdr.nlmsg_len)); in processMsg()
47 if (hdr.nlmsg_flags & NLM_F_MULTI) in processMsg()
51 if (hdr.nlmsg_type == NLMSG_NOOP) in processMsg()
55 else if (hdr.nlmsg_type == NLMSG_DONE) in processMsg()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-crypto-block.c342 typedef const char *(*LuksHeaderDoBadStuff)(QCryptoBlockLUKSHeader *hdr);
351 QCryptoBlockLUKSHeader hdr; in test_luks_bad_header() local
370 g_assert(buf.offset >= sizeof(hdr)); in test_luks_bad_header()
371 memcpy(&hdr, buf.buffer, sizeof(hdr)); in test_luks_bad_header()
372 qcrypto_block_luks_to_disk_endian(&hdr); in test_luks_bad_header()
374 msg = badstuff(&hdr); in test_luks_bad_header()
376 qcrypto_block_luks_from_disk_endian(&hdr); in test_luks_bad_header()
377 memcpy(buf.buffer, &hdr, sizeof(hdr)); in test_luks_bad_header()
396 static const char *luks_bad_null_term_cipher_name(QCryptoBlockLUKSHeader *hdr) in luks_bad_null_term_cipher_name() argument
399 char *offset = hdr->cipher_name + strlen(hdr->cipher_name); in luks_bad_null_term_cipher_name()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs42xdr.c278 struct compound_hdr *hdr) in encode_allocate() argument
280 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr); in encode_allocate()
306 struct compound_hdr *hdr) in encode_copy() argument
308 encode_op_hdr(xdr, OP_COPY, decode_copy_maxsz, hdr); in encode_copy()
328 struct compound_hdr *hdr) in encode_copy_commit() argument
332 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_copy_commit()
340 struct compound_hdr *hdr) in encode_offload_cancel() argument
342 encode_op_hdr(xdr, OP_OFFLOAD_CANCEL, decode_offload_cancel_maxsz, hdr); in encode_offload_cancel()
348 struct compound_hdr *hdr) in encode_copy_notify() argument
350 encode_op_hdr(xdr, OP_COPY_NOTIFY, decode_copy_notify_maxsz, hdr); in encode_copy_notify()
[all …]
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_diag.c37 struct zfcp_diag_header *hdr; in zfcp_diag_adapter_setup() local
46 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup()
48 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
49 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup()
50 hdr->buffer_size = sizeof(diag->port_data.data); in zfcp_diag_adapter_setup()
52 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
55 hdr = &diag->config_data.header; in zfcp_diag_adapter_setup()
57 spin_lock_init(&hdr->access_lock); in zfcp_diag_adapter_setup()
58 hdr->buffer = &diag->config_data.data; in zfcp_diag_adapter_setup()
59 hdr->buffer_size = sizeof(diag->config_data.data); in zfcp_diag_adapter_setup()
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dtb_msgs.h146 struct icm_pkg_header hdr; member
152 struct icm_pkg_header hdr; member
163 struct icm_pkg_header hdr; member
169 struct icm_pkg_header hdr; member
190 struct icm_pkg_header hdr; member
206 struct icm_pkg_header hdr; member
214 struct icm_pkg_header hdr; member
220 struct icm_pkg_header hdr; member
232 struct icm_pkg_header hdr; member
239 struct icm_pkg_header hdr; member
[all …]
/openbmc/phosphor-networkd/test/
H A Dtest_netlink.cpp43 nlmsghdr hdr{}; in TEST() local
44 hdr.nlmsg_len = NLMSG_LENGTH(0) - 1; in TEST()
45 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
58 nlmsghdr hdr{}; in TEST() local
59 hdr.nlmsg_len = NLMSG_LENGTH(0) + 1; in TEST()
60 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
73 nlmsghdr hdr{}; in TEST() local
74 hdr.nlmsg_len = NLMSG_LENGTH(0); in TEST()
75 hdr.nlmsg_type = NLMSG_NOOP; in TEST()
76 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
[all …]

12345678910>>...93