Home
last modified time | relevance | path

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

/linux-3.4.99/fs/affs/
Dinode.c59 AFFS_I(inode)->i_extcnt = 1; in affs_iget()
60 AFFS_I(inode)->i_ext_last = ~1; in affs_iget()
61 AFFS_I(inode)->i_protect = prot; in affs_iget()
62 atomic_set(&AFFS_I(inode)->i_opencnt, 0); in affs_iget()
63 AFFS_I(inode)->i_blkcnt = 0; in affs_iget()
64 AFFS_I(inode)->i_lc = NULL; in affs_iget()
65 AFFS_I(inode)->i_lc_size = 0; in affs_iget()
66 AFFS_I(inode)->i_lc_shift = 0; in affs_iget()
67 AFFS_I(inode)->i_lc_mask = 0; in affs_iget()
68 AFFS_I(inode)->i_ac = NULL; in affs_iget()
[all …]
Dfile.c50 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_open()
51 atomic_inc(&AFFS_I(inode)->i_opencnt); in affs_file_open()
59 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_release()
61 if (atomic_dec_and_test(&AFFS_I(inode)->i_opencnt)) { in affs_file_release()
63 if (inode->i_size != AFFS_I(inode)->mmu_private) in affs_file_release()
80 if (!AFFS_I(inode)->i_lc) { in affs_grow_extcache()
84 AFFS_I(inode)->i_lc = (u32 *)ptr; in affs_grow_extcache()
85 AFFS_I(inode)->i_ac = (struct affs_ext_key *)(ptr + AFFS_CACHE_SIZE / 2); in affs_grow_extcache()
88 lc_max = AFFS_LC_SIZE << AFFS_I(inode)->i_lc_shift; in affs_grow_extcache()
90 if (AFFS_I(inode)->i_extcnt > lc_max) { in affs_grow_extcache()
[all …]
Daffs.h73 static inline struct affs_inode_info *AFFS_I(struct inode *inode) in AFFS_I() function
279 down(&AFFS_I(inode)->i_link_lock); in affs_lock_link()
284 up(&AFFS_I(inode)->i_link_lock); in affs_unlock_link()
289 down(&AFFS_I(inode)->i_hash_lock); in affs_lock_dir()
294 up(&AFFS_I(inode)->i_hash_lock); in affs_unlock_dir()
299 down(&AFFS_I(inode)->i_ext_lock); in affs_lock_ext()
304 up(&AFFS_I(inode)->i_ext_lock); in affs_unlock_ext()
Dbitmap.c154 if (AFFS_I(inode)->i_pa_cnt) { in affs_alloc_block()
155 pr_debug("%d\n", AFFS_I(inode)->i_lastalloc+1); in affs_alloc_block()
156 AFFS_I(inode)->i_pa_cnt--; in affs_alloc_block()
157 return ++AFFS_I(inode)->i_lastalloc; in affs_alloc_block()
233 AFFS_I(inode)->i_lastalloc = blk; in affs_alloc_block()
239 AFFS_I(inode)->i_pa_cnt++; in affs_alloc_block()
242 bm->bm_free -= AFFS_I(inode)->i_pa_cnt + 1; in affs_alloc_block()
Damigaffs.c423 u32 prot = AFFS_I(inode)->i_protect; in mode_to_prot()
445 AFFS_I(inode)->i_protect = prot; in mode_to_prot()
Dsuper.c101 kmem_cache_free(affs_inode_cachep, AFFS_I(inode)); in affs_i_callback()