Home
last modified time | relevance | path

Searched refs:cl_chunks (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/sunrpc/
H A Dsvc_rdma_pcl.h30 struct list_head cl_chunks; member
40 INIT_LIST_HEAD(&pcl->cl_chunks); in pcl_init()
50 return list_empty(&pcl->cl_chunks); in pcl_is_empty()
64 return list_first_entry(&pcl->cl_chunks, struct svc_rdma_chunk, in pcl_first_chunk()
78 if (list_is_last(&chunk->ch_list, &pcl->cl_chunks)) in pcl_next_chunk()
89 for (pos = list_first_entry(&(pcl)->cl_chunks, struct svc_rdma_chunk, ch_list); \
90 &pos->ch_list != &(pcl)->cl_chunks; \
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c19 while (!list_empty(&pcl->cl_chunks)) { in pcl_free()
125 chunk = list_first_entry(&pcl->cl_chunks, in pcl_alloc_call()
216 list_add_tail(&chunk->ch_list, &pcl->cl_chunks); in pcl_alloc_write()