Home
last modified time | relevance | path

Searched refs:HFS_I (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/fs/hfs/
A Dextent.c183 HFS_I(inode)->cached_blocks = hfs_ext_block_count(HFS_I(inode)->cached_extents); in __hfs_ext_cache_extent()
185 HFS_I(inode)->cached_start = HFS_I(inode)->cached_blocks = 0; in __hfs_ext_cache_extent()
197 block < HFS_I(inode)->cached_start + HFS_I(inode)->cached_blocks) in hfs_ext_read_extent()
384 HFS_I(inode)->fs_blocks++; in hfs_get_block()
398 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) in hfs_extend_file()
407 len = HFS_I(inode)->clump_blocks; in hfs_extend_file()
415 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) { in hfs_extend_file()
416 if (!HFS_I(inode)->first_blocks) { in hfs_extend_file()
469 HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; in hfs_extend_file()
470 HFS_I(inode)->cached_blocks = len; in hfs_extend_file()
[all …]
A Dinode.c204 HFS_I(inode)->flags = 0; in hfs_new_inode()
205 HFS_I(inode)->rsrc_inode = NULL; in hfs_new_inode()
206 HFS_I(inode)->fs_blocks = 0; in hfs_new_inode()
228 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
229 HFS_I(inode)->alloc_blocks = 0; in hfs_new_inode()
230 HFS_I(inode)->first_blocks = 0; in hfs_new_inode()
231 HFS_I(inode)->cached_start = 0; in hfs_new_inode()
324 HFS_I(inode)->flags = 0; in hfs_read_inode()
367 HFS_I(inode)->fs_blocks = 0; in hfs_read_inode()
527 inode = HFS_I(dir)->rsrc_inode; in hfs_file_lookup()
[all …]
A Dbtree.c44 HFS_I(tree->inode)->flags = 0; in hfs_btree_open()
45 mutex_init(&HFS_I(tree->inode)->extents_lock); in hfs_btree_open()
50 if (HFS_I(tree->inode)->alloc_blocks > in hfs_btree_open()
51 HFS_I(tree->inode)->first_blocks) { in hfs_btree_open()
63 if (!HFS_I(tree->inode)->first_blocks) { in hfs_btree_open()
237 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_reserve()
238 (loff_t)HFS_I(inode)->alloc_blocks * in hfs_bmap_reserve()
240 HFS_I(inode)->fs_blocks = inode->i_size >> in hfs_bmap_reserve()
A Ddir.c158 spin_lock(&HFS_I(inode)->open_dir_lock); in hfs_readdir()
159 list_add(&rd->list, &HFS_I(inode)->open_dir_list); in hfs_readdir()
160 spin_unlock(&HFS_I(inode)->open_dir_lock); in hfs_readdir()
176 spin_lock(&HFS_I(inode)->open_dir_lock); in hfs_dir_release()
178 spin_unlock(&HFS_I(inode)->open_dir_lock); in hfs_dir_release()
304 (btree_key *)&HFS_I(d_inode(old_dentry))->cat_key, in hfs_rename()
A Dsysdep.c29 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()
A Dattr.c36 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_setxattr()
83 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_getxattr()
A Dhfs_fs.h93 #define HFS_IS_RSRC(inode) (HFS_I(inode)->flags & HFS_FLG_RSRC)
271 #define HFS_I(inode) (container_of(inode, struct hfs_inode_info, vfs_inode)) macro
A Dcatalog.c252 spin_lock(&HFS_I(dir)->open_dir_lock); in hfs_cat_delete()
253 list_for_each_entry(rd, &HFS_I(dir)->open_dir_list, list) { in hfs_cat_delete()
257 spin_unlock(&HFS_I(dir)->open_dir_lock); in hfs_cat_delete()
A Dsuper.c171 kmem_cache_free(hfs_inode_cachep, HFS_I(inode)); in hfs_free_inode()

Completed in 13 milliseconds