Home
last modified time | relevance | path

Searched refs:lustre_msg (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/lustre/lustre/include/
Dlustre_net.h451 struct lustre_msg *rs_repbuf; /* wrapper */
461 struct lustre_msg *rs_msg; /* reply message */
1356 struct lustre_msg *rq_reqmsg;
1358 struct lustre_msg *rq_repmsg;
1406 struct lustre_msg *rq_reqbuf; /* req wrapper */
1408 struct lustre_msg *rq_repdata; /* rep wrapper msg */
1409 struct lustre_msg *rq_clrbuf; /* only in priv mode */
2573 int lustre_msg_check_version(struct lustre_msg *msg, __u32 version);
2585 int lustre_shrink_msg(struct lustre_msg *msg, int segment,
2588 int __lustre_unpack_msg(struct lustre_msg *m, int len);
[all …]
Dlustre_sec.h921 void _sptlrpc_enlarge_msg_inplace(struct lustre_msg *msg,
1122 int bulk_sec_desc_unpack(struct lustre_msg *msg, int offset, int swabbed);
1131 int sptlrpc_pack_user_desc(struct lustre_msg *msg, int offset);
1132 int sptlrpc_unpack_user_desc(struct lustre_msg *req, int offset, int swabbed);
/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c102 int lustre_msg_check_version(struct lustre_msg *msg, __u32 version) in lustre_msg_check_version()
179 int lustre_packed_msg_size(struct lustre_msg *msg) in lustre_packed_msg_size()
428 void *lustre_msg_buf(struct lustre_msg *m, int n, int min_size) in lustre_msg_buf()
487 int lustre_shrink_msg(struct lustre_msg *msg, int segment, in lustre_shrink_msg()
566 int __lustre_unpack_msg(struct lustre_msg *m, int len) in __lustre_unpack_msg()
576 required_len = offsetof(struct lustre_msg, lm_magic) + in __lustre_unpack_msg()
681 int lustre_msg_buflen(struct lustre_msg *m, int n) in lustre_msg_buflen()
702 void lustre_msg_set_buflen(struct lustre_msg *m, int n, int len) in lustre_msg_set_buflen()
717 int lustre_msg_bufcount(struct lustre_msg *m) in lustre_msg_bufcount()
729 char *lustre_msg_string(struct lustre_msg *m, int index, int max_len) in lustre_msg_string()
[all …]
Dsec_null.c60 void null_encode_sec_part(struct lustre_msg *msg, enum lustre_sec_part sp) in null_encode_sec_part()
66 enum lustre_sec_part null_decode_sec_part(struct lustre_msg *msg) in null_decode_sec_part()
238 struct lustre_msg *newbuf; in null_enlarge_reqbuf()
239 struct lustre_msg *oldbuf = req->rq_reqmsg; in null_enlarge_reqbuf()
338 rs->rs_repbuf = (struct lustre_msg *) (rs + 1); in null_alloc_rs()
Dsec_plain.c99 static int plain_unpack_bsd(struct lustre_msg *msg, int swabbed) in plain_unpack_bsd()
193 struct lustre_msg *msg = req->rq_reqbuf; in plain_ctx_sign()
217 struct lustre_msg *msg = req->rq_repdata; in plain_ctx_verify()
639 struct lustre_msg *newbuf; in plain_enlarge_reqbuf()
713 struct lustre_msg *msg = req->rq_reqbuf; in plain_accept()
813 rs->rs_repbuf = (struct lustre_msg *) (rs + 1); in plain_alloc_rs()
Dsec.c999 if (req->rq_repdata_len < sizeof(struct lustre_msg)) { in do_cli_unwrap_reply()
1061 req->rq_repdata = (struct lustre_msg *) in sptlrpc_cli_unwrap_reply()
1132 if (req->rq_nob_received < sizeof(struct lustre_msg)) { in sptlrpc_cli_unwrap_early_reply()
1148 early_req->rq_repdata = (struct lustre_msg *) early_buf; in sptlrpc_cli_unwrap_early_reply()
1586 void _sptlrpc_enlarge_msg_inplace(struct lustre_msg *msg, in _sptlrpc_enlarge_msg_inplace()
1641 struct lustre_msg *msg = req->rq_reqmsg; in sptlrpc_cli_enlarge_reqbuf()
2025 struct lustre_msg *msg = req->rq_reqbuf; in sptlrpc_svc_unwrap_request()
2308 int sptlrpc_pack_user_desc(struct lustre_msg *msg, int offset) in sptlrpc_pack_user_desc()
2332 int sptlrpc_unpack_user_desc(struct lustre_msg *msg, int offset, int swabbed) in sptlrpc_unpack_user_desc()
Dlayout.c1753 static struct lustre_msg *__req_msg(const struct req_capsule *pill, in __req_msg()
1952 struct lustre_msg *msg; in __req_capsule_get()
1957 void *(*getter)(struct lustre_msg *m, int n, int minlen); in __req_capsule_get()
2369 struct lustre_msg *msg; in req_capsule_shrink()
Dclient.c455 struct lustre_msg *msg; in ptlrpc_add_rqs_to_pool()
521 struct lustre_msg *reqbuf; in ptlrpc_prep_req_from_pool()
1175 struct lustre_msg *repmsg = req->rq_repmsg; in ptlrpc_save_versions()
1176 struct lustre_msg *reqmsg = req->rq_reqmsg; in ptlrpc_save_versions()
Dsec_bulk.c809 int bulk_sec_desc_unpack(struct lustre_msg *msg, int offset, int swabbed) in bulk_sec_desc_unpack()
Dservice.c1246 struct lustre_msg *reqmsg; in ptlrpc_at_send_early_reply()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h1061 #define lustre_msg lustre_msg_v2 macro