Home
last modified time | relevance | path

Searched refs:pcl (Results 1 – 9 of 9) sorted by relevance

/linux/fs/erofs/
H A Dzdata.c106 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()
258 struct z_erofs_pcluster *pcl; in z_erofs_alloc_pcluster() local
263 pcl = kmem_cache_zalloc(pcs->slab, GFP_KERNEL); in z_erofs_alloc_pcluster()
264 if (!pcl) in z_erofs_alloc_pcluster()
266 return pcl; in z_erofs_alloc_pcluster()
271 static void z_erofs_free_pcluster(struct z_erofs_pcluster *pcl) in z_erofs_free_pcluster() argument
273 unsigned int pclusterpages = z_erofs_pclusterpages(pcl); in z_erofs_free_pcluster()
282 kmem_cache_free(pcs->slab, pcl); in z_erofs_free_pcluster()
503 struct z_erofs_pcluster *pcl, *head; member
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c17 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 Dsvc_rdma_rw.c905 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_multiple_chunks() local
911 chunk = pcl_first_chunk(pcl); in svc_rdma_read_multiple_chunks()
917 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_multiple_chunks()
922 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_multiple_chunks()
1027 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_call_chunk() local
1032 if (pcl_is_empty(pcl)) in svc_rdma_read_call_chunk()
1036 chunk = pcl_first_chunk(pcl); in svc_rdma_read_call_chunk()
1043 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_call_chunk()
1048 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_call_chunk()
/linux/include/linux/sunrpc/
H A Dsvc_rdma_pcl.h38 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/drivers/firewire/
H A Dnosy.c42 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 Djump_label.c49 u32 pcl = pc & GENMASK(31, 2); in arc_gen_branch() local
50 u32 u_offset = target - pcl; in arc_gen_branch()
/linux/arch/s390/kvm/
H A Ddat.h127 unsigned long pcl : 1; member
854 if (old_pgste.pcl) in pgste_get_trylock()
856 old_pgste.pcl = 1; in pgste_get_trylock()
872 pgste.pcl = 0; in pgste_set_unlock()
H A Ddat.c295 pgste_init.pcl = uses_skeys && init.h.i; in dat_split_ste()
302 if (!pgste_init.pcl) in dat_split_ste()
936 if (!pgstes[i].pcl) in pgste_set_unlock_multiple()
/linux/drivers/video/fbdev/
H A Datafb.c1093 unsigned long pcl = ULONG_MAX; in falcon_decode_var() local
1097 f25.t * i < pcl) { in falcon_decode_var()
1098 pcl = f25.t * i; in falcon_decode_var()
1102 f32.t * i < pcl) { in falcon_decode_var()
1103 pcl = f32.t * i; in falcon_decode_var()
1107 fext.t * i < pcl) { in falcon_decode_var()
1108 pcl = fext.t * i; in falcon_decode_var()
1114 plen = pcl / pclock->t; in falcon_decode_var()