Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_null.c156 int msgsize) in null_alloc_reqbuf() argument
159 int alloc_size = size_roundup_power2(msgsize); in null_alloc_reqbuf()
169 LASSERT(req->rq_reqbuf_len >= msgsize); in null_alloc_reqbuf()
170 memset(req->rq_reqbuf, 0, msgsize); in null_alloc_reqbuf()
198 int msgsize) in null_alloc_repbuf() argument
201 msgsize += lustre_msg_early_size(); in null_alloc_repbuf()
203 msgsize = size_roundup_power2(msgsize); in null_alloc_repbuf()
205 OBD_ALLOC_LARGE(req->rq_repbuf, msgsize); in null_alloc_repbuf()
209 req->rq_repbuf_len = msgsize; in null_alloc_repbuf()
306 int null_alloc_rs(struct ptlrpc_request *req, int msgsize) in null_alloc_rs() argument
[all …]
Dsec_plain.c541 int msgsize) in plain_alloc_reqbuf() argument
547 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_reqbuf()
597 int msgsize) in plain_alloc_repbuf() argument
603 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_repbuf()
782 int plain_alloc_rs(struct ptlrpc_request *req, int msgsize) in plain_alloc_rs() argument
788 LASSERT(msgsize % 8 == 0); in plain_alloc_rs()
791 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_rs()
Dsec.c1534 int sptlrpc_cli_alloc_reqbuf(struct ptlrpc_request *req, int msgsize) in sptlrpc_cli_alloc_reqbuf() argument
1547 rc = policy->sp_cops->alloc_reqbuf(ctx->cc_sec, req, msgsize); in sptlrpc_cli_alloc_reqbuf()
1554 memset(req->rq_reqmsg, 0, msgsize); in sptlrpc_cli_alloc_reqbuf()
1661 int sptlrpc_cli_alloc_repbuf(struct ptlrpc_request *req, int msgsize) in sptlrpc_cli_alloc_repbuf() argument
1674 return policy->sp_cops->alloc_repbuf(ctx->cc_sec, req, msgsize); in sptlrpc_cli_alloc_repbuf()
Dclient.c496 ptlrpc_init_rq_pool(int num_rq, int msgsize, in ptlrpc_init_rq_pool() argument
510 pool->prp_rq_size = msgsize + SPTLRPC_MAX_PAYLOAD; in ptlrpc_init_rq_pool()
/linux-4.1.27/drivers/hv/
Dchannel.c225 u32 msgsize; in create_gpadl_header() local
240 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
243 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
248 msgheader->msgsize = msgsize; in create_gpadl_header()
278 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
281 msgbody = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
300 msgbody->msgsize = msgsize; in create_gpadl_header()
324 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
327 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
330 msgheader->msgsize = msgsize; in create_gpadl_header()
[all …]
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dgelic_udbg.c221 static void gelic_sendbuf(int msgsize) in gelic_sendbuf() argument
227 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf()
228 h_ip->total_length = msgsize + sizeof(struct udphdr) + in gelic_sendbuf()
230 h_udp->len = msgsize + sizeof(struct udphdr); in gelic_sendbuf()
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/infiniband/hw/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()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_sec.h745 int msgsize);
1021 int sptlrpc_cli_alloc_reqbuf(struct ptlrpc_request *req, int msgsize);
1023 int sptlrpc_cli_alloc_repbuf(struct ptlrpc_request *req, int msgsize);
/linux-4.1.27/include/linux/
Dhyperv.h614 u32 msgsize; member
1170 u32 msgsize; member
/linux-4.1.27/net/openvswitch/
Ddatapath.c1384 size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header)); in ovs_dp_cmd_msg_size() local
1386 msgsize += nla_total_size(IFNAMSIZ); in ovs_dp_cmd_msg_size()
1387 msgsize += nla_total_size(sizeof(struct ovs_dp_stats)); in ovs_dp_cmd_msg_size()
1388 msgsize += nla_total_size(sizeof(struct ovs_dp_megaflow_stats)); in ovs_dp_cmd_msg_size()
1389 msgsize += nla_total_size(sizeof(u32)); /* OVS_DP_ATTR_USER_FEATURES */ in ovs_dp_cmd_msg_size()
1391 return msgsize; in ovs_dp_cmd_msg_size()
/linux-4.1.27/tools/perf/util/
Devsel.h345 char *msg, size_t msgsize);
Devsel.c2103 char *msg, size_t msgsize) in perf_evsel__fallback() argument
2116 scnprintf(msg, msgsize, "%s", in perf_evsel__fallback()