Home
last modified time | relevance | path

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

/linux-6.1.9/fs/erofs/
Dzdata.c147 struct z_erofs_pcluster *pcl; in z_erofs_alloc_pcluster() local
152 pcl = kmem_cache_zalloc(pcs->slab, GFP_NOFS); in z_erofs_alloc_pcluster()
153 if (!pcl) in z_erofs_alloc_pcluster()
155 pcl->pclusterpages = nrpages; in z_erofs_alloc_pcluster()
156 return pcl; in z_erofs_alloc_pcluster()
161 static void z_erofs_free_pcluster(struct z_erofs_pcluster *pcl) in z_erofs_free_pcluster() argument
163 unsigned int pclusterpages = z_erofs_pclusterpages(pcl); in z_erofs_free_pcluster()
172 kmem_cache_free(pcs->slab, pcl); in z_erofs_free_pcluster()
278 struct z_erofs_pcluster *pcl, *tailpcl; member
300 struct z_erofs_pcluster *pcl = fe->pcl; in z_erofs_bind_cache() local
[all …]
Dzdata.h116 static inline bool z_erofs_is_inline_pcluster(struct z_erofs_pcluster *pcl) in z_erofs_is_inline_pcluster() argument
118 return !pcl->obj.index; in z_erofs_is_inline_pcluster()
121 static inline unsigned int z_erofs_pclusterpages(struct z_erofs_pcluster *pcl) in z_erofs_pclusterpages() argument
123 if (z_erofs_is_inline_pcluster(pcl)) in z_erofs_pclusterpages()
125 return pcl->pclusterpages; in z_erofs_pclusterpages()
/linux-6.1.9/include/linux/sunrpc/
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-6.1.9/net/sunrpc/xprtrdma/
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 …]
Dsvc_rdma_rw.c853 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_multiple_chunks() local
860 chunk = pcl_first_chunk(pcl); in svc_rdma_read_multiple_chunks()
866 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_multiple_chunks()
871 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_multiple_chunks()
1017 const struct svc_rdma_pcl *pcl = &head->rc_read_pcl; in svc_rdma_read_call_chunk() local
1022 if (pcl_is_empty(pcl)) in svc_rdma_read_call_chunk()
1026 chunk = pcl_first_chunk(pcl); in svc_rdma_read_call_chunk()
1032 pcl_for_each_chunk(chunk, pcl) { in svc_rdma_read_call_chunk()
1037 next = pcl_next_chunk(pcl, chunk); in svc_rdma_read_call_chunk()
/linux-6.1.9/drivers/firewire/
Dnosy.c40 struct pcl { struct
71 struct pcl *rcv_start_pcl, *rcv_pcl; argument
514 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in remove_card()
516 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in remove_card()
568 sizeof(struct pcl), in add_card()
572 sizeof(struct pcl), in add_card()
674 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in add_card()
678 dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl), in add_card()
/linux-6.1.9/arch/arc/kernel/
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-6.1.9/arch/x86/crypto/
DMakefile75 crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o
81 crct10dif-pclmul-y := crct10dif-pcl-asm_64.o crct10dif-pclmul_glue.o
/linux-6.1.9/drivers/video/fbdev/
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()