/kernel/linux/linux-5.10/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() 177 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()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | dir.c | 71 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() 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, §or); in exfat_readdir() 162 ep = exfat_get_dentry(sb, &clu, i + 1, &bh, NULL); in exfat_readdir() [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) 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) in exfat_clear_bitmap() argument 169 WARN_ON(clu < EXFAT_FIRST_CLUSTER); in exfat_clear_bitmap() [all …]
|
D | fatent.c | 157 unsigned int clu; in exfat_free_cluster() local 177 clu = p_chain->dir; in exfat_free_cluster() 181 exfat_clear_bitmap(inode, clu); in exfat_free_cluster() 182 clu++; in exfat_free_cluster() 188 exfat_clear_bitmap(inode, clu); in exfat_free_cluster() 190 if (exfat_get_next_cluster(sb, &clu)) in exfat_free_cluster() 194 } while (clu != EXFAT_EOF_CLUSTER); in exfat_free_cluster() 205 unsigned int clu, next; in exfat_find_last_cluster() local 216 clu = next; in exfat_find_last_cluster() 217 if (exfat_ent_get(sb, clu, &next)) in exfat_find_last_cluster() [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 | 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 | file.c | 99 struct exfat_chain clu; in __exfat_truncate() local 115 exfat_chain_set(&clu, ei->start_clu, num_clusters_phys, ei->flags); in __exfat_truncate() 129 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in __exfat_truncate() 130 clu.dir += num_clusters; in __exfat_truncate() 131 clu.size -= num_clusters; in __exfat_truncate() 134 last_clu = clu.dir; in __exfat_truncate() 135 if (exfat_get_next_cluster(sb, &(clu.dir))) in __exfat_truncate() 139 clu.size--; in __exfat_truncate() 210 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate() 214 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 401 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu); 410 int exfat_set_bitmap(struct inode *inode, unsigned int clu); 411 void exfat_clear_bitmap(struct inode *inode, unsigned int clu); 412 unsigned int exfat_find_free_bitmap(struct super_block *sb, unsigned int clu); 454 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()
|