Home
last modified time | relevance | path

Searched refs:buflens (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Dsec_plain.c542 __u32 buflens[PLAIN_PACK_SEGMENTS] = { 0, }; in plain_alloc_reqbuf() local
545 buflens[PLAIN_PACK_HDR_OFF] = sizeof(struct plain_header); in plain_alloc_reqbuf()
546 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_reqbuf()
549 buflens[PLAIN_PACK_USER_OFF] = sptlrpc_current_user_desc_size(); in plain_alloc_reqbuf()
553 buflens[PLAIN_PACK_BULK_OFF] = PLAIN_BSD_SIZE; in plain_alloc_reqbuf()
556 alloc_len = lustre_msg_size_v2(PLAIN_PACK_SEGMENTS, buflens); in plain_alloc_reqbuf()
573 lustre_init_msg_v2(req->rq_reqbuf, PLAIN_PACK_SEGMENTS, buflens, NULL); in plain_alloc_reqbuf()
598 __u32 buflens[PLAIN_PACK_SEGMENTS] = { 0, }; in plain_alloc_repbuf() local
601 buflens[PLAIN_PACK_HDR_OFF] = sizeof(struct plain_header); in plain_alloc_repbuf()
602 buflens[PLAIN_PACK_MSG_OFF] = msgsize; in plain_alloc_repbuf()
[all …]
/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h215 static inline int lustre_cfg_len(__u32 bufcount, __u32 *buflens) in lustre_cfg_len() argument
222 len += cfs_size_round(buflens[i]); in lustre_cfg_len()