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; global() member
536 struct z_erofs_pcluster *pcl = fe->pcl; z_erofs_bind_cache() local
593 erofs_try_to_free_all_cached_folios(struct erofs_sb_info * sbi,struct z_erofs_pcluster * pcl) erofs_try_to_free_all_cached_folios() argument
619 struct z_erofs_pcluster *pcl = folio_get_private(folio); z_erofs_cache_release_folio() local
692 struct z_erofs_pcluster *pcl = fe->pcl; z_erofs_attach_page() local
722 z_erofs_get_pcluster(struct z_erofs_pcluster * pcl) z_erofs_get_pcluster() argument
744 struct z_erofs_pcluster *pcl, *pre; z_erofs_register_pcluster() local
807 struct z_erofs_pcluster *pcl = NULL; z_erofs_pcluster_begin() local
883 __erofs_try_to_release_pcluster(struct erofs_sb_info * sbi,struct z_erofs_pcluster * pcl) __erofs_try_to_release_pcluster() argument
907 erofs_try_to_release_pcluster(struct erofs_sb_info * sbi,struct z_erofs_pcluster * pcl) erofs_try_to_release_pcluster() argument
923 struct z_erofs_pcluster *pcl; z_erofs_shrink_scan() local
943 z_erofs_put_pcluster(struct erofs_sb_info * sbi,struct z_erofs_pcluster * pcl,bool try_free) z_erofs_put_pcluster() argument
965 struct z_erofs_pcluster *pcl = fe->pcl; z_erofs_pcluster_end() local
1107 struct z_erofs_pcluster *pcl; global() member
1193 struct z_erofs_pcluster *pcl = be->pcl; z_erofs_parse_out_bvecs() local
1218 struct z_erofs_pcluster *pcl = be->pcl; z_erofs_parse_in_bvecs() local
1254 struct z_erofs_pcluster *pcl = be->pcl; z_erofs_decompress_pcluster() local
1486 z_erofs_fill_bio_vec(struct bio_vec * bvec,struct z_erofs_frontend * f,struct z_erofs_pcluster * pcl,unsigned int nr,struct address_space * mc) z_erofs_fill_bio_vec() argument
1626 z_erofs_move_to_bypass_queue(struct z_erofs_pcluster * pcl,struct z_erofs_pcluster * next,struct z_erofs_pcluster ** qtail[]) z_erofs_move_to_bypass_queue() argument
1669 struct z_erofs_pcluster *pcl, *next; z_erofs_submit_queue() local
[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.c918 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_multiple_chunks()
924 chunk = pcl_first_chunk(pcl); in svc_rdma_read_multiple_chunks()
930 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_multiple_chunks()
935 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_multiple_chunks()
1040 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_call_chunk()
1045 if (pcl_is_empty(pcl)) in svc_rdma_read_call_chunk()
1049 chunk = pcl_first_chunk(pcl); in svc_rdma_read_call_chunk()
1056 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_call_chunk()
1061 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_call_chunk()
905 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; svc_rdma_read_multiple_chunks() local
1027 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; svc_rdma_read_call_chunk() local
/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.h132 unsigned long pcl : 1; member
859 if (old_pgste.pcl) in pgste_get_trylock()
861 old_pgste.pcl = 1; in pgste_get_trylock()
877 pgste.pcl = 0; in pgste_set_unlock()
H A Ddat.c271 pgste_init.pcl = uses_skeys && init.h.i; in dat_split_ste()
278 if (!pgste_init.pcl) in dat_split_ste()
913 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()