Home
last modified time | relevance | path

Searched refs:req_sz (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c288 unsigned int req_sz; in brcmf_sdiod_skbuff_read() local
292 req_sz = skb->len + 3; in brcmf_sdiod_skbuff_read()
293 req_sz &= (uint)~3; in brcmf_sdiod_skbuff_read()
298 req_sz); in brcmf_sdiod_skbuff_read()
301 err = sdio_readsb(func, ((u8 *)(skb->data)), addr, req_sz); in brcmf_sdiod_skbuff_read()
319 unsigned int req_sz; in brcmf_sdiod_skbuff_write() local
323 req_sz = skb->len + 3; in brcmf_sdiod_skbuff_write()
324 req_sz &= (uint)~3; in brcmf_sdiod_skbuff_write()
326 err = sdio_memcpy_toio(func, addr, ((u8 *)(skb->data)), req_sz); in brcmf_sdiod_skbuff_write()
335 struct mmc_command *mc, int sg_cnt, int req_sz, in mmc_submit_one() argument
[all …]
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c103 nfp_net_tls_alloc_simple(struct nfp_net *nn, size_t req_sz, gfp_t flags) in nfp_net_tls_alloc_simple() argument
105 return nfp_ccm_mbox_msg_alloc(nn, req_sz, in nfp_net_tls_alloc_simple()
276 size_t req_sz; in nfp_net_tls_add() local
294 req_sz = sizeof(struct nfp_crypto_req_add_v6); in nfp_net_tls_add()
301 req_sz = sizeof(struct nfp_crypto_req_add_v4); in nfp_net_tls_add()
312 skb = nfp_ccm_mbox_msg_alloc(nn, req_sz, sizeof(*reply), GFP_KERNEL); in nfp_net_tls_add()
/linux-6.1.9/tools/testing/selftests/net/
Dipsec.c215 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack() argument
222 if (req_sz < nl_size) { in rtattr_pack()
223 printk("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack()
235 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() argument
240 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
246 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() argument
249 return _rtattr_begin(nh, req_sz, rta_type, 0, 0); in rtattr_begin()
259 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() argument
269 peer_attr = _rtattr_begin(nh, req_sz, VETH_INFO_PEER, &pi, sizeof(pi)); in veth_pack_peerb()
273 if (rtattr_pack(nh, req_sz, IFLA_IFNAME, peer, strlen(peer))) in veth_pack_peerb()
[all …]
/linux-6.1.9/drivers/message/fusion/
Dmptbase.c914 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
964 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
999 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1818 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3076 int req_sz; in GetIocFacts() local
3097 req_sz = sizeof(get_facts); in GetIocFacts()
3098 memset(&get_facts, 0, req_sz); in GetIocFacts()
3105 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3110 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3210 ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); in GetIocFacts()
[all …]
Dmptbase.h661 int req_sz; /* Request frame size (bytes) */ member
842 (MPT_FRAME_HDR*)( (u8*)(ioc)->req_frames + (ioc)->req_sz * (idx) )
845 (int)( ((u8*)mf - (u8*)(ioc)->req_frames) / (ioc)->req_sz )
848 (MPT_FRAME_HDR*)( (u8*)(ioc)->reply_frames + (ioc)->req_sz * (idx) )
Dmptdebug.h171 n = ioc->req_sz/4 - 1; in DBG_DUMP_PUT_MSG_FRAME()
Dmptspi.c1469 scale = ioc->req_sz/ioc->SGE_size; in mptspi_probe()
1473 (ioc->req_sz - 60) / ioc->SGE_size; in mptspi_probe()
1477 (ioc->req_sz - 64) / ioc->SGE_size; in mptspi_probe()
Dmptfc.c1266 scale = ioc->req_sz/ioc->SGE_size; in mptfc_probe()
1270 (ioc->req_sz - 60) / ioc->SGE_size; in mptfc_probe()
1274 (ioc->req_sz - 64) / ioc->SGE_size; in mptfc_probe()
Dmptctl.c872 maxfrags = (iocp->req_sz - sizeof(MPIHeader_t) - in mptctl_do_fw_download()
1060 sg_spill = ((ioc->req_sz - sge_offset)/ioc->SGE_size) - 1; in kbuf_alloc_2_sgl()
1771 karg.dataSgeOffset > ioc->req_sz / 4) in mptctl_do_mpt_command()
1782 if (sz > ioc->req_sz) { in mptctl_do_mpt_command()
1785 ioc->name, __FILE__, __LINE__, sz, ioc->req_sz); in mptctl_do_mpt_command()
Dmptscsih.c149 chain_idx = offset / ioc->req_sz; in mptscsih_getFreeChainBuffer()
203 frm_sz = ioc->req_sz; in mptscsih_AddSGE()
361 chain_dma_off = ioc->req_sz * chain_idx; in mptscsih_AddSGE()
1474 + (chain_idx * ioc->req_sz)); in mptscsih_freeChainBuffers()
Dmptlan.c1163 max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) / in mpt_lan_post_receive_buckets()
Dmptsas.c5258 scale = ioc->req_sz/ioc->SGE_size; in mptsas_probe()
5262 (ioc->req_sz - 60) / ioc->SGE_size; in mptsas_probe()
5266 (ioc->req_sz - 64) / ioc->SGE_size; in mptsas_probe()
/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_wr.c873 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); in csio_wr_get() local
874 int req_credits = req_sz / CSIO_QCREDIT_SZ; in csio_wr_get()
909 if (unlikely(((uintptr_t)cwr + req_sz) > (uintptr_t)(q->vwrap))) { in csio_wr_get()
913 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
920 wrp->size1 = req_sz; in csio_wr_get()
/linux-6.1.9/drivers/virt/coco/sev-guest/
Dsev-guest.c324 u8 type, void *req_buf, size_t req_sz, void *resp_buf, in handle_guest_request() argument
339 rc = enc_payload(snp_dev, seqno, msg_ver, type, req_buf, req_sz); in handle_guest_request()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c2172 u16 req_sz = mrioc->facts.op_req_sz; in mpi3mr_op_request_post() local
2203 ((pi % op_req_q->segment_qd) * req_sz); in mpi3mr_op_request_post()
2205 memset(req_entry, 0, req_sz); in mpi3mr_op_request_post()
2784 u32 ioc_config, req_sz, facts_flags; in mpi3mr_process_factsdata() local
2795 req_sz = 1 << ((ioc_config & MPI3_SYSIF_IOC_CONFIG_OPER_REQ_ENT_SZ) >> in mpi3mr_process_factsdata()
2797 if (le16_to_cpu(facts_data->ioc_request_frame_size) != (req_sz / 4)) { in mpi3mr_process_factsdata()
2800 req_sz / 4, le16_to_cpu(facts_data->ioc_request_frame_size)); in mpi3mr_process_factsdata()
2806 mrioc->facts.op_req_sz = req_sz; in mpi3mr_process_factsdata()
/linux-6.1.9/drivers/scsi/
Dstex.c213 __le16 req_sz; /* size of each request payload */ member
1059 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1150 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
Dsg.c1262 unsigned long req_sz, len, sa; in sg_mmap() local
1269 req_sz = vma->vm_end - vma->vm_start; in sg_mmap()
1272 (void *) vma->vm_start, (int) req_sz)); in sg_mmap()
1277 if (req_sz > rsv_schp->bufflen) { in sg_mmap()
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c2261 u32 req_sz; in srpt_cm_req_recv() local
2274 req_sz = alignment_offset + imm_data_offset + srp_max_req_size; in srpt_cm_req_recv()
2275 ch->req_buf_cache = kmem_cache_create("srpt-req-buf", req_sz, in srpt_cm_req_recv()