Lines Matching refs:cl

303     int min_chunk, struct clist *cl, enum xdr_op op, CONN *conn)  in xdrrdma_create()  argument
321 xdrp->xp_rcl = cl; in xdrrdma_create()
325 if (op == XDR_ENCODE && cl != NULL) { in xdrrdma_create()
327 for (cle = cl; cle->c_next != NULL; cle = cle->c_next) in xdrrdma_create()
435 struct clist cl; in xdrrdma_getbytes() local
509 cl = *cle; in xdrrdma_getbytes()
510 cl.c_next = NULL; in xdrrdma_getbytes()
511 status = clist_register(xdrp->xp_conn, &cl, in xdrrdma_getbytes()
522 cle->c_dmemhandle = cl.c_dmemhandle; in xdrrdma_getbytes()
523 cle->c_dsynchandle = cl.c_dsynchandle; in xdrrdma_getbytes()
530 status = RDMA_READ(xdrp->xp_conn, &cl, WAIT); in xdrrdma_getbytes()
532 status = RDMA_READ(xdrp->xp_conn, &cl, NOWAIT); in xdrrdma_getbytes()
548 cl = *cls; in xdrrdma_getbytes()
549 cl.c_next = NULL; in xdrrdma_getbytes()
550 cl.c_len = cur_offset; in xdrrdma_getbytes()
552 xdrp->xp_conn, &cl, CLIST_REG_DST) != RDMA_SUCCESS) { in xdrrdma_getbytes()
562 cl = *cle; in xdrrdma_getbytes()
563 cl.c_next = NULL; in xdrrdma_getbytes()
565 cl.c_regtype = CLIST_REG_DST; in xdrrdma_getbytes()
566 (void) clist_deregister(xdrp->xp_conn, &cl); in xdrrdma_getbytes()
983 struct clist *cl; in xdr_encode_wlist() local
993 for (cl = w; cl != NULL; cl = cl->c_next) { in xdr_encode_wlist()
1282 struct clist cl; in xdrrdma_read_from_client() local
1300 cl = *rlist; in xdrrdma_read_from_client()
1301 cl.c_next = NULL; in xdrrdma_read_from_client()
1302 if (clist_register(*conn, &cl, CLIST_REG_DST) != RDMA_SUCCESS) { in xdrrdma_read_from_client()
1310 rlist->c_dmemhandle = cl.c_dmemhandle; in xdrrdma_read_from_client()
1311 rlist->c_dsynchandle = cl.c_dsynchandle; in xdrrdma_read_from_client()
1326 cl = (*rdclist); in xdrrdma_read_from_client()
1327 cl.c_next = NULL; in xdrrdma_read_from_client()
1332 cl.c_dmemhandle = rlist->c_dmemhandle; in xdrrdma_read_from_client()
1333 cl.c_dsynchandle = rlist->c_dsynchandle; in xdrrdma_read_from_client()
1343 status = RDMA_READ(*conn, &cl, WAIT); in xdrrdma_read_from_client()
1345 status = RDMA_READ(*conn, &cl, NOWAIT); in xdrrdma_read_from_client()
1355 cl = (*rlist); in xdrrdma_read_from_client()
1356 cl.c_next = NULL; in xdrrdma_read_from_client()
1357 cl.c_len = total_len; in xdrrdma_read_from_client()
1358 if (clist_syncmem(*conn, &cl, CLIST_REG_DST) != RDMA_SUCCESS) { in xdrrdma_read_from_client()
1378 struct clist *tcl, *wrcl, *cl; in xdrrdma_send_read_data() local
1435 cl = wcl; in xdrrdma_send_read_data()
1437 while (cl) { in xdrrdma_send_read_data()
1446 *tcl = *cl; in xdrrdma_send_read_data()
1447 cl = cl->c_next; in xdrrdma_send_read_data()
1449 if (cl->c_next == NULL) in xdrrdma_send_read_data()
1586 struct clist *cl; in xdrrdma_free_xdr_chunks() local
1596 cl = xdr_rcl; in xdrrdma_free_xdr_chunks()
1597 while (cl) { in xdrrdma_free_xdr_chunks()
1598 rdma_buf_free(conn, &cl->rb_longbuf); in xdrrdma_free_xdr_chunks()
1599 cl = cl->c_next; in xdrrdma_free_xdr_chunks()