Lines Matching refs:cl
210 clist_len(struct clist *cl) in clist_len() argument
213 while (cl) { in clist_len()
214 len += cl->c_len; in clist_len()
215 cl = cl->c_next; in clist_len()
221 clist_zero_len(struct clist *cl) in clist_zero_len() argument
223 while (cl != NULL) { in clist_zero_len()
224 if (cl->c_dmemhandle.mrc_rmr == 0) in clist_zero_len()
226 cl->c_len = 0; in clist_zero_len()
227 cl = cl->c_next; in clist_zero_len()
240 struct clist *cl; in clist_add() local
247 cl = clist_alloc(); in clist_add()
248 cl->c_xdroff = xdroff; in clist_add()
249 cl->c_len = len; in clist_add()
250 cl->w.c_saddr = (uint64_t)(uintptr_t)saddr; in clist_add()
252 cl->c_smemhandle = *shandle; in clist_add()
253 cl->u.c_daddr = (uint64_t)(uintptr_t)daddr; in clist_add()
255 cl->c_dmemhandle = *dhandle; in clist_add()
256 cl->c_next = NULL; in clist_add()
258 *clp = cl; in clist_add()
262 clist_register(CONN *conn, struct clist *cl, clist_dstsrc dstsrc) in clist_register() argument
267 for (c = cl; c; c = c->c_next) { in clist_register()
292 (void) clist_deregister(conn, cl); in clist_register()
301 clist_deregister(CONN *conn, struct clist *cl) in clist_deregister() argument
305 for (c = cl; c; c = c->c_next) { in clist_deregister()
339 clist_syncmem(CONN *conn, struct clist *cl, clist_dstsrc dstsrc) in clist_syncmem() argument
344 c = cl; in clist_syncmem()
383 clist_free(struct clist *cl) in clist_free() argument
385 struct clist *c = cl; in clist_free()
388 cl = cl->c_next; in clist_free()
390 c = cl; in clist_free()
397 struct clist *cl = NULL; in rdma_clnt_postrecv() local
406 clist_add(&cl, 0, rbuf.len, &rbuf.handle, rbuf.addr, in rdma_clnt_postrecv()
408 retval = RDMA_CLNT_RECVBUF(conn, cl, xid); in rdma_clnt_postrecv()
409 clist_free(cl); in rdma_clnt_postrecv()
423 struct clist *cl = NULL; in rdma_svc_postrecv() local
431 clist_add(&cl, 0, rbuf.len, &rbuf.handle, rbuf.addr, in rdma_svc_postrecv()
433 retval = RDMA_SVC_RECVBUF(conn, cl); in rdma_svc_postrecv()
434 clist_free(cl); in rdma_svc_postrecv()