Home
last modified time | relevance | path

Searched refs:HFSPLUS_SB (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/fs/hfsplus/
Dsuper.c32 u32 cnt = atomic_read(&HFSPLUS_SB(sb).inode_cnt); in hfsplus_inode_check()
33 u32 last_cnt = HFSPLUS_SB(sb).last_inode_cnt; in hfsplus_inode_check()
37 HFSPLUS_SB(sb).last_inode_cnt = cnt; in hfsplus_inode_check()
39 HFSPLUS_SB(sb).cat_tree ? HFSPLUS_SB(sb).cat_tree->node_hash_cnt : 0); in hfsplus_inode_check()
50 atomic_inc(&HFSPLUS_SB(inode->i_sb).inode_cnt); in hfsplus_read_inode()
55 hfsplus_find_init(HFSPLUS_SB(inode->i_sb).cat_tree, &fd); in hfsplus_read_inode()
64 vhdr = HFSPLUS_SB(inode->i_sb).s_vhdr; in hfsplus_read_inode()
105 vhdr = HFSPLUS_SB(inode->i_sb).s_vhdr; in hfsplus_write_inode()
112 HFSPLUS_SB(inode->i_sb).flags |= HFSPLUS_SB_WRITEBACKUP; in hfsplus_write_inode()
116 hfsplus_write_btree(HFSPLUS_SB(inode->i_sb).ext_tree); in hfsplus_write_inode()
[all …]
Dinode.c68 tree = HFSPLUS_SB(sb).ext_tree; in hfsplus_releasepage()
71 tree = HFSPLUS_SB(sb).cat_tree; in hfsplus_releasepage()
74 tree = HFSPLUS_SB(sb).attr_tree; in hfsplus_releasepage()
160 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &fd); in hfsplus_file_lookup()
173 list_add(&inode->i_hash, &HFSPLUS_SB(sb).rsrc_inodes); in hfsplus_file_lookup()
175 hlist_add_head(&inode->i_hash, &HFSPLUS_SB(sb).rsrc_inodes); in hfsplus_file_lookup()
180 atomic_inc(&HFSPLUS_SB(sb).inode_cnt); in hfsplus_file_lookup()
197 inode->i_uid = HFSPLUS_SB(sb).uid; in hfsplus_get_perms()
201 inode->i_gid = HFSPLUS_SB(sb).gid; in hfsplus_get_perms()
205 (S_IRWXUGO & ~(HFSPLUS_SB(sb).umask)); in hfsplus_get_perms()
[all …]
Dextents.c117 hfsplus_find_init(HFSPLUS_SB(sb).ext_tree, &fd); in hfsplus_get_block()
133 map_bh(bh_result, sb, dblock + HFSPLUS_SB(sb).blockoffset); in hfsplus_get_block()
185 anode = HFSPLUS_SB(sb).alloc_file; in hfsplus_free_blocks()
191 HFSPLUS_SB(sb).free_blocks += count; in hfsplus_free_blocks()
285 hfsplus_find_init(HFSPLUS_SB(sb).ext_tree, &fd); in hfsplus_free_fork()
307 struct inode *anode = HFSPLUS_SB(sb).alloc_file; in hfsplus_extend_file()
315 if (anode->i_size * 8 < HFSPLUS_SB(sb).total_blocks - HFSPLUS_SB(sb).free_blocks + 8) { in hfsplus_extend_file()
319 blk = blk1 = (HFSPLUS_SB(sb).next_alloc >> sb->s_blocksize_bits) / 8; in hfsplus_extend_file()
320 off = (HFSPLUS_SB(sb).next_alloc & (sb->s_blocksize * 8 - 1)) / sizeof(unsigned long) / 8; in hfsplus_extend_file()
327 size = (HFSPLUS_SB(sb).total_blocks & in hfsplus_extend_file()
[all …]
Dwrapper.c98 HFSPLUS_SB(sb).sect_count = wd.embed_count * (wd.ablk_size >> 9); in hfsplus_read_wrapper()
103 HFSPLUS_SB(sb).sect_count = sb->s_bdev->bd_inode->i_size >> 9; in hfsplus_read_wrapper()
125 HFSPLUS_SB(sb).blockoffset = blockoffset; in hfsplus_read_wrapper()
142 HFSPLUS_SB(sb).s_vhbh = bh; in hfsplus_read_wrapper()
143 HFSPLUS_SB(sb).s_vhdr = vhdr; in hfsplus_read_wrapper()
Ddir.c37 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &fd); in hfsplus_lookup()
77 hfsplus_fill_cat_key(fd.search_key, HFSPLUS_SB(sb).hidden_dir->i_ino, &str); in hfsplus_lookup()
114 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &fd); in hfsplus_readdir()
170 if (HFSPLUS_SB(sb).hidden_dir && in hfsplus_readdir()
171 HFSPLUS_SB(sb).hidden_dir->i_ino == be32_to_cpu(entry.folder.id)) in hfsplus_readdir()
280 HFSPLUS_SB(sb).hidden_dir, &str); in hfsplus_link()
287 cnid = HFSPLUS_SB(sb).next_cnid++; in hfsplus_link()
293 HFSPLUS_SB(sb).file_count++; in hfsplus_link()
295 cnid = HFSPLUS_SB(sb).next_cnid++; in hfsplus_link()
306 HFSPLUS_SB(sb).file_count++; in hfsplus_link()
[all …]
Dcatalog.c75 if (inode == HFSPLUS_SB(inode->i_sb).hidden_dir) in hfsplus_fill_cat_entry()
91 file->user_info.fdType = cpu_to_be32(HFSPLUS_SB(inode->i_sb).type); in hfsplus_fill_cat_entry()
92 file->user_info.fdCreator = cpu_to_be32(HFSPLUS_SB(inode->i_sb).creator); in hfsplus_fill_cat_entry()
152 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &fd); in hfsplus_create_cat()
199 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &fd); in hfsplus_delete_cat()
276 hfsplus_find_init(HFSPLUS_SB(sb).cat_tree, &src_fd); in hfsplus_rename_cat()
Dhfsplus_fs.h307 #define HFSPLUS_SB(super) (*(struct hfsplus_sb_info *)&(super)->u) macro
320 #define HFSPLUS_SB(super) (*(struct hfsplus_sb_info *)(super)->s_fs_info) macro