Home
last modified time | relevance | path

Searched refs:reqmsg (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c2142 kib_msg_t *reqmsg = priv; in kiblnd_passive_connect() local
2190 if (reqmsg->ibm_magic == LNET_PROTO_MAGIC || in kiblnd_passive_connect()
2191 reqmsg->ibm_magic == __swab32(LNET_PROTO_MAGIC)) in kiblnd_passive_connect()
2193 if (reqmsg->ibm_magic == IBLND_MSG_MAGIC && in kiblnd_passive_connect()
2194 reqmsg->ibm_version != IBLND_MSG_VERSION && in kiblnd_passive_connect()
2195 reqmsg->ibm_version != IBLND_MSG_VERSION_1) in kiblnd_passive_connect()
2197 if (reqmsg->ibm_magic == __swab32(IBLND_MSG_MAGIC) && in kiblnd_passive_connect()
2198 reqmsg->ibm_version != __swab16(IBLND_MSG_VERSION) && in kiblnd_passive_connect()
2199 reqmsg->ibm_version != __swab16(IBLND_MSG_VERSION_1)) in kiblnd_passive_connect()
2202 rc = kiblnd_unpack_msg(reqmsg, priv_nob); in kiblnd_passive_connect()
[all …]
/drivers/staging/lustre/lustre/ptlrpc/
Dsec.c410 char *reqmsg = NULL; /* to workaround old gcc */ in sptlrpc_req_ctx_switch() local
431 reqmsg = libcfs_kvzalloc(reqmsg_size, GFP_NOFS); in sptlrpc_req_ctx_switch()
432 if (reqmsg == NULL) in sptlrpc_req_ctx_switch()
434 memcpy(reqmsg, req->rq_reqmsg, reqmsg_size); in sptlrpc_req_ctx_switch()
453 memcpy(req->rq_reqmsg, reqmsg, reqmsg_size); in sptlrpc_req_ctx_switch()
459 kvfree(reqmsg); in sptlrpc_req_ctx_switch()
Dservice.c1000 struct lustre_msg *reqmsg; in ptlrpc_at_send_early_reply() local
1049 reqmsg = libcfs_kvzalloc(req->rq_reqlen, GFP_NOFS); in ptlrpc_at_send_early_reply()
1050 if (!reqmsg) { in ptlrpc_at_send_early_reply()
1063 reqcopy->rq_reqmsg = reqmsg; in ptlrpc_at_send_early_reply()
1064 memcpy(reqmsg, req->rq_reqmsg, req->rq_reqlen); in ptlrpc_at_send_early_reply()
1113 kvfree(reqmsg); in ptlrpc_at_send_early_reply()
Dclient.c1143 struct lustre_msg *reqmsg = req->rq_reqmsg; in ptlrpc_save_versions() local
1150 lustre_msg_set_versions(reqmsg, versions); in ptlrpc_save_versions()