Home
last modified time | relevance | path

Searched refs:HFSPLUS_I (Results 1 – 8 of 8) sorted by relevance

/linux/fs/hfsplus/
H A Dsuper.c77 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
78 HFSPLUS_I(inode)->first_blocks = 0; in hfsplus_iget()
79 HFSPLUS_I(inode)->clump_blocks = 0; in hfsplus_iget()
80 HFSPLUS_I(inode)->alloc_blocks = 0; in hfsplus_iget()
81 HFSPLUS_I(inode)->cached_start = U32_MAX; in hfsplus_iget()
82 HFSPLUS_I(inode)->cached_blocks = 0; in hfsplus_iget()
83 memset(HFSPLUS_I(inode)->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_iget()
84 memset(HFSPLUS_I(inode)->cached_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_iget()
85 HFSPLUS_I(inode)->extent_state = 0; in hfsplus_iget()
86 mutex_init(&HFSPLUS_I(inode)->extents_lock); in hfsplus_iget()
[all …]
H A Dinode.c50 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
222 HFSPLUS_I(inode)->userflags = perms->userflags; in hfsplus_get_perms()
240 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_open()
243 atomic_inc(&HFSPLUS_I(inode)->opencnt); in hfsplus_file_open()
252 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_release()
253 if (atomic_dec_and_test(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_file_release()
301 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_getattr()
326 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_fsync()
440 hip = HFSPLUS_I(inode); in hfsplus_new_inode()
515 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_inode_read_fork()
[all …]
H A Dcatalog.c92 perms->userflags = HFSPLUS_I(inode)->userflags; in hfsplus_cat_set_perms()
119 HFSPLUS_I(inode)->create_date = in hfsplus_cat_build_record()
137 HFSPLUS_I(inode)->create_date = in hfsplus_cat_build_record()
168 HFSPLUS_I(sbi->hidden_dir)->create_date; in hfsplus_cat_build_record()
170 cpu_to_be32(HFSPLUS_I(inode)->linkid); in hfsplus_cat_build_record()
232 HFSPLUS_I(dir)->subfolders++; in hfsplus_subfolders_inc()
248 if (HFSPLUS_I(dir)->subfolders) in hfsplus_subfolders_dec()
249 HFSPLUS_I(dir)->subfolders--; in hfsplus_subfolders_dec()
395 spin_lock(&HFSPLUS_I(dir)->open_dir_lock); in hfsplus_delete_cat()
396 list_for_each(pos, &HFSPLUS_I(dir)->open_dir_list) { in hfsplus_delete_cat()
[all …]
H A Ddir.c82 HFSPLUS_I(HFSPLUS_SB(sb)->hidden_dir)-> in hfsplus_lookup()
85 HFSPLUS_I(d_inode(sb->s_root))-> in hfsplus_lookup()
122 HFSPLUS_I(inode)->linkid = linkid; in hfsplus_lookup()
273 spin_lock(&HFSPLUS_I(inode)->open_dir_lock); in hfsplus_readdir()
274 list_add(&rd->list, &HFSPLUS_I(inode)->open_dir_list); in hfsplus_readdir()
275 spin_unlock(&HFSPLUS_I(inode)->open_dir_lock); in hfsplus_readdir()
292 spin_lock(&HFSPLUS_I(inode)->open_dir_lock); in hfsplus_dir_release()
294 spin_unlock(&HFSPLUS_I(inode)->open_dir_lock); in hfsplus_dir_release()
334 HFSPLUS_I(inode)->linkid = id; in hfsplus_link()
394 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
[all …]
H A Dextents.c90 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in __hfsplus_ext_write_extent()
133 if (HFSPLUS_I(inode)->extent_state & HFSPLUS_EXT_DIRTY) { in hfsplus_ext_write_extent_locked()
149 mutex_lock(&HFSPLUS_I(inode)->extents_lock); in hfsplus_ext_write_extent()
151 mutex_unlock(&HFSPLUS_I(inode)->extents_lock); in hfsplus_ext_write_extent()
180 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in __hfsplus_ext_cache_extent()
208 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_ext_read_extent()
230 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_get_block()
440 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_extend()
543 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_truncate()
H A Dhfsplus_fs.h234 test_bit(HFSPLUS_I_RSRC, &HFSPLUS_I(inode)->flags)
236 static inline struct hfsplus_inode_info *HFSPLUS_I(struct inode *inode) in HFSPLUS_I() function
250 set_bit(flag, &HFSPLUS_I(inode)->flags); in hfsplus_mark_inode_dirty()
H A Dbtree.c155 if (!HFSPLUS_I(tree->inode)->first_blocks) { in hfs_btree_open()
350 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfs_bmap_reserve()
H A Dxattr.c181 hip = HFSPLUS_I(attr_file); in hfsplus_create_attributes_file()