Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c287 unsigned int req_sz; in brcmf_sdiod_skbuff_read() local
291 req_sz = skb->len + 3; in brcmf_sdiod_skbuff_read()
292 req_sz &= (uint)~3; in brcmf_sdiod_skbuff_read()
297 req_sz); in brcmf_sdiod_skbuff_read()
300 err = sdio_readsb(func, ((u8 *)(skb->data)), addr, req_sz); in brcmf_sdiod_skbuff_read()
318 unsigned int req_sz; in brcmf_sdiod_skbuff_write() local
322 req_sz = skb->len + 3; in brcmf_sdiod_skbuff_write()
323 req_sz &= (uint)~3; in brcmf_sdiod_skbuff_write()
325 err = sdio_memcpy_toio(func, addr, ((u8 *)(skb->data)), req_sz); in brcmf_sdiod_skbuff_write()
334 struct mmc_command *mc, int sg_cnt, int req_sz, in mmc_submit_one() argument
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dipsec.c177 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack() argument
184 if (req_sz < nl_size) { in rtattr_pack()
185 printk("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack()
197 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() argument
202 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
208 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() argument
211 return _rtattr_begin(nh, req_sz, rta_type, 0, 0); in rtattr_begin()
221 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() argument
231 peer_attr = _rtattr_begin(nh, req_sz, VETH_INFO_PEER, &pi, sizeof(pi)); in veth_pack_peerb()
235 if (rtattr_pack(nh, req_sz, IFLA_IFNAME, peer, strlen(peer))) in veth_pack_peerb()
[all …]
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptbase.c918 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
968 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
1003 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1827 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ in mpt_attach()
3085 int req_sz; in GetIocFacts() local
3106 req_sz = sizeof(get_facts); in GetIocFacts()
3107 memset(&get_facts, 0, req_sz); in GetIocFacts()
3114 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3119 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts, in GetIocFacts()
3220 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.h170 n = ioc->req_sz/4 - 1; in DBG_DUMP_PUT_MSG_FRAME()
Dmptfc.c1265 scale = ioc->req_sz/ioc->SGE_size; in mptfc_probe()
1269 (ioc->req_sz - 60) / ioc->SGE_size; in mptfc_probe()
1273 (ioc->req_sz - 64) / ioc->SGE_size; in mptfc_probe()
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()
Dmptctl.c876 maxfrags = (iocp->req_sz - sizeof(MPIHeader_t) - in mptctl_do_fw_download()
1063 sg_spill = ((ioc->req_sz - sge_offset)/ioc->SGE_size) - 1; in kbuf_alloc_2_sgl()
1775 karg.dataSgeOffset > ioc->req_sz / 4) in mptctl_do_mpt_command()
1786 if (sz > ioc->req_sz) { in mptctl_do_mpt_command()
1789 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.c1161 max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) / in mpt_lan_post_receive_buckets()
Dmptsas.c5228 scale = ioc->req_sz/ioc->SGE_size; in mptsas_probe()
5232 (ioc->req_sz - 60) / ioc->SGE_size; in mptsas_probe()
5236 (ioc->req_sz - 64) / ioc->SGE_size; in mptsas_probe()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_wr.c872 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); in csio_wr_get() local
873 int req_credits = req_sz / CSIO_QCREDIT_SZ; in csio_wr_get()
908 if (unlikely(((uintptr_t)cwr + req_sz) > (uintptr_t)(q->vwrap))) { in csio_wr_get()
912 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
919 wrp->size1 = req_sz; in csio_wr_get()
/kernel/linux/linux-5.10/drivers/scsi/
Dstex.c213 __le16 req_sz; /* size of each request payload */ member
1062 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1153 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
Dsg.c1281 unsigned long req_sz, len, sa; in sg_mmap() local
1288 req_sz = vma->vm_end - vma->vm_start; in sg_mmap()
1291 (void *) vma->vm_start, (int) req_sz)); in sg_mmap()
1296 if (req_sz > rsv_schp->bufflen) { in sg_mmap()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c2257 u32 req_sz; in srpt_cm_req_recv() local
2270 req_sz = alignment_offset + imm_data_offset + srp_max_req_size; in srpt_cm_req_recv()
2271 ch->req_buf_cache = kmem_cache_create("srpt-req-buf", req_sz, in srpt_cm_req_recv()