Home
last modified time | relevance | path

Searched refs:clu (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_clu.c28 static inline void vsp1_clu_write(struct vsp1_clu *clu, in vsp1_clu_write() argument
43 static int clu_set_table(struct vsp1_clu *clu, struct v4l2_ctrl *ctrl) in clu_set_table() argument
48 dlb = vsp1_dl_body_get(clu->pool); in clu_set_table()
56 spin_lock_irq(&clu->lock); in clu_set_table()
57 swap(clu->clu, dlb); in clu_set_table()
58 spin_unlock_irq(&clu->lock); in clu_set_table()
66 struct vsp1_clu *clu = in clu_s_ctrl() local
71 clu_set_table(clu, ctrl); in clu_s_ctrl()
75 clu->mode = ctrl->val; in clu_s_ctrl()
178 struct vsp1_clu *clu = to_clu(&entity->subdev); in clu_configure_stream() local
[all …]
Dvsp1_clu.h34 struct vsp1_dl_body *clu; member
Dvsp1.h89 struct vsp1_clu *clu; member
Dvsp1_drv.c296 vsp1->clu = vsp1_clu_create(vsp1); in vsp1_create_entities()
297 if (IS_ERR(vsp1->clu)) { in vsp1_create_entities()
298 ret = PTR_ERR(vsp1->clu); in vsp1_create_entities()
302 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
/linux-6.6.21/fs/exfat/
Ddir.c72 struct exfat_chain dir, clu; in exfat_readdir() local
96 exfat_chain_dup(&clu, &dir); in exfat_readdir()
98 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_readdir()
99 clu.dir += clu_offset; in exfat_readdir()
100 clu.size -= clu_offset; in exfat_readdir()
106 clu.dir = ei->hint_bmap.clu; in exfat_readdir()
109 while (clu_offset > 0 && clu.dir != EXFAT_EOF_CLUSTER) { in exfat_readdir()
110 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_readdir()
117 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir()
121 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_readdir()
[all …]
Dfatent.c154 unsigned int clu; in __exfat_free_cluster() local
172 clu = p_chain->dir; in __exfat_free_cluster()
175 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in __exfat_free_cluster()
182 if (clu < last_cluster) in __exfat_free_cluster()
184 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster()
187 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
192 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
193 clu++; in __exfat_free_cluster()
199 unsigned int n_clu = clu; in __exfat_free_cluster()
213 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
[all …]
Dballoc.c99 struct exfat_chain clu; in exfat_load_bitmap() local
102 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
103 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
108 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_load_bitmap()
127 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_load_bitmap()
144 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_set_bitmap() argument
151 if (!is_valid_cluster(sbi, clu)) in exfat_set_bitmap()
154 ent_idx = CLUSTER_TO_BITMAP_ENT(clu); in exfat_set_bitmap()
163 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument
171 if (!is_valid_cluster(sbi, clu)) in exfat_clear_bitmap()
[all …]
Dnamei.c218 struct exfat_chain clu; in exfat_search_empty_slot() local
239 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
241 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
245 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
249 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_search_empty_slot()
261 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
277 p_dir->dir, clu.dir); in exfat_search_empty_slot()
292 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
293 if (--clu.size > 0) in exfat_search_empty_slot()
294 clu.dir++; in exfat_search_empty_slot()
[all …]
Dinode.c112 unsigned int *clu, int create) in exfat_map_cluster() argument
131 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
135 *clu = last_clu = ei->start_clu; in exfat_map_cluster()
138 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
142 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
144 *clu += clu_offset; in exfat_map_cluster()
149 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
160 WARN_ON(ei->hint_bmap.clu < 2); in exfat_map_cluster()
161 *clu = ei->hint_bmap.clu; in exfat_map_cluster()
164 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
[all …]
Dfile.c100 struct exfat_chain clu; in __exfat_truncate() local
114 exfat_chain_set(&clu, ei->start_clu, num_clusters_phys, ei->flags); in __exfat_truncate()
128 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in __exfat_truncate()
129 clu.dir += num_clusters; in __exfat_truncate()
130 clu.size -= num_clusters; in __exfat_truncate()
133 last_clu = clu.dir; in __exfat_truncate()
134 if (exfat_get_next_cluster(sb, &(clu.dir))) in __exfat_truncate()
138 clu.size--; in __exfat_truncate()
176 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
180 ei->hint_stat.clu = ei->start_clu; in __exfat_truncate()
[all …]
Dexfat_fs.h111 #define EXFAT_CLU_TO_DEN(clu, sbi) \ argument
112 ((clu) << ((sbi)->cluster_size_bits - DENTRY_SIZE_BITS))
129 #define CLUSTER_TO_BITMAP_ENT(clu) ((clu) - EXFAT_RESERVED_CLUSTERS) argument
139 #define IGNORED_BITS_REMAINED(clu, clu_base) ((1 << ((clu) - (clu_base))) - 1) argument
184 unsigned int clu; member
434 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu);
443 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync);
444 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync);
445 unsigned int exfat_find_free_bitmap(struct super_block *sb, unsigned int clu);
493 int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu);
Dnls.c754 struct exfat_chain clu; in exfat_create_upcase_table() local
759 clu.dir = sbi->root_dir; in exfat_create_upcase_table()
760 clu.flags = ALLOC_FAT_CHAIN; in exfat_create_upcase_table()
762 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
764 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_create_upcase_table()
795 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_create_upcase_table()
Dsuper.c346 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root()