| /Linux-v5.15/drivers/media/platform/vsp1/ |
| D | vsp1_clu.c | 28 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 …]
|
| D | vsp1_clu.h | 34 struct vsp1_dl_body *clu; member
|
| D | vsp1.h | 85 struct vsp1_clu *clu; member
|
| D | vsp1_drv.c | 289 vsp1->clu = vsp1_clu_create(vsp1); in vsp1_create_entities() 290 if (IS_ERR(vsp1->clu)) { in vsp1_create_entities() 291 ret = PTR_ERR(vsp1->clu); in vsp1_create_entities() 295 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
|
| /Linux-v5.15/fs/exfat/ |
| D | dir.c | 68 struct exfat_chain dir, clu; in exfat_readdir() local 93 exfat_chain_dup(&clu, &dir); in exfat_readdir() 95 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_readdir() 96 clu.dir += clu_offset; in exfat_readdir() 97 clu.size -= clu_offset; in exfat_readdir() 103 clu.dir = ei->hint_bmap.clu; in exfat_readdir() 107 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_readdir() 114 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir() 118 ep = exfat_get_dentry(sb, &clu, i, &bh, §or); in exfat_readdir() 152 exfat_get_uniname_from_ext_entry(sb, &clu, i, in exfat_readdir() [all …]
|
| D | fatent.c | 161 unsigned int clu; in __exfat_free_cluster() local 179 clu = p_chain->dir; in __exfat_free_cluster() 182 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in __exfat_free_cluster() 189 if (clu < last_cluster) in __exfat_free_cluster() 191 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster() 194 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster() 199 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster() 200 clu++; in __exfat_free_cluster() 206 unsigned int n_clu = clu; in __exfat_free_cluster() 220 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster() [all …]
|
| D | balloc.c | 99 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, NULL); 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 WARN_ON(clu < EXFAT_FIRST_CLUSTER); in exfat_set_bitmap() 152 ent_idx = CLUSTER_TO_BITMAP_ENT(clu); in exfat_set_bitmap() 161 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument 169 WARN_ON(clu < EXFAT_FIRST_CLUSTER); in exfat_clear_bitmap() [all …]
|
| D | namei.c | 208 struct exfat_chain clu; in exfat_search_empty_slot() local 222 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot() 224 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot() 228 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot() 232 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_search_empty_slot() 244 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot() 260 p_dir->dir, clu.dir); in exfat_search_empty_slot() 275 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot() 276 if (--clu.size > 0) in exfat_search_empty_slot() 277 clu.dir++; in exfat_search_empty_slot() [all …]
|
| D | inode.c | 106 unsigned int *clu, int create) in exfat_map_cluster() argument 126 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster() 130 *clu = last_clu = ei->start_clu; in exfat_map_cluster() 133 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster() 137 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster() 139 *clu += clu_offset; in exfat_map_cluster() 144 &fclus, clu, &last_clu, 1); in exfat_map_cluster() 155 WARN_ON(ei->hint_bmap.clu < 2); in exfat_map_cluster() 156 *clu = ei->hint_bmap.clu; in exfat_map_cluster() 159 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster() [all …]
|
| D | file.c | 100 struct exfat_chain clu; in __exfat_truncate() local 116 exfat_chain_set(&clu, ei->start_clu, num_clusters_phys, ei->flags); in __exfat_truncate() 130 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in __exfat_truncate() 131 clu.dir += num_clusters; in __exfat_truncate() 132 clu.size -= num_clusters; in __exfat_truncate() 135 last_clu = clu.dir; in __exfat_truncate() 136 if (exfat_get_next_cluster(sb, &(clu.dir))) in __exfat_truncate() 140 clu.size--; in __exfat_truncate() 211 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate() 215 ei->hint_stat.clu = ei->start_clu; in __exfat_truncate() [all …]
|
| D | exfat_fs.h | 117 #define CLUSTER_TO_BITMAP_ENT(clu) ((clu) - EXFAT_RESERVED_CLUSTERS) argument 127 #define IGNORED_BITS_REMAINED(clu, clu_base) ((1 << ((clu) - (clu_base))) - 1) argument 161 unsigned int clu; member 402 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu); 411 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync); 412 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync); 413 unsigned int exfat_find_free_bitmap(struct super_block *sb, unsigned int clu); 461 int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu);
|
| D | nls.c | 754 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, NULL); in exfat_create_upcase_table() 795 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_create_upcase_table()
|
| D | super.c | 346 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root()
|