Searched refs:pcl (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/erofs/ |
| H A D | zdata.c | 106 static inline unsigned int z_erofs_pclusterpages(struct z_erofs_pcluster *pcl) in z_erofs_pclusterpages() argument 108 return PAGE_ALIGN(pcl->pageofs_in + pcl->pclustersize) >> PAGE_SHIFT; in z_erofs_pclusterpages() 268 struct z_erofs_pcluster *pcl; in z_erofs_alloc_pcluster() local 273 pcl = kmem_cache_zalloc(pcs->slab, GFP_KERNEL); in z_erofs_alloc_pcluster() 274 if (!pcl) in z_erofs_alloc_pcluster() 276 return pcl; in z_erofs_alloc_pcluster() 281 static void z_erofs_free_pcluster(struct z_erofs_pcluster *pcl) in z_erofs_free_pcluster() argument 283 unsigned int pclusterpages = z_erofs_pclusterpages(pcl); in z_erofs_free_pcluster() 292 kmem_cache_free(pcs->slab, pcl); in z_erofs_free_pcluster() 513 struct z_erofs_pcluster *pcl, *head; member [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | svc_rdma_pcl.h | 38 static inline void pcl_init(struct svc_rdma_pcl *pcl) in pcl_init() argument 40 INIT_LIST_HEAD(&pcl->cl_chunks); in pcl_init() 48 static inline bool pcl_is_empty(const struct svc_rdma_pcl *pcl) in pcl_is_empty() argument 50 return list_empty(&pcl->cl_chunks); in pcl_is_empty() 60 pcl_first_chunk(const struct svc_rdma_pcl *pcl) in pcl_first_chunk() argument 62 if (pcl_is_empty(pcl)) in pcl_first_chunk() 64 return list_first_entry(&pcl->cl_chunks, struct svc_rdma_chunk, in pcl_first_chunk() 76 pcl_next_chunk(const struct svc_rdma_pcl *pcl, struct svc_rdma_chunk *chunk) in pcl_next_chunk() argument 78 if (list_is_last(&chunk->ch_list, &pcl->cl_chunks)) in pcl_next_chunk() 88 #define pcl_for_each_chunk(pos, pcl) \ argument [all …]
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_pcl.c | 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() [all …]
|
| H A D | svc_rdma_rw.c | 923 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_multiple_chunks() local 930 chunk = pcl_first_chunk(pcl); in svc_rdma_read_multiple_chunks() 936 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_multiple_chunks() 941 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_multiple_chunks() 1059 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_call_chunk() local 1064 if (pcl_is_empty(pcl)) in svc_rdma_read_call_chunk() 1069 chunk = pcl_first_chunk(pcl); in svc_rdma_read_call_chunk() 1078 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_call_chunk() 1083 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_call_chunk()
|
| /linux/drivers/firewire/ |
| H A D | nosy.c | 42 struct pcl { struct 73 struct pcl *rcv_start_pcl, *rcv_pcl; argument 518 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in remove_card() 520 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in remove_card() 570 sizeof(struct pcl), in add_card() 574 sizeof(struct pcl), in add_card() 676 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in add_card() 680 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in add_card()
|
| /linux/arch/arc/kernel/ |
| H A D | jump_label.c | 49 u32 pcl = pc & GENMASK(31, 2); in arc_gen_branch() local 50 u32 u_offset = target - pcl; in arc_gen_branch()
|