Home
last modified time | relevance | path

Searched refs:msgsize (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Dsec_null.c158 int msgsize) in null_alloc_reqbuf() argument
161 int alloc_size = size_roundup_power2(msgsize); in null_alloc_reqbuf()
171 LASSERT(req->rq_reqbuf_len >= msgsize); in null_alloc_reqbuf()
172 memset(req->rq_reqbuf, 0, msgsize); in null_alloc_reqbuf()
200 int msgsize) in null_alloc_repbuf() argument
203 msgsize += lustre_msg_early_size(); in null_alloc_repbuf()
205 msgsize = size_roundup_power2(msgsize); in null_alloc_repbuf()
207 req->rq_repbuf = libcfs_kvzalloc(msgsize, GFP_NOFS); in null_alloc_repbuf()
211 req->rq_repbuf_len = msgsize; in null_alloc_repbuf()
308 int null_alloc_rs(struct ptlrpc_request *req, int msgsize) in null_alloc_rs() argument
[all …]
Dsec_plain.c540 int msgsize) in plain_alloc_reqbuf() argument
546 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_reqbuf()
596 int msgsize) in plain_alloc_repbuf() argument
602 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_repbuf()
781 int plain_alloc_rs(struct ptlrpc_request *req, int msgsize) in plain_alloc_rs() argument
787 LASSERT(msgsize % 8 == 0); in plain_alloc_rs()
790 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_rs()
Dsec.c1478 int sptlrpc_cli_alloc_reqbuf(struct ptlrpc_request *req, int msgsize) in sptlrpc_cli_alloc_reqbuf() argument
1491 rc = policy->sp_cops->alloc_reqbuf(ctx->cc_sec, req, msgsize); in sptlrpc_cli_alloc_reqbuf()
1498 memset(req->rq_reqmsg, 0, msgsize); in sptlrpc_cli_alloc_reqbuf()
1605 int sptlrpc_cli_alloc_repbuf(struct ptlrpc_request *req, int msgsize) in sptlrpc_cli_alloc_repbuf() argument
1618 return policy->sp_cops->alloc_repbuf(ctx->cc_sec, req, msgsize); in sptlrpc_cli_alloc_repbuf()
Dclient.c511 ptlrpc_init_rq_pool(int num_rq, int msgsize, in ptlrpc_init_rq_pool() argument
527 pool->prp_rq_size = msgsize + SPTLRPC_MAX_PAYLOAD; in ptlrpc_init_rq_pool()
/drivers/hv/
Dchannel.c230 u32 msgsize; in create_gpadl_header() local
245 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
248 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
253 msgheader->msgsize = msgsize; in create_gpadl_header()
283 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
286 msgbody = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
305 msgbody->msgsize = msgsize; in create_gpadl_header()
329 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
332 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
335 msgheader->msgsize = msgsize; in create_gpadl_header()
[all …]
/drivers/isdn/gigaset/
Dcapi.c503 unsigned int msgsize; in gigaset_isdn_icall() local
521 msgsize = CAPI_CONNECT_IND_BASELEN; in gigaset_isdn_icall()
549 msgsize += iif->hcmsg.BC[0]; in gigaset_isdn_icall()
561 msgsize += iif->hcmsg.HLC[0]; in gigaset_isdn_icall()
589 msgsize += iif->hcmsg.CalledPartyNumber[0]; in gigaset_isdn_icall()
605 msgsize += iif->hcmsg.CallingPartyNumber[0]; in gigaset_isdn_icall()
644 skb = alloc_skb(msgsize, GFP_ATOMIC); in gigaset_isdn_icall()
651 __skb_put(skb, msgsize))) { in gigaset_isdn_icall()
760 unsigned int msgsize; in gigaset_isdn_connD() local
794 msgsize = CAPI_CONNECT_ACTIVE_IND_BASELEN; in gigaset_isdn_connD()
[all …]
/drivers/staging/rdma/amso1100/
Dc2_rnic.c448 u32 qsize, msgsize; in c2_rnic_init() local
519 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_MSGSIZE)); in c2_rnic_init()
520 q1_pages = dma_alloc_coherent(&c2dev->pcidev->dev, qsize * msgsize, in c2_rnic_init()
532 msgsize, in c2_rnic_init()
540 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_MSGSIZE)); in c2_rnic_init()
541 q2_pages = dma_alloc_coherent(&c2dev->pcidev->dev, qsize * msgsize, in c2_rnic_init()
553 msgsize, in c2_rnic_init()
/drivers/staging/lustre/lustre/include/
Dlustre_sec.h728 int msgsize);
996 int sptlrpc_cli_alloc_reqbuf(struct ptlrpc_request *req, int msgsize);
998 int sptlrpc_cli_alloc_repbuf(struct ptlrpc_request *req, int msgsize);