Home
last modified time | relevance | path

Searched refs:AFFS_INODE (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/fs/affs/
Dfile.c67 pr_debug("AFFS: open(%d)\n", AFFS_INODE->i_opencnt); in affs_file_open()
68 AFFS_INODE->i_opencnt++; in affs_file_open()
77 pr_debug("AFFS: release(%d)\n", AFFS_INODE->i_opencnt); in affs_file_release()
78 AFFS_INODE->i_opencnt--; in affs_file_release()
79 if (!AFFS_INODE->i_opencnt) in affs_file_release()
93 if (!AFFS_INODE->i_lc) { in affs_grow_extcache()
97 AFFS_INODE->i_lc = (u32 *)ptr; in affs_grow_extcache()
98 AFFS_INODE->i_ac = (struct affs_ext_key *)(ptr + AFFS_CACHE_SIZE / 2); in affs_grow_extcache()
101 lc_max = AFFS_LC_SIZE << AFFS_INODE->i_lc_shift; in affs_grow_extcache()
103 if (AFFS_INODE->i_extcnt > lc_max) { in affs_grow_extcache()
[all …]
Dinode.c71 memset(AFFS_INODE, 0, sizeof(*AFFS_INODE)); in affs_read_inode()
72 init_MUTEX(&AFFS_INODE->i_link_lock); in affs_read_inode()
73 init_MUTEX(&AFFS_INODE->i_ext_lock); in affs_read_inode()
74 AFFS_INODE->i_extcnt = 1; in affs_read_inode()
75 AFFS_INODE->i_ext_last = ~1; in affs_read_inode()
76 AFFS_INODE->i_protect = prot; in affs_read_inode()
139 AFFS_INODE->mmu_private = inode->i_size = size; in affs_read_inode()
141 AFFS_INODE->i_blkcnt = (size - 1) / in affs_read_inode()
143 AFFS_INODE->i_extcnt = (AFFS_INODE->i_blkcnt - 1) / in affs_read_inode()
199 tail->protect = cpu_to_be32(AFFS_INODE->i_protect); in affs_write_inode()
[all …]
Damigaffs.c422 u32 prot = AFFS_INODE->i_protect; in mode_to_prot()
444 AFFS_INODE->i_protect = prot; in mode_to_prot()
/linux-2.4.37.9/include/linux/
Damigaffs.h97 down(&AFFS_INODE->i_link_lock); in affs_lock_link()
102 up(&AFFS_INODE->i_link_lock); in affs_unlock_link()
107 down(&AFFS_INODE->i_hash_lock); in affs_lock_dir()
112 up(&AFFS_INODE->i_hash_lock); in affs_unlock_dir()
117 down(&AFFS_INODE->i_ext_lock); in affs_lock_ext()
122 up(&AFFS_INODE->i_ext_lock); in affs_unlock_ext()
Daffs_fs_i.h54 #define AFFS_INODE (&inode->u.affs_i) macro