Lines Matching refs:AFFS_INODE
71 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()
258 if (inode->i_size != AFFS_INODE->mmu_private) in affs_put_inode()
291 affs_brelse(AFFS_INODE->i_ext_bh); in affs_clear_inode()
292 AFFS_INODE->i_ext_last = ~1; in affs_clear_inode()
293 AFFS_INODE->i_ext_bh = NULL; in affs_clear_inode()
321 memset(AFFS_INODE, 0, sizeof(*AFFS_INODE)); in affs_new_inode()
322 AFFS_INODE->i_extcnt = 1; in affs_new_inode()
323 AFFS_INODE->i_ext_last = ~1; in affs_new_inode()
324 init_MUTEX(&AFFS_INODE->i_link_lock); in affs_new_inode()
325 init_MUTEX(&AFFS_INODE->i_ext_lock); in affs_new_inode()