Home
last modified time | relevance | path

Searched refs:cdata (Results 1 – 5 of 5) sorted by relevance

/net/sunrpc/xprtrdma/
Dtransport.c269 struct rpcrdma_create_data_internal cdata; in xprt_setup_rdma() local
306 memcpy(&cdata.addr, args->dstaddr, args->addrlen); in xprt_setup_rdma()
312 memcpy(&xprt->addr, &cdata.addr, xprt->addrlen); in xprt_setup_rdma()
314 sin = (struct sockaddr_in *)&cdata.addr; in xprt_setup_rdma()
322 cdata.max_requests = xprt->max_reqs; in xprt_setup_rdma()
325 cdata.rsize = RPCRDMA_MAX_SEGS * PAGE_SIZE; /* RDMA write max */ in xprt_setup_rdma()
326 cdata.wsize = RPCRDMA_MAX_SEGS * PAGE_SIZE; /* RDMA read max */ in xprt_setup_rdma()
328 cdata.inline_wsize = xprt_rdma_max_inline_write; in xprt_setup_rdma()
329 if (cdata.inline_wsize > cdata.wsize) in xprt_setup_rdma()
330 cdata.inline_wsize = cdata.wsize; in xprt_setup_rdma()
[all …]
Dverbs.c640 struct rpcrdma_create_data_internal *cdata) in rpcrdma_ep_create() argument
653 if (cdata->max_requests > devattr.max_qp_wr) in rpcrdma_ep_create()
654 cdata->max_requests = devattr.max_qp_wr; in rpcrdma_ep_create()
660 ep->rep_attr.cap.max_send_wr = cdata->max_requests; in rpcrdma_ep_create()
674 cdata->max_requests = devattr.max_qp_wr / 7; in rpcrdma_ep_create()
675 if (!cdata->max_requests) in rpcrdma_ep_create()
677 ep->rep_attr.cap.max_send_wr = cdata->max_requests * 7; in rpcrdma_ep_create()
691 ep->rep_attr.cap.max_recv_wr = cdata->max_requests; in rpcrdma_ep_create()
692 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create()
967 struct rpcrdma_ia *ia, struct rpcrdma_create_data_internal *cdata) in rpcrdma_buffer_create() argument
[all …]
/net/sunrpc/auth_gss/
Dgss_krb5_mech.c368 set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) in set_cdata()
370 cdata[0] = (usage>>24)&0xff; in set_cdata()
371 cdata[1] = (usage>>16)&0xff; in set_cdata()
372 cdata[2] = (usage>>8)&0xff; in set_cdata()
373 cdata[3] = usage&0xff; in set_cdata()
374 cdata[4] = seed; in set_cdata()
381 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_des3() local
385 c.data = cdata; in context_derive_keys_des3()
403 set_cdata(cdata, KG_USAGE_SIGN, KEY_USAGE_SEED_CHECKSUM); in context_derive_keys_des3()
499 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_new() local
[all …]
/net/mac80211/
Daes_ccm.c55 u8 *cdata, u8 *mic) in ieee80211_aes_ccm_encrypt() argument
71 cpos = cdata; in ieee80211_aes_ccm_encrypt()
94 u8 *cdata, size_t data_len, u8 *mic, u8 *data) in ieee80211_aes_ccm_decrypt() argument
109 cpos = cdata; in ieee80211_aes_ccm_decrypt()
Daes_ccm.h18 u8 *cdata, u8 *mic);
20 u8 *cdata, size_t data_len,