Searched refs:HFS_I (Results 1 – 9 of 9) sorted by relevance
/fs/hfs/ |
D | extent.c | 114 hfs_ext_build_key(fd->search_key, inode->i_ino, HFS_I(inode)->cached_start, in __hfs_ext_write_extent() 117 if (HFS_I(inode)->flags & HFS_FLG_EXT_NEW) { in __hfs_ext_write_extent() 120 hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); in __hfs_ext_write_extent() 121 HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); in __hfs_ext_write_extent() 125 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent() 126 HFS_I(inode)->flags &= ~HFS_FLG_EXT_DIRTY; in __hfs_ext_write_extent() 136 if (HFS_I(inode)->flags & HFS_FLG_EXT_DIRTY) { in hfs_ext_write_extent() 169 if (HFS_I(inode)->flags & HFS_FLG_EXT_DIRTY) { in __hfs_ext_cache_extent() 175 res = __hfs_ext_read_extent(fd, HFS_I(inode)->cached_extents, inode->i_ino, in __hfs_ext_cache_extent() 178 HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); in __hfs_ext_cache_extent() [all …]
|
D | inode.c | 58 &HFS_I(mapping->host)->phys_size); in hfs_write_begin() 188 mutex_init(&HFS_I(inode)->extents_lock); in hfs_new_inode() 189 INIT_LIST_HEAD(&HFS_I(inode)->open_dir_list); in hfs_new_inode() 190 hfs_cat_build_key(sb, (btree_key *)&HFS_I(inode)->cat_key, dir->i_ino, name); in hfs_new_inode() 197 HFS_I(inode)->flags = 0; in hfs_new_inode() 198 HFS_I(inode)->rsrc_inode = NULL; in hfs_new_inode() 199 HFS_I(inode)->fs_blocks = 0; in hfs_new_inode() 210 HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks; in hfs_new_inode() 221 HFS_I(inode)->phys_size = 0; in hfs_new_inode() 222 HFS_I(inode)->alloc_blocks = 0; in hfs_new_inode() [all …]
|
D | btree.c | 43 HFS_I(tree->inode)->flags = 0; in hfs_btree_open() 44 mutex_init(&HFS_I(tree->inode)->extents_lock); in hfs_btree_open() 49 if (HFS_I(tree->inode)->alloc_blocks > in hfs_btree_open() 50 HFS_I(tree->inode)->first_blocks) { in hfs_btree_open() 62 if (!HFS_I(tree->inode)->first_blocks) { in hfs_btree_open() 241 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_alloc() 242 (loff_t)HFS_I(inode)->alloc_blocks * in hfs_bmap_alloc() 244 HFS_I(inode)->fs_blocks = inode->i_size >> in hfs_bmap_alloc()
|
D | sysdep.c | 29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry() 34 HFS_I(inode)->tz_secondswest += diff; in hfs_revalidate_dentry()
|
D | attr.c | 31 fd.search_key->cat = HFS_I(inode)->cat_key; in hfs_setxattr() 75 fd.search_key->cat = HFS_I(inode)->cat_key; in hfs_getxattr()
|
D | hfs_fs.h | 92 #define HFS_IS_RSRC(inode) (HFS_I(inode)->flags & HFS_FLG_RSRC) 255 #define HFS_I(inode) (list_entry(inode, struct hfs_inode_info, vfs_inode)) macro
|
D | dir.c | 164 list_add(&rd->list, &HFS_I(inode)->open_dir_list); in hfs_readdir() 299 (btree_key *)&HFS_I(old_dentry->d_inode)->cat_key, in hfs_rename()
|
D | catalog.c | 241 list_for_each(pos, &HFS_I(dir)->open_dir_list) { in hfs_cat_delete()
|
D | super.c | 172 kmem_cache_free(hfs_inode_cachep, HFS_I(inode)); in hfs_i_callback()
|