Home
last modified time | relevance | path

Searched refs:AFFS_I (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/fs/affs/
A Dfile.c56 if (!AFFS_I(inode)->i_lc) { in affs_grow_extcache()
78 AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); in affs_grow_extcache()
83 AFFS_I(inode)->i_ac[i] = AFFS_I(inode)->i_ac[j]; in affs_grow_extcache()
90 i = AFFS_I(inode)->i_lc_size; in affs_grow_extcache()
108 AFFS_I(inode)->i_lc[i] = key; in affs_grow_extcache()
150 AFFS_I(inode)->i_extcnt++; in affs_alloc_extblock()
181 bh = AFFS_I(inode)->i_ext_bh; in affs_get_extblock_slow()
285 AFFS_I(inode)->i_ext_bh = bh; in affs_get_extblock_slow()
329 AFFS_I(inode)->i_blkcnt++; in affs_get_block()
853 AFFS_I(inode)->i_pa_cnt--; in affs_free_prealloc()
[all …]
A Dinode.c56 AFFS_I(inode)->i_extcnt = 1; in affs_iget()
60 AFFS_I(inode)->i_blkcnt = 0; in affs_iget()
61 AFFS_I(inode)->i_lc = NULL; in affs_iget()
62 AFFS_I(inode)->i_lc_size = 0; in affs_iget()
63 AFFS_I(inode)->i_lc_shift = 0; in affs_iget()
64 AFFS_I(inode)->i_lc_mask = 0; in affs_iget()
65 AFFS_I(inode)->i_ac = NULL; in affs_iget()
69 AFFS_I(inode)->i_pa_cnt = 0; in affs_iget()
133 AFFS_I(inode)->i_extcnt = (AFFS_I(inode)->i_blkcnt - 1) / in affs_iget()
320 AFFS_I(inode)->i_lc = NULL; in affs_new_inode()
[all …]
A Dbitmap.c130 if (AFFS_I(inode)->i_pa_cnt) { in affs_alloc_block()
131 pr_debug("%d\n", AFFS_I(inode)->i_lastalloc+1); in affs_alloc_block()
132 AFFS_I(inode)->i_pa_cnt--; in affs_alloc_block()
133 return ++AFFS_I(inode)->i_lastalloc; in affs_alloc_block()
209 AFFS_I(inode)->i_lastalloc = blk; in affs_alloc_block()
215 AFFS_I(inode)->i_pa_cnt++; in affs_alloc_block()
218 bm->bm_free -= AFFS_I(inode)->i_pa_cnt + 1; in affs_alloc_block()
A Daffs.h66 static inline struct affs_inode_info *AFFS_I(struct inode *inode) in AFFS_I() function
302 mutex_lock(&AFFS_I(inode)->i_link_lock); in affs_lock_link()
307 mutex_unlock(&AFFS_I(inode)->i_link_lock); in affs_unlock_link()
312 mutex_lock_nested(&AFFS_I(inode)->i_hash_lock, SINGLE_DEPTH_NESTING); in affs_lock_dir()
317 mutex_unlock(&AFFS_I(inode)->i_hash_lock); in affs_unlock_dir()
322 mutex_lock(&AFFS_I(inode)->i_ext_lock); in affs_lock_ext()
327 mutex_unlock(&AFFS_I(inode)->i_ext_lock); in affs_unlock_ext()
A Damigaffs.c420 u32 prot = AFFS_I(inode)->i_protect; in affs_mode_to_prot()
469 AFFS_I(inode)->i_protect = prot; in affs_mode_to_prot()
A Dsuper.c117 kmem_cache_free(affs_inode_cachep, AFFS_I(inode)); in affs_free_inode()

Completed in 13 milliseconds