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