Searched refs:hdr (Results 76 - 100 of 2083) sorted by relevance

1234567891011>>

/linux-master/net/6lowpan/
H A Diphc.c149 (!(hdr->saddr.s6_addr[1] & 0x3f) && \
150 !hdr->saddr.s6_addr16[1] && \
151 !hdr->saddr.s6_addr32[1])
504 static inline void lowpan_iphc_tf_set_ecn(struct ipv6hdr *hdr, const u8 *tf) argument
509 /* ECN takes 0x30 in hdr->flow_lbl[0] */
510 hdr->flow_lbl[0] |= (ecn >> 2);
514 static inline void lowpan_iphc_tf_set_dscp(struct ipv6hdr *hdr, const u8 *tf) argument
519 /* The four highest bits need to be set at hdr->priority */
520 hdr->priority |= ((dscp & 0x3c) >> 2);
521 /* The two lower bits is part of hdr
526 lowpan_iphc_tf_set_lbl(struct ipv6hdr *hdr, const u8 *lbl) argument
545 lowpan_iphc_tf_decompress(struct sk_buff *skb, struct ipv6hdr *hdr, u8 val) argument
615 struct ipv6hdr hdr = {}; local
991 lowpan_iphc_get_tc(const struct ipv6hdr *hdr) argument
1008 lowpan_iphc_is_flow_lbl_zero(const struct ipv6hdr *hdr) argument
1017 lowpan_iphc_tf_compress(u8 **hc_ptr, const struct ipv6hdr *hdr) argument
1135 struct ipv6hdr *hdr; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A DM0209.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz)
42 *hdr = nvbios_rd08(bios, data + 0x01);
59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len)
62 u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz);
64 data = data + *hdr + idx * (*len + (snr * ssz));
65 *hdr = *len;
75 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info)
77 u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len);
95 nvbios_M0209Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) argument
99 u32 data = nvbios_M0209Ee(bios, ent, ver, hdr,
29 nvbios_M0209Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) argument
58 nvbios_M0209Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument
74 nvbios_M0209Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info) argument
109 nvbios_M0209Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, struct nvbios_M0209S *info) argument
[all...]
H A Dboost.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz)
43 *hdr = nvbios_rd08(bios, boost + 1);
60 u8 *ver, u8 *hdr, u8 *cnt, u8 *len)
63 u32 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz);
65 data = data + *hdr + (idx * (*len + (snr * ssz)));
66 *hdr = *len;
76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info)
78 u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len);
90 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info)
93 while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cn
29 nvbios_boostTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) argument
59 nvbios_boostEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument
75 nvbios_boostEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) argument
89 nvbios_boostEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) argument
101 nvbios_boostSe(struct nvkm_bios *bios, int idx, u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len) argument
113 nvbios_boostSp(struct nvkm_bios *bios, int idx, u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len, struct nvbios_boostS *info) argument
[all...]
H A DP0260.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz)
42 *hdr = nvbios_rd08(bios, data + 1);
60 u8 hdr, cnt, xnr, xsz; local
61 u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, len, &xnr, &xsz);
63 return data + hdr + (idx * *len);
86 u8 hdr, cnt, len, xnr; local
87 u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, &len, &xnr, xsz);
89 return data + hdr + (cnt * len) + (idx * *xsz);
94 nvbios_P0260Xp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, argument
97 u32 data = nvbios_P0260Xe(bios, idx, ver, hdr);
29 nvbios_P0260Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) argument
[all...]
H A Dfan.c29 nvbios_fan_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument
42 *hdr = nvbios_rd08(bios, fan + 1);
56 nvbios_fan_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, argument
59 u32 data = nvbios_fan_table(bios, ver, hdr, cnt, len);
61 return data + *hdr + (idx * (*len));
68 u8 ver, hdr, cnt, len; local
70 u32 data = nvbios_fan_entry(bios, 0, &ver, &hdr, &cnt, &len);
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dpci_mcu.c17 const struct mt76x02_fw_header *hdr; local
32 if (!fw || !fw->data || fw->size < sizeof(*hdr)) {
37 hdr = (const struct mt76x02_fw_header *)fw->data;
39 len = sizeof(*hdr);
40 len += le32_to_cpu(hdr->ilm_len);
41 len += le32_to_cpu(hdr->dlm_len);
48 fw_payload = fw->data + sizeof(*hdr);
50 val = le16_to_cpu(hdr->fw_ver);
54 val = le16_to_cpu(hdr->fw_ver);
58 le16_to_cpu(hdr
[all...]
/linux-master/drivers/scsi/
H A Dscsi_ioctl.c349 struct sg_io_hdr *hdr, bool open_for_write)
353 if (hdr->cmd_len < 6)
355 if (copy_from_user(scmd->cmnd, hdr->cmdp, hdr->cmd_len))
359 scmd->cmd_len = hdr->cmd_len;
361 rq->timeout = msecs_to_jiffies(hdr->timeout);
372 static int scsi_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr, argument
381 hdr->status = scmd->result & 0xff;
382 hdr->masked_status = sg_status_byte(scmd->result);
383 hdr
348 scsi_fill_sghdr_rq(struct scsi_device *sdev, struct request *rq, struct sg_io_hdr *hdr, bool open_for_write) argument
410 sg_io(struct scsi_device *sdev, struct sg_io_hdr *hdr, bool open_for_write) argument
617 put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp) argument
660 get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp) argument
783 struct sg_io_hdr hdr; local
838 struct sg_io_hdr hdr; local
[all...]
/linux-master/drivers/scsi/elx/efct/
H A Defct_unsol.c10 #define frame_printf(efct, hdr, fmt, ...) \
13 efc_node_fcid_display(ntoh24((hdr)->fh_s_id), \
16 ntoh24((hdr)->fh_d_id), s_id_text, \
17 (hdr)->fh_r_ctl, be16_to_cpu((hdr)->fh_ox_id), \
18 be16_to_cpu((hdr)->fh_rx_id), ##__VA_ARGS__); \
43 struct fc_frame_header *hdr; local
46 hdr = seq->header->dma.virt;
49 s_id = ntoh24(hdr->fh_s_id);
50 d_id = ntoh24(hdr
230 struct fc_frame_header hdr; local
402 efct_process_abts(struct efct_io *io, struct fc_frame_header *hdr) argument
466 struct fc_frame_header *hdr = seq->header->dma.virt; local
[all...]
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_dump.c23 struct panfrost_dump_object_header *hdr; member in struct:panfrost_dump_iterator
64 struct panfrost_dump_object_header *hdr = iter->hdr; local
66 hdr->magic = PANFROSTDUMP_MAGIC;
67 hdr->type = type;
68 hdr->file_offset = iter->data - iter->start;
69 hdr->file_size = data_end - iter->data;
71 iter->hdr++;
72 iter->data += hdr->file_size;
153 file_size += sizeof(*iter.hdr) * n_ob
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c82 state->hdr.vmx.vmxon_pa = 0x1000;
83 state->hdr.vmx.vmcs12_pa = 0x2000;
84 state->hdr.vmx.smm.flags = 0;
113 state->hdr.vmx.vmxon_pa = -1ull;
116 state->hdr.vmx.vmcs12_pa = -1ull;
133 state->hdr.vmx.vmxon_pa = -1ull;
134 state->hdr.vmx.vmcs12_pa = -1ull;
149 state->hdr.vmx.smm.flags = 1;
154 state->hdr.vmx.flags = ~0;
159 state->hdr
[all...]
/linux-master/fs/nfs/
H A Dpagelist.c96 struct nfs_pgio_header *hdr,
97 void (*release)(struct nfs_pgio_header *hdr))
102 hdr->req = nfs_list_entry(mirror->pg_list.next);
103 hdr->inode = desc->pg_inode;
104 hdr->cred = nfs_req_openctx(hdr->req)->cred;
105 hdr->io_start = req_offset(hdr->req);
106 hdr->good_bytes = mirror->pg_count;
107 hdr
95 nfs_pgheader_init(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr, void (*release)(struct nfs_pgio_header *hdr)) argument
119 nfs_set_pgio_error(struct nfs_pgio_header *hdr, int error, loff_t pos) argument
751 struct nfs_pgio_header *hdr = ops->rw_alloc_header(); local
769 nfs_pgio_data_destroy(struct nfs_pgio_header *hdr) argument
781 nfs_pgio_header_free(struct nfs_pgio_header *hdr) argument
796 nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, unsigned int pgbase, unsigned int count, int how, struct nfs_commit_info *cinfo) argument
840 struct nfs_pgio_header *hdr = calldata; local
847 nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, const struct cred *cred, const struct nfs_rpc_ops *rpc_ops, const struct rpc_call_ops *call_ops, int how, int flags) argument
891 nfs_pgio_error(struct nfs_pgio_header *hdr) argument
903 struct nfs_pgio_header *hdr = calldata; local
965 struct nfs_pgio_header *hdr = calldata; local
984 nfs_generic_pgio(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr) argument
1059 struct nfs_pgio_header *hdr; local
1476 nfs_pageio_resend(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr) argument
[all...]
H A Dnfs42xdr.c278 struct compound_hdr *hdr)
280 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr);
306 struct compound_hdr *hdr)
308 encode_op_hdr(xdr, OP_COPY, decode_copy_maxsz, hdr);
328 struct compound_hdr *hdr)
332 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr);
340 struct compound_hdr *hdr)
342 encode_op_hdr(xdr, OP_OFFLOAD_CANCEL, decode_offload_cancel_maxsz, hdr);
348 struct compound_hdr *hdr)
350 encode_op_hdr(xdr, OP_COPY_NOTIFY, decode_copy_notify_maxsz, hdr);
276 encode_allocate(struct xdr_stream *xdr, const struct nfs42_falloc_args *args, struct compound_hdr *hdr) argument
304 encode_copy(struct xdr_stream *xdr, const struct nfs42_copy_args *args, struct compound_hdr *hdr) argument
326 encode_copy_commit(struct xdr_stream *xdr, const struct nfs42_copy_args *args, struct compound_hdr *hdr) argument
338 encode_offload_cancel(struct xdr_stream *xdr, const struct nfs42_offload_status_args *args, struct compound_hdr *hdr) argument
346 encode_copy_notify(struct xdr_stream *xdr, const struct nfs42_copy_notify_args *args, struct compound_hdr *hdr) argument
355 encode_deallocate(struct xdr_stream *xdr, const struct nfs42_falloc_args *args, struct compound_hdr *hdr) argument
363 encode_read_plus(struct xdr_stream *xdr, const struct nfs_pgio_args *args, struct compound_hdr *hdr) argument
373 encode_seek(struct xdr_stream *xdr, const struct nfs42_seek_args *args, struct compound_hdr *hdr) argument
383 encode_layoutstats(struct xdr_stream *xdr, const struct nfs42_layoutstat_args *args, struct nfs42_layoutstat_devinfo *devinfo, struct compound_hdr *hdr) argument
411 encode_clone(struct xdr_stream *xdr, const struct nfs42_clone_args *args, struct compound_hdr *hdr) argument
438 encode_layouterror(struct xdr_stream *xdr, const struct nfs42_layout_error *args, struct compound_hdr *hdr) argument
454 encode_setxattr(struct xdr_stream *xdr, const struct nfs42_setxattrargs *arg, struct compound_hdr *hdr) argument
473 encode_getxattr(struct xdr_stream *xdr, const char *name, struct compound_hdr *hdr) argument
480 encode_removexattr(struct xdr_stream *xdr, const char *name, struct compound_hdr *hdr) argument
487 encode_listxattrs(struct xdr_stream *xdr, const struct nfs42_listxattrsargs *arg, struct compound_hdr *hdr) argument
516 struct compound_hdr hdr = { local
536 struct compound_hdr hdr = { local
559 struct compound_hdr hdr = { local
578 struct compound_hdr hdr = { local
597 struct compound_hdr hdr = { local
617 struct compound_hdr hdr = { local
639 struct compound_hdr hdr = { local
660 struct compound_hdr hdr = { local
681 struct compound_hdr hdr = { local
703 struct compound_hdr hdr = { local
723 struct compound_hdr hdr = { local
742 struct compound_hdr hdr = { local
766 struct compound_hdr hdr = { local
789 struct compound_hdr hdr = { local
1045 struct nfs_pgio_header *hdr = local
1290 struct compound_hdr hdr; local
1318 struct compound_hdr hdr; local
1353 struct compound_hdr hdr; local
1379 struct compound_hdr hdr; local
1405 struct compound_hdr hdr; local
1433 struct compound_hdr hdr; local
1462 struct compound_hdr hdr; local
1487 struct compound_hdr hdr; local
1518 struct compound_hdr hdr; local
1553 struct compound_hdr hdr; local
1578 struct compound_hdr hdr; local
1605 struct compound_hdr hdr; local
1629 struct compound_hdr hdr; local
1655 struct compound_hdr hdr; local
[all...]
/linux-master/net/dsa/
H A Dtag_qca.c19 u16 hdr; local
27 hdr = FIELD_PREP(QCA_HDR_XMIT_VERSION, QCA_HDR_VERSION);
28 hdr |= QCA_HDR_XMIT_FROM_CPU;
29 hdr |= FIELD_PREP(QCA_HDR_XMIT_DP_BIT, BIT(dp->index));
31 *phdr = htons(hdr);
44 u16 hdr; local
54 hdr = ntohs(*phdr);
57 ver = FIELD_GET(QCA_HDR_RECV_VERSION, hdr);
62 pk_type = FIELD_GET(QCA_HDR_RECV_TYPE, hdr);
79 port = FIELD_GET(QCA_HDR_RECV_SOURCE_PORT, hdr);
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dgp102.c35 struct wpr_header_v1 hdr; local
41 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr));
42 wpr_header_v1_dump(&acr->subdev, &hdr);
45 if (lsfw->id != hdr.falcon_id)
48 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb));
55 offset += sizeof(hdr);
56 } while (hdr.falcon_id != WPR_HEADER_V1_FALCON_ID_INVALID);
64 struct lsb_header_v1 hdr; local
66 if (WARN_ON(lsfw->sig->size != sizeof(hdr
86 struct wpr_header_v1 hdr = { local
165 const struct wpr_header_v1 *hdr = (void *)acr->wpr_fw->data; local
[all...]
/linux-master/fs/afs/
H A Ddir_edit.c29 bitmap = (u64)block->hdr.bitmap[0] << 0 * 8;
30 bitmap |= (u64)block->hdr.bitmap[1] << 1 * 8;
31 bitmap |= (u64)block->hdr.bitmap[2] << 2 * 8;
32 bitmap |= (u64)block->hdr.bitmap[3] << 3 * 8;
33 bitmap |= (u64)block->hdr.bitmap[4] << 4 * 8;
34 bitmap |= (u64)block->hdr.bitmap[5] << 5 * 8;
35 bitmap |= (u64)block->hdr.bitmap[6] << 6 * 8;
36 bitmap |= (u64)block->hdr.bitmap[7] << 7 * 8;
76 block->hdr.bitmap[0] |= (u8)(mask >> 0 * 8);
77 block->hdr
[all...]
/linux-master/drivers/rtc/
H A Drtc-imx-sc.c28 struct imx_sc_rpc_msg hdr; member in struct:imx_sc_msg_timer_get_rtc_time
33 struct imx_sc_rpc_msg hdr; member in struct:imx_sc_msg_timer_rtc_set_alarm
45 struct imx_sc_rpc_msg *hdr = &msg.hdr; local
48 hdr->ver = IMX_SC_RPC_VERSION;
49 hdr->svc = IMX_SC_RPC_SVC_TIMER;
50 hdr->func = IMX_SC_TIMER_FUNC_GET_RTC_SEC1970;
51 hdr->size = 1;
86 struct imx_sc_rpc_msg *hdr = &msg.hdr; local
[all...]
/linux-master/arch/x86/kernel/cpu/mce/
H A Dapei.c139 struct cper_record_header hdr; member in struct:cper_mce_record
149 memcpy(rcd.hdr.signature, CPER_SIG_RECORD, CPER_SIG_SIZE);
150 rcd.hdr.revision = CPER_RECORD_REV;
151 rcd.hdr.signature_end = CPER_SIG_END;
152 rcd.hdr.section_count = 1;
153 rcd.hdr.error_severity = CPER_SEV_FATAL;
155 rcd.hdr.validation_bits = 0;
156 rcd.hdr.record_length = sizeof(rcd);
157 rcd.hdr.creator_id = CPER_CREATOR_MCE;
158 rcd.hdr
[all...]
/linux-master/drivers/target/iscsi/
H A Discsi_target.c501 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; local
513 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, hdr,
521 hdr->opcode, *header_digest);
550 data_buf_len, hdr->opcode, cmd->data_crc);
1007 struct iscsi_scsi_req *hdr; local
1014 hdr = (struct iscsi_scsi_req *) buf;
1015 payload_length = ntoh24(hdr->dlength);
1019 if (!(hdr->flags & ISCSI_FLAG_CMD_WRITE) &&
1020 !(hdr->flags & ISCSI_FLAG_CMD_FINAL)) {
1027 if (((hdr
1251 iscsit_process_scsi_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_scsi_req *hdr) argument
1311 iscsit_get_immediate_data(struct iscsit_cmd *cmd, struct iscsi_scsi_req *hdr, bool dump_payload) argument
1378 struct iscsi_scsi_req *hdr = (struct iscsi_scsi_req *)buf; local
1485 struct iscsi_data *hdr = buf; local
1588 struct iscsi_data *hdr = buf; local
1620 iscsit_get_dataout(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_data *hdr) argument
1688 iscsit_check_dataout_payload(struct iscsit_cmd *cmd, struct iscsi_data *hdr, bool data_crc_failed) argument
1729 struct iscsi_data *hdr = (struct iscsi_data *)buf; local
1748 iscsit_setup_nop_out(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_nopout *hdr) argument
1815 iscsit_process_nop_out(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_nopout *hdr) argument
1881 struct iscsi_nopout *hdr = (struct iscsi_nopout *)buf; local
2009 struct iscsi_tm *hdr; local
2186 iscsit_setup_text_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_text *hdr) argument
2226 iscsit_process_text_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd, struct iscsi_text *hdr) argument
2288 struct iscsi_text *hdr = (struct iscsi_text *)buf; local
2487 struct iscsi_logout *hdr; local
2566 struct iscsi_snack *hdr; local
2627 iscsit_handle_immediate_data( struct iscsit_cmd *cmd, struct iscsi_scsi_req *hdr, u32 length) argument
2780 struct iscsi_async *hdr; local
2817 iscsit_build_datain_pdu(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_datain *datain, struct iscsi_data_rsp *hdr, bool set_statsn) argument
2864 struct iscsi_data_rsp *hdr = (struct iscsi_data_rsp *)&cmd->pdu[0]; local
2923 iscsit_build_logout_rsp(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_logout_rsp *hdr) argument
3031 iscsit_build_nopin_rsp(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_nopin *hdr, bool nopout_response) argument
3066 struct iscsi_nopin *hdr = (struct iscsi_nopin *)&cmd->pdu[0]; local
3089 struct iscsi_nopin *hdr = (struct iscsi_nopin *)&cmd->pdu[0]; local
3109 struct iscsi_r2t_rsp *hdr; local
3245 iscsit_build_rsp_pdu(struct iscsit_cmd *cmd, struct iscsit_conn *conn, bool inc_stat_sn, struct iscsi_scsi_rsp *hdr) argument
3281 struct iscsi_scsi_rsp *hdr = (struct iscsi_scsi_rsp *)&cmd->pdu[0]; local
3336 iscsit_build_task_mgt_rsp(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_tm_rsp *hdr) argument
3361 struct iscsi_tm_rsp *hdr = (struct iscsi_tm_rsp *)&cmd->pdu[0]; local
3521 iscsit_build_text_rsp(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_text_rsp *hdr, enum iscsit_transport_type network_transport) argument
3574 struct iscsi_text_rsp *hdr = (struct iscsi_text_rsp *)cmd->pdu; local
3588 iscsit_build_reject(struct iscsit_cmd *cmd, struct iscsit_conn *conn, struct iscsi_reject *hdr) argument
3608 struct iscsi_reject *hdr = (struct iscsi_reject *)&cmd->pdu[0]; local
3974 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; local
4065 struct iscsi_hdr *hdr; local
[all...]
/linux-master/net/mac80211/
H A Dmichael.c28 struct ieee80211_hdr *hdr)
32 da = ieee80211_get_DA(hdr);
33 sa = ieee80211_get_SA(hdr);
34 if (ieee80211_is_data_qos(hdr->frame_control))
35 tid = ieee80211_get_tid(hdr);
53 void michael_mic(const u8 *key, struct ieee80211_hdr *hdr, argument
60 michael_mic_hdr(&mctx, key, hdr);
27 michael_mic_hdr(struct michael_mic_ctx *mctx, const u8 *key, struct ieee80211_hdr *hdr) argument
/linux-master/drivers/acpi/
H A Dviot.c57 static int __init viot_check_bounds(const struct acpi_viot_header *hdr) argument
64 hdr_end = ACPI_ADD_PTR(struct acpi_viot_header, hdr, sizeof(*hdr));
66 if (hdr < start || hdr_end > end) {
70 if (hdr->length < sizeof(*hdr)) {
131 struct acpi_viot_header *hdr = ACPI_ADD_PTR(struct acpi_viot_header, local
136 } *node = (void *)hdr;
142 if (viot_check_bounds(hdr))
150 switch (hdr
179 viot_parse_node(const struct acpi_viot_header *hdr) argument
260 struct acpi_table_header *hdr; local
280 struct acpi_table_header *hdr; local
[all...]
/linux-master/include/linux/
H A Dnvme-tcp.h81 * @hdr: pdu generic header
88 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_icreq_pdu
99 * @hdr: pdu common header
106 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_icresp_pdu
117 * @hdr: pdu common header
122 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_term_pdu
132 * @hdr: pdu common header
136 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_cmd_pdu
143 * @hdr: pdu common header
144 * @hdr
148 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_rsp_pdu
162 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_r2t_pdu
180 struct nvme_tcp_hdr hdr; member in struct:nvme_tcp_data_pdu
[all...]
/linux-master/arch/s390/hypfs/
H A Dhypfs_diag0c.c85 memset(&diag0c_data->hdr, 0, sizeof(diag0c_data->hdr));
86 store_tod_clock_ext((union tod_clock *)diag0c_data->hdr.tod_ext);
87 diag0c_data->hdr.len = count * sizeof(struct hypfs_diag0c_entry);
88 diag0c_data->hdr.version = DBFS_D0C_HDR_VERSION;
89 diag0c_data->hdr.count = count;
92 *size = diag0c_data->hdr.len + sizeof(struct hypfs_diag0c_hdr);
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h398 struct mbox_msghdr hdr; member in struct:msg_req
405 struct mbox_msghdr hdr; member in struct:msg_rsp
416 struct mbox_msghdr hdr; member in struct:ready_msg_rsp
439 struct mbox_msghdr hdr; member in struct:rsrc_attach
456 struct mbox_msghdr hdr; member in struct:rsrc_detach
470 struct mbox_msghdr hdr; member in struct:free_rsrcs_rsp
489 struct mbox_msghdr hdr; member in struct:msix_offset_rsp
509 struct mbox_msghdr hdr; member in struct:get_hw_cap_rsp
518 struct mbox_msghdr hdr; member in struct:cgx_stats_rsp
526 struct mbox_msghdr hdr; member in struct:cgx_fec_stats_rsp
534 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_set_or_get
543 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_add_req
551 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_add_rsp
559 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_del_req
567 struct mbox_msghdr hdr; member in struct:cgx_max_dmac_entries_get_rsp
583 struct mbox_msghdr hdr; member in struct:cgx_link_info_msg
588 struct mbox_msghdr hdr; member in struct:cgx_pause_frm_cfg
605 struct mbox_msghdr hdr; member in struct:fec_mode
646 struct mbox_msghdr hdr; member in struct:cgx_fw_data
660 struct mbox_msghdr hdr; member in struct:cgx_set_link_mode_req
665 struct mbox_msghdr hdr; member in struct:cgx_set_link_mode_rsp
670 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_reset_req
675 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_update_req
681 struct mbox_msghdr hdr; member in struct:cgx_mac_addr_update_rsp
695 struct mbox_msghdr hdr; member in struct:cgx_features_info_msg
700 struct mbox_msghdr hdr; member in struct:rpm_stats_rsp
708 struct mbox_msghdr hdr; member in struct:cgx_pfc_cfg
715 struct mbox_msghdr hdr; member in struct:cgx_pfc_rsp
723 struct mbox_msghdr hdr; member in struct:npc_set_pkind
754 struct mbox_msghdr hdr; member in struct:npa_lf_alloc_req
762 struct mbox_msghdr hdr; member in struct:npa_lf_alloc_rsp
771 struct mbox_msghdr hdr; member in struct:npa_aq_enq_req
794 struct mbox_msghdr hdr; member in struct:npa_aq_enq_rsp
805 struct mbox_msghdr hdr; member in struct:hwctx_disable_req
867 struct mbox_msghdr hdr; member in struct:nix_lf_alloc_req
885 struct mbox_msghdr hdr; member in struct:nix_lf_alloc_rsp
905 struct mbox_msghdr hdr; member in struct:nix_lf_free_req
913 struct mbox_msghdr hdr; member in struct:nix_cn10k_aq_enq_req
936 struct mbox_msghdr hdr; member in struct:nix_cn10k_aq_enq_rsp
949 struct mbox_msghdr hdr; member in struct:nix_aq_enq_req
972 struct mbox_msghdr hdr; member in struct:nix_aq_enq_rsp
988 struct mbox_msghdr hdr; member in struct:nix_txsch_alloc_req
995 struct mbox_msghdr hdr; member in struct:nix_txsch_alloc_rsp
1008 struct mbox_msghdr hdr; member in struct:nix_txsch_free_req
1018 struct mbox_msghdr hdr; member in struct:nix_txschq_config
1033 struct mbox_msghdr hdr; member in struct:nix_vtag_config
1092 struct mbox_msghdr hdr; member in struct:nix_vtag_config_rsp
1105 struct mbox_msghdr hdr; member in struct:nix_rss_flowkey_cfg
1139 struct mbox_msghdr hdr; member in struct:nix_rss_flowkey_cfg_rsp
1144 struct mbox_msghdr hdr; member in struct:nix_set_mac_addr
1149 struct mbox_msghdr hdr; member in struct:nix_get_mac_addr_rsp
1154 struct mbox_msghdr hdr; member in struct:nix_mark_format_cfg
1163 struct mbox_msghdr hdr; member in struct:nix_mark_format_cfg_rsp
1168 struct mbox_msghdr hdr; member in struct:nix_rx_mode
1177 struct mbox_msghdr hdr; member in struct:nix_rx_cfg
1187 struct mbox_msghdr hdr; member in struct:nix_frs_cfg
1196 struct mbox_msghdr hdr; member in struct:nix_lso_format_cfg
1203 struct mbox_msghdr hdr; member in struct:nix_lso_format_cfg_rsp
1208 struct mbox_msghdr hdr; member in struct:nix_bp_cfg_req
1221 struct mbox_msghdr hdr; member in struct:nix_bp_cfg_rsp
1227 struct mbox_msghdr hdr; member in struct:nix_mcast_grp_create_req
1236 struct mbox_msghdr hdr; member in struct:nix_mcast_grp_create_rsp
1248 struct mbox_msghdr hdr; member in struct:nix_mcast_grp_destroy_req
1258 struct mbox_msghdr hdr; member in struct:nix_mcast_grp_update_req
1284 struct mbox_msghdr hdr; member in struct:nix_mcast_grp_update_rsp
1290 struct mbox_msghdr hdr; member in struct:nix_inline_ipsec_cfg
1309 struct mbox_msghdr hdr; member in struct:nix_inline_ipsec_lf_cfg
1325 struct mbox_msghdr hdr; member in struct:nix_hw_info
1337 struct mbox_msghdr hdr; member in struct:nix_bandprof_alloc_req
1343 struct mbox_msghdr hdr; member in struct:nix_bandprof_alloc_rsp
1355 struct mbox_msghdr hdr; member in struct:nix_bandprof_free_req
1362 struct mbox_msghdr hdr; member in struct:nix_bandprof_get_hwinfo_rsp
1390 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_entry_req
1402 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_entry_rsp
1412 struct mbox_msghdr hdr; member in struct:npc_mcam_free_entry_req
1426 struct mbox_msghdr hdr; member in struct:npc_mcam_write_entry_req
1437 struct mbox_msghdr hdr; member in struct:npc_mcam_ena_dis_entry_req
1442 struct mbox_msghdr hdr; member in struct:npc_mcam_shift_entry_req
1450 struct mbox_msghdr hdr; member in struct:npc_mcam_shift_entry_rsp
1455 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_counter_req
1462 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_counter_rsp
1471 struct mbox_msghdr hdr; member in struct:npc_mcam_oper_counter_req
1476 struct mbox_msghdr hdr; member in struct:npc_mcam_oper_counter_rsp
1481 struct mbox_msghdr hdr; member in struct:npc_mcam_unmap_counter_req
1488 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_and_write_entry_req
1498 struct mbox_msghdr hdr; member in struct:npc_mcam_alloc_and_write_entry_rsp
1504 struct mbox_msghdr hdr; member in struct:npc_get_kex_cfg_rsp
1523 struct mbox_msghdr hdr; member in struct:ptp_get_cap_rsp
1569 struct mbox_msghdr hdr; member in struct:npc_install_flow_req
1601 struct mbox_msghdr hdr; member in struct:npc_install_flow_rsp
1606 struct mbox_msghdr hdr; member in struct:npc_delete_flow_req
1614 struct mbox_msghdr hdr; member in struct:npc_delete_flow_rsp
1619 struct mbox_msghdr hdr; member in struct:npc_mcam_read_entry_req
1624 struct mbox_msghdr hdr; member in struct:npc_mcam_read_entry_rsp
1631 struct mbox_msghdr hdr; member in struct:npc_mcam_read_base_rule_rsp
1636 struct mbox_msghdr hdr; member in struct:npc_mcam_get_stats_req
1641 struct mbox_msghdr hdr; member in struct:npc_mcam_get_stats_rsp
1647 struct mbox_msghdr hdr; member in struct:npc_get_field_hash_info_req
1652 struct mbox_msghdr hdr; member in struct:npc_get_field_hash_info_rsp
1673 struct mbox_msghdr hdr; member in struct:ptp_req
1684 struct mbox_msghdr hdr; member in struct:ptp_rsp
1690 struct mbox_msghdr hdr; member in struct:npc_get_field_status_req
1696 struct mbox_msghdr hdr; member in struct:npc_get_field_status_rsp
1701 struct mbox_msghdr hdr; member in struct:set_vf_perm
1709 struct mbox_msghdr hdr; member in struct:lmtst_tbl_setup_req
1736 struct mbox_msghdr hdr; member in struct:cpt_rd_wr_reg_msg
1745 struct mbox_msghdr hdr; member in struct:cpt_lf_alloc_req_msg
1761 struct mbox_msghdr hdr; member in struct:cpt_inline_ipsec_cfg_msg
1772 struct mbox_msghdr hdr; member in struct:cpt_sts_req
1777 struct mbox_msghdr hdr; member in struct:cpt_sts_rsp
1819 struct mbox_msghdr hdr; member in struct:cpt_rxc_time_cfg_req
1830 struct mbox_msghdr hdr; member in struct:cpt_inst_lmtst_req
1837 struct mbox_msghdr hdr; member in struct:cpt_lf_rst_req
1844 struct mbox_msghdr hdr; member in struct:cpt_flt_eng_info_req
1851 struct mbox_msghdr hdr; member in struct:cpt_flt_eng_info_rsp
1868 struct mbox_msghdr hdr; member in struct:sdp_chan_info_msg
1873 struct mbox_msghdr hdr; member in struct:sdp_get_chan_info_msg
1907 struct mbox_msghdr hdr; member in struct:mcs_alloc_rsrc_req
1917 struct mbox_msghdr hdr; member in struct:mcs_alloc_rsrc_rsp
1931 struct mbox_msghdr hdr; member in struct:mcs_free_rsrc_req
1941 struct mbox_msghdr hdr; member in struct:mcs_flowid_entry_write_req
1956 struct mbox_msghdr hdr; member in struct:mcs_secy_plcy_write_req
1966 struct mbox_msghdr hdr; member in struct:mcs_rx_sc_cam_write_req
1975 struct mbox_msghdr hdr; member in struct:mcs_sa_plcy_write_req
1985 struct mbox_msghdr hdr; member in struct:mcs_tx_sc_sa_map
1999 struct mbox_msghdr hdr; member in struct:mcs_rx_sc_sa_map
2009 struct mbox_msghdr hdr; member in struct:mcs_flowid_ena_dis_entry
2018 struct mbox_msghdr hdr; member in struct:mcs_pn_table_write_req
2027 struct mbox_msghdr hdr; member in struct:mcs_hw_info
2037 struct mbox_msghdr hdr; member in struct:mcs_set_active_lmac
2045 struct mbox_msghdr hdr; member in struct:mcs_set_lmac_mode
2053 struct mbox_msghdr hdr; member in struct:mcs_port_reset_req
2061 struct mbox_msghdr hdr; member in struct:mcs_port_cfg_set_req
2072 struct mbox_msghdr hdr; member in struct:mcs_port_cfg_get_req
2079 struct mbox_msghdr hdr; member in struct:mcs_port_cfg_get_rsp
2090 struct mbox_msghdr hdr; member in struct:mcs_custom_tag_cfg_get_req
2097 struct mbox_msghdr hdr; member in struct:mcs_custom_tag_cfg_get_rsp
2115 struct mbox_msghdr hdr; member in struct:mcs_set_pn_threshold
2132 struct mbox_msghdr hdr; member in struct:mcs_alloc_ctrl_pkt_rule_req
2140 struct mbox_msghdr hdr; member in struct:mcs_alloc_ctrl_pkt_rule_rsp
2149 struct mbox_msghdr hdr; member in struct:mcs_free_ctrl_pkt_rule_req
2159 struct mbox_msghdr hdr; member in struct:mcs_ctrl_pkt_rule_write_req
2171 struct mbox_msghdr hdr; member in struct:mcs_stats_req
2179 struct mbox_msghdr hdr; member in struct:mcs_flowid_stats
2185 struct mbox_msghdr hdr; member in struct:mcs_secy_stats
2215 struct mbox_msghdr hdr; member in struct:mcs_port_stats
2225 struct mbox_msghdr hdr; member in struct:mcs_sa_stats
2239 struct mbox_msghdr hdr; member in struct:mcs_sc_stats
2259 struct mbox_msghdr hdr; member in struct:mcs_clear_stats
2273 struct mbox_msghdr hdr; member in struct:mcs_intr_cfg
2297 struct mbox_msghdr hdr; member in struct:mcs_intr_info
[all...]
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Drx.c14 struct ieee80211_hdr *hdr; local
17 hdr = (struct ieee80211_hdr *)skb->data;
19 if (!ieee80211_is_data(hdr->frame_control))
22 if (!is_broadcast_ether_addr(hdr->addr1) &&
23 !is_multicast_ether_addr(hdr->addr1)) {
37 struct ieee80211_hdr *hdr; member in struct:rtw_rx_addr_match_data
44 struct ieee80211_hdr *hdr)
53 if (ieee80211_is_beacon(hdr->frame_control))
101 struct ieee80211_hdr *hdr = iter_data->hdr; local
42 rtw_rx_phy_stat(struct rtw_dev *rtwdev, struct rtw_rx_pkt_stat *pkt_stat, struct ieee80211_hdr *hdr) argument
124 rtw_rx_addr_match(struct rtw_dev *rtwdev, struct rtw_rx_pkt_stat *pkt_stat, struct ieee80211_hdr *hdr) argument
149 rtw_rx_fill_rx_status(struct rtw_dev *rtwdev, struct rtw_rx_pkt_stat *pkt_stat, struct ieee80211_hdr *hdr, struct ieee80211_rx_status *rx_status, u8 *phy_status) argument
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dmon.c10 struct ieee80211_radiotap_header hdr; member in struct:wilc_wfi_radiotap_hdr
15 struct ieee80211_radiotap_header hdr; member in struct:wilc_wfi_radiotap_cb_hdr
28 struct wilc_wfi_radiotap_hdr *hdr; local
57 cb_hdr->hdr.it_version = 0; /* PKTHDR_RADIOTAP_VERSION; */
59 cb_hdr->hdr.it_len = cpu_to_le16(sizeof(*cb_hdr));
61 cb_hdr->hdr.it_present = cpu_to_le32(TX_RADIOTAP_PRESENT);
73 skb = dev_alloc_skb(size + sizeof(*hdr));
79 hdr = skb_push(skb, sizeof(*hdr));
80 memset(hdr,
[all...]

Completed in 253 milliseconds

1234567891011>>