Lines Matching refs:pcl

17 void pcl_free(struct svc_rdma_pcl *pcl)  in pcl_free()  argument
19 while (!list_empty(&pcl->cl_chunks)) { in pcl_free()
22 chunk = pcl_first_chunk(pcl); in pcl_free()
44 pcl_lookup_position(struct svc_rdma_pcl *pcl, u32 position) in pcl_lookup_position() argument
48 pcl_for_each_chunk(pos, pcl) { in pcl_lookup_position()
55 static void pcl_insert_position(struct svc_rdma_pcl *pcl, in pcl_insert_position() argument
60 pcl_for_each_chunk(pos, pcl) { in pcl_insert_position()
65 pcl->cl_count++; in pcl_insert_position()
104 struct svc_rdma_pcl *pcl = &rctxt->rc_call_pcl; in pcl_alloc_call() local
105 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_call()
107 pcl->cl_count = 0; in pcl_alloc_call()
119 if (pcl_is_empty(pcl)) { in pcl_alloc_call()
123 pcl_insert_position(pcl, chunk); in pcl_alloc_call()
125 chunk = list_first_entry(&pcl->cl_chunks, in pcl_alloc_call()
158 struct svc_rdma_pcl *pcl = &rctxt->rc_read_pcl; in pcl_alloc_read() local
159 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_read()
161 pcl->cl_count = 0; in pcl_alloc_read()
173 chunk = pcl_lookup_position(pcl, position); in pcl_alloc_read()
178 pcl_insert_position(pcl, chunk); in pcl_alloc_read()
202 struct svc_rdma_pcl *pcl, __be32 *p) in pcl_alloc_write() argument
209 for (i = 0; i < pcl->cl_count; i++) { in pcl_alloc_write()
216 list_add_tail(&chunk->ch_list, &pcl->cl_chunks); in pcl_alloc_write()
265 int pcl_process_nonpayloads(const struct svc_rdma_pcl *pcl, in pcl_process_nonpayloads() argument
274 chunk = pcl_first_chunk(pcl); in pcl_process_nonpayloads()
286 while ((next = pcl_next_chunk(pcl, chunk))) { in pcl_process_nonpayloads()