Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hfsplus/
Dinode.c54 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
204 HFSPLUS_I(inode)->userflags = perms->userflags; in hfsplus_get_perms()
218 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_open()
221 atomic_inc(&HFSPLUS_I(inode)->opencnt); in hfsplus_file_open()
230 inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_file_release()
231 if (atomic_dec_and_test(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_file_release()
277 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_getattr()
297 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_fsync()
383 hip = HFSPLUS_I(inode); in hfsplus_new_inode()
453 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_inode_read_fork()
[all …]
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 …]
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()
331 HFSPLUS_I(inode)->linkid = id; in hfsplus_link()
373 atomic_read(&HFSPLUS_I(inode)->opencnt)) { in hfsplus_unlink()
[all …]
Dsuper.c70 INIT_LIST_HEAD(&HFSPLUS_I(inode)->open_dir_list); in hfsplus_iget()
71 spin_lock_init(&HFSPLUS_I(inode)->open_dir_lock); in hfsplus_iget()
72 mutex_init(&HFSPLUS_I(inode)->extents_lock); in hfsplus_iget()
73 HFSPLUS_I(inode)->flags = 0; in hfsplus_iget()
74 HFSPLUS_I(inode)->extent_state = 0; in hfsplus_iget()
75 HFSPLUS_I(inode)->rsrc_inode = NULL; in hfsplus_iget()
76 atomic_set(&HFSPLUS_I(inode)->opencnt, 0); in hfsplus_iget()
171 HFSPLUS_I(HFSPLUS_I(inode)->rsrc_inode)->rsrc_inode = NULL; in hfsplus_evict_inode()
172 iput(HFSPLUS_I(inode)->rsrc_inode); in hfsplus_evict_inode()
633 kmem_cache_free(hfsplus_inode_cachep, HFSPLUS_I(inode)); in hfsplus_free_inode()
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()
444 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_extend()
546 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_truncate()
Dioctl.c62 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_getflags()
85 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_ioctl_setflags()
Dhfsplus_fs.h265 test_bit(HFSPLUS_I_RSRC, &HFSPLUS_I(inode)->flags)
267 static inline struct hfsplus_inode_info *HFSPLUS_I(struct inode *inode) in HFSPLUS_I() function
281 set_bit(flag, &HFSPLUS_I(inode)->flags); in hfsplus_mark_inode_dirty()
Dbtree.c155 if (!HFSPLUS_I(tree->inode)->first_blocks) { in hfs_btree_open()
349 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfs_bmap_reserve()
Dxattr.c177 hip = HFSPLUS_I(attr_file); in hfsplus_create_attributes_file()