Lines Matching refs:segcount
28 static struct svc_rdma_chunk *pcl_alloc_chunk(u32 segcount, u32 position) in pcl_alloc_chunk() argument
32 chunk = kmalloc(struct_size(chunk, ch_segments, segcount), GFP_KERNEL); in pcl_alloc_chunk()
105 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_call() local
108 for (i = 0; i < segcount; i++) { in pcl_alloc_call()
120 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_call()
159 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_read() local
162 for (i = 0; i < segcount; i++) { in pcl_alloc_read()
175 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_read()
207 u32 segcount; in pcl_alloc_write() local
211 segcount = be32_to_cpup(p++); in pcl_alloc_write()
213 chunk = pcl_alloc_chunk(segcount, 0); in pcl_alloc_write()
218 for (j = 0; j < segcount; j++) { in pcl_alloc_write()