HFS_SB             28 fs/hfs/attr.c  	res = hfs_find_init(HFS_SB(inode->i_sb)->cat_tree, &fd);
HFS_SB             72 fs/hfs/attr.c  		res = hfs_find_init(HFS_SB(inode->i_sb)->cat_tree, &fd);
HFS_SB            148 fs/hfs/bitmap.c 	mutex_lock(&HFS_SB(sb)->bitmap_lock);
HFS_SB            149 fs/hfs/bitmap.c 	bitmap = HFS_SB(sb)->bitmap;
HFS_SB            151 fs/hfs/bitmap.c 	pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits);
HFS_SB            152 fs/hfs/bitmap.c 	if (pos >= HFS_SB(sb)->fs_ablocks) {
HFS_SB            155 fs/hfs/bitmap.c 		if (pos >= HFS_SB(sb)->fs_ablocks) {
HFS_SB            162 fs/hfs/bitmap.c 	HFS_SB(sb)->free_ablocks -= *num_bits;
HFS_SB            165 fs/hfs/bitmap.c 	mutex_unlock(&HFS_SB(sb)->bitmap_lock);
HFS_SB            205 fs/hfs/bitmap.c 	if ((start + count) > HFS_SB(sb)->fs_ablocks)
HFS_SB            208 fs/hfs/bitmap.c 	mutex_lock(&HFS_SB(sb)->bitmap_lock);
HFS_SB            210 fs/hfs/bitmap.c 	curr = HFS_SB(sb)->bitmap + (start / 32);
HFS_SB            238 fs/hfs/bitmap.c 	HFS_SB(sb)->free_ablocks += len;
HFS_SB            239 fs/hfs/bitmap.c 	mutex_unlock(&HFS_SB(sb)->bitmap_lock);
HFS_SB             41 fs/hfs/btree.c 	struct hfs_mdb *mdb = HFS_SB(sb)->mdb;
HFS_SB            227 fs/hfs/btree.c 				HFS_SB(tree->sb)->alloc_blksz;
HFS_SB             59 fs/hfs/catalog.c 		rec->file.UsrWds.fdType = HFS_SB(inode->i_sb)->s_type;
HFS_SB             60 fs/hfs/catalog.c 		rec->file.UsrWds.fdCreator = HFS_SB(inode->i_sb)->s_creator;
HFS_SB             95 fs/hfs/catalog.c 	hfs_find_init(HFS_SB(sb)->cat_tree, &fd);
HFS_SB            213 fs/hfs/catalog.c 	hfs_find_init(HFS_SB(sb)->cat_tree, &fd);
HFS_SB            280 fs/hfs/catalog.c 	hfs_find_init(HFS_SB(sb)->cat_tree, &src_fd);
HFS_SB             30 fs/hfs/dir.c   	hfs_find_init(HFS_SB(dir->i_sb)->cat_tree, &fd);
HFS_SB             68 fs/hfs/dir.c   	hfs_find_init(HFS_SB(sb)->cat_tree, &fd);
HFS_SB            135 fs/hfs/extent.c 		hfs_find_init(HFS_SB(inode->i_sb)->ext_tree, &fd);
HFS_SB            188 fs/hfs/extent.c 	hfs_find_init(HFS_SB(inode->i_sb)->ext_tree, &fd);
HFS_SB            287 fs/hfs/extent.c 	total_blocks /= HFS_SB(sb)->alloc_blksz;
HFS_SB            301 fs/hfs/extent.c 	hfs_find_init(HFS_SB(sb)->ext_tree, &fd);
HFS_SB            328 fs/hfs/extent.c 	ablock = (u32)block / HFS_SB(sb)->fs_div;
HFS_SB            358 fs/hfs/extent.c 	map_bh(bh_result, sb, HFS_SB(sb)->fs_start +
HFS_SB            359 fs/hfs/extent.c 	       dblock * HFS_SB(sb)->fs_div +
HFS_SB            360 fs/hfs/extent.c 	       (u32)block % HFS_SB(sb)->fs_div);
HFS_SB            433 fs/hfs/extent.c 			set_bit(HFS_FLG_ALT_MDB_DIRTY, &HFS_SB(sb)->flags);
HFS_SB            434 fs/hfs/extent.c 		set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags);
HFS_SB            484 fs/hfs/extent.c 	size = inode->i_size + HFS_SB(sb)->alloc_blksz - 1;
HFS_SB            485 fs/hfs/extent.c 	blk_cnt = size / HFS_SB(sb)->alloc_blksz;
HFS_SB            491 fs/hfs/extent.c 	hfs_find_init(HFS_SB(sb)->ext_tree, &fd);
HFS_SB            253 fs/hfs/hfs_fs.h 	set_bit(HFS_FLG_BITMAP_DIRTY, &HFS_SB(sb)->flags);
HFS_SB             64 fs/hfs/inode.c 		tree = HFS_SB(sb)->ext_tree;
HFS_SB             67 fs/hfs/inode.c 		tree = HFS_SB(sb)->cat_tree;
HFS_SB            156 fs/hfs/inode.c 	inode->i_ino = HFS_SB(sb)->next_id++;
HFS_SB            167 fs/hfs/inode.c 		HFS_SB(sb)->folder_count++;
HFS_SB            169 fs/hfs/inode.c 			HFS_SB(sb)->root_dirs++;
HFS_SB            173 fs/hfs/inode.c 		inode->i_mode &= ~HFS_SB(inode->i_sb)->s_dir_umask;
HFS_SB            175 fs/hfs/inode.c 		HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks;
HFS_SB            176 fs/hfs/inode.c 		HFS_SB(sb)->file_count++;
HFS_SB            178 fs/hfs/inode.c 			HFS_SB(sb)->root_files++;
HFS_SB            185 fs/hfs/inode.c 		inode->i_mode &= ~HFS_SB(inode->i_sb)->s_file_umask;
HFS_SB            196 fs/hfs/inode.c 	set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags);
HFS_SB            208 fs/hfs/inode.c 		HFS_SB(sb)->folder_count--;
HFS_SB            210 fs/hfs/inode.c 			HFS_SB(sb)->root_dirs--;
HFS_SB            211 fs/hfs/inode.c 		set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags);
HFS_SB            215 fs/hfs/inode.c 	HFS_SB(sb)->file_count--;
HFS_SB            217 fs/hfs/inode.c 		HFS_SB(sb)->root_files--;
HFS_SB            224 fs/hfs/inode.c 	set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags);
HFS_SB            245 fs/hfs/inode.c 				     HFS_SB(sb)->alloc_blksz;
HFS_SB            246 fs/hfs/inode.c 	HFS_I(inode)->clump_blocks = clump_size / HFS_SB(sb)->alloc_blksz;
HFS_SB            248 fs/hfs/inode.c 		HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks;
HFS_SB            279 fs/hfs/inode.c 	struct hfs_sb_info *hsb = HFS_SB(inode->i_sb);
HFS_SB            377 fs/hfs/inode.c 					 HFS_SB(inode->i_sb)->alloc_blksz);
HFS_SB            394 fs/hfs/inode.c 			hfs_btree_write(HFS_SB(inode->i_sb)->ext_tree);
HFS_SB            397 fs/hfs/inode.c 			hfs_btree_write(HFS_SB(inode->i_sb)->cat_tree);
HFS_SB            411 fs/hfs/inode.c 	if (hfs_find_init(HFS_SB(main_inode->i_sb)->cat_tree, &fd))
HFS_SB            484 fs/hfs/inode.c 	hfs_find_init(HFS_SB(dir->i_sb)->cat_tree, &fd);
HFS_SB            499 fs/hfs/inode.c 	hlist_add_head(&inode->i_hash, &HFS_SB(dir->i_sb)->rsrc_inodes);
HFS_SB            567 fs/hfs/inode.c 	struct hfs_sb_info *hsb = HFS_SB(inode->i_sb);
HFS_SB             42 fs/hfs/mdb.c   	if (HFS_SB(sb)->session >= 0) {
HFS_SB             43 fs/hfs/mdb.c   		te.cdte_track = HFS_SB(sb)->session;
HFS_SB            101 fs/hfs/mdb.c   	HFS_SB(sb)->alloc_blksz = size = be32_to_cpu(mdb->drAlBlkSiz);
HFS_SB            107 fs/hfs/mdb.c   	size = min(HFS_SB(sb)->alloc_blksz, (u32)PAGE_SIZE);
HFS_SB            116 fs/hfs/mdb.c   	while (HFS_SB(sb)->alloc_blksz & (size - 1))
HFS_SB            130 fs/hfs/mdb.c   	HFS_SB(sb)->mdb_bh = bh;
HFS_SB            131 fs/hfs/mdb.c   	HFS_SB(sb)->mdb = mdb;
HFS_SB            134 fs/hfs/mdb.c   	HFS_SB(sb)->part_start = part_start;
HFS_SB            135 fs/hfs/mdb.c   	HFS_SB(sb)->fs_ablocks = be16_to_cpu(mdb->drNmAlBlks);
HFS_SB            136 fs/hfs/mdb.c   	HFS_SB(sb)->fs_div = HFS_SB(sb)->alloc_blksz >> sb->s_blocksize_bits;
HFS_SB            137 fs/hfs/mdb.c   	HFS_SB(sb)->clumpablks = be32_to_cpu(mdb->drClpSiz) /
HFS_SB            138 fs/hfs/mdb.c   				 HFS_SB(sb)->alloc_blksz;
HFS_SB            139 fs/hfs/mdb.c   	if (!HFS_SB(sb)->clumpablks)
HFS_SB            140 fs/hfs/mdb.c   		HFS_SB(sb)->clumpablks = 1;
HFS_SB            141 fs/hfs/mdb.c   	HFS_SB(sb)->fs_start = (be16_to_cpu(mdb->drAlBlSt) + part_start) >>
HFS_SB            145 fs/hfs/mdb.c   	HFS_SB(sb)->free_ablocks = be16_to_cpu(mdb->drFreeBks);
HFS_SB            146 fs/hfs/mdb.c   	HFS_SB(sb)->next_id = be32_to_cpu(mdb->drNxtCNID);
HFS_SB            147 fs/hfs/mdb.c   	HFS_SB(sb)->root_files = be16_to_cpu(mdb->drNmFls);
HFS_SB            148 fs/hfs/mdb.c   	HFS_SB(sb)->root_dirs = be16_to_cpu(mdb->drNmRtDirs);
HFS_SB            149 fs/hfs/mdb.c   	HFS_SB(sb)->file_count = be32_to_cpu(mdb->drFilCnt);
HFS_SB            150 fs/hfs/mdb.c   	HFS_SB(sb)->folder_count = be32_to_cpu(mdb->drDirCnt);
HFS_SB            157 fs/hfs/mdb.c   			HFS_SB(sb)->alt_mdb_bh = bh;
HFS_SB            158 fs/hfs/mdb.c   			HFS_SB(sb)->alt_mdb = mdb2;
HFS_SB            163 fs/hfs/mdb.c   	if (!HFS_SB(sb)->alt_mdb) {
HFS_SB            168 fs/hfs/mdb.c   	HFS_SB(sb)->bitmap = (__be32 *)__get_free_pages(GFP_KERNEL, PAGE_SIZE < 8192 ? 1 : 0);
HFS_SB            169 fs/hfs/mdb.c   	if (!HFS_SB(sb)->bitmap)
HFS_SB            175 fs/hfs/mdb.c   	size = (HFS_SB(sb)->fs_ablocks + 8) / 8;
HFS_SB            176 fs/hfs/mdb.c   	ptr = (u8 *)HFS_SB(sb)->bitmap;
HFS_SB            192 fs/hfs/mdb.c   	HFS_SB(sb)->ext_tree = hfs_btree_open(sb, HFS_EXT_CNID, hfs_ext_keycmp);
HFS_SB            193 fs/hfs/mdb.c   	if (!HFS_SB(sb)->ext_tree) {
HFS_SB            197 fs/hfs/mdb.c   	HFS_SB(sb)->cat_tree = hfs_btree_open(sb, HFS_CAT_CNID, hfs_cat_keycmp);
HFS_SB            198 fs/hfs/mdb.c   	if (!HFS_SB(sb)->cat_tree) {
HFS_SB            221 fs/hfs/mdb.c   		mark_buffer_dirty(HFS_SB(sb)->mdb_bh);
HFS_SB            222 fs/hfs/mdb.c   		hfs_buffer_sync(HFS_SB(sb)->mdb_bh);
HFS_SB            260 fs/hfs/mdb.c   	struct hfs_mdb *mdb = HFS_SB(sb)->mdb;
HFS_SB            262 fs/hfs/mdb.c   	if (test_and_clear_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags)) {
HFS_SB            265 fs/hfs/mdb.c   		mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks);
HFS_SB            266 fs/hfs/mdb.c   		mdb->drNxtCNID = cpu_to_be32(HFS_SB(sb)->next_id);
HFS_SB            267 fs/hfs/mdb.c   		mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files);
HFS_SB            268 fs/hfs/mdb.c   		mdb->drNmRtDirs = cpu_to_be16(HFS_SB(sb)->root_dirs);
HFS_SB            269 fs/hfs/mdb.c   		mdb->drFilCnt = cpu_to_be32(HFS_SB(sb)->file_count);
HFS_SB            270 fs/hfs/mdb.c   		mdb->drDirCnt = cpu_to_be32(HFS_SB(sb)->folder_count);
HFS_SB            273 fs/hfs/mdb.c   		mark_buffer_dirty(HFS_SB(sb)->mdb_bh);
HFS_SB            279 fs/hfs/mdb.c   	if (test_and_clear_bit(HFS_FLG_ALT_MDB_DIRTY, &HFS_SB(sb)->flags) &&
HFS_SB            280 fs/hfs/mdb.c   	    HFS_SB(sb)->alt_mdb) {
HFS_SB            281 fs/hfs/mdb.c   		hfs_inode_write_fork(HFS_SB(sb)->ext_tree->inode, mdb->drXTExtRec,
HFS_SB            283 fs/hfs/mdb.c   		hfs_inode_write_fork(HFS_SB(sb)->cat_tree->inode, mdb->drCTExtRec,
HFS_SB            285 fs/hfs/mdb.c   		memcpy(HFS_SB(sb)->alt_mdb, HFS_SB(sb)->mdb, HFS_SECTOR_SIZE);
HFS_SB            286 fs/hfs/mdb.c   		HFS_SB(sb)->alt_mdb->drAtrb |= cpu_to_be16(HFS_SB_ATTRIB_UNMNT);
HFS_SB            287 fs/hfs/mdb.c   		HFS_SB(sb)->alt_mdb->drAtrb &= cpu_to_be16(~HFS_SB_ATTRIB_INCNSTNT);
HFS_SB            288 fs/hfs/mdb.c   		mark_buffer_dirty(HFS_SB(sb)->alt_mdb_bh);
HFS_SB            289 fs/hfs/mdb.c   		hfs_buffer_sync(HFS_SB(sb)->alt_mdb_bh);
HFS_SB            292 fs/hfs/mdb.c   	if (test_and_clear_bit(HFS_FLG_BITMAP_DIRTY, &HFS_SB(sb)->flags)) {
HFS_SB            298 fs/hfs/mdb.c   		block = be16_to_cpu(HFS_SB(sb)->mdb->drVBMSt) + HFS_SB(sb)->part_start;
HFS_SB            301 fs/hfs/mdb.c   		size = (HFS_SB(sb)->fs_ablocks + 7) / 8;
HFS_SB            302 fs/hfs/mdb.c   		ptr = (u8 *)HFS_SB(sb)->bitmap;
HFS_SB            326 fs/hfs/mdb.c   	HFS_SB(sb)->mdb->drAtrb |= cpu_to_be16(HFS_SB_ATTRIB_UNMNT);
HFS_SB            327 fs/hfs/mdb.c   	HFS_SB(sb)->mdb->drAtrb &= cpu_to_be16(~HFS_SB_ATTRIB_INCNSTNT);
HFS_SB            328 fs/hfs/mdb.c   	mark_buffer_dirty(HFS_SB(sb)->mdb_bh);
HFS_SB            337 fs/hfs/mdb.c   	if (!HFS_SB(sb))
HFS_SB            340 fs/hfs/mdb.c   	hfs_btree_close(HFS_SB(sb)->ext_tree);
HFS_SB            341 fs/hfs/mdb.c   	hfs_btree_close(HFS_SB(sb)->cat_tree);
HFS_SB            344 fs/hfs/mdb.c   	brelse(HFS_SB(sb)->mdb_bh);
HFS_SB            345 fs/hfs/mdb.c   	brelse(HFS_SB(sb)->alt_mdb_bh);
HFS_SB            347 fs/hfs/mdb.c   	if (HFS_SB(sb)->nls_io)
HFS_SB            348 fs/hfs/mdb.c   		unload_nls(HFS_SB(sb)->nls_io);
HFS_SB            349 fs/hfs/mdb.c   	if (HFS_SB(sb)->nls_disk)
HFS_SB            350 fs/hfs/mdb.c   		unload_nls(HFS_SB(sb)->nls_disk);
HFS_SB            352 fs/hfs/mdb.c   	kfree(HFS_SB(sb));
HFS_SB             82 fs/hfs/part_tbl.c 			    (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) {
HFS_SB             98 fs/hfs/part_tbl.c 			    (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) {
HFS_SB             88 fs/hfs/super.c 	buf->f_blocks = (u32)HFS_SB(sb)->fs_ablocks * HFS_SB(sb)->fs_div;
HFS_SB             89 fs/hfs/super.c 	buf->f_bfree = (u32)HFS_SB(sb)->free_ablocks * HFS_SB(sb)->fs_div;
HFS_SB             91 fs/hfs/super.c 	buf->f_files = HFS_SB(sb)->fs_ablocks;
HFS_SB             92 fs/hfs/super.c 	buf->f_ffree = HFS_SB(sb)->free_ablocks;
HFS_SB            104 fs/hfs/super.c 		if (!(HFS_SB(sb)->mdb->drAtrb & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) {
HFS_SB            109 fs/hfs/super.c 		} else if (HFS_SB(sb)->mdb->drAtrb & cpu_to_be16(HFS_SB_ATTRIB_SLOCK)) {
HFS_SB            120 fs/hfs/super.c 	struct hfs_sb_info *sbi = HFS_SB(mnt->mnt_sb);
HFS_SB            387 fs/hfs/super.c 	hfs_find_init(HFS_SB(sb)->cat_tree, &fd);
HFS_SB             35 fs/hfs/trans.c 	struct nls_table *nls_disk = HFS_SB(sb)->nls_disk;
HFS_SB             36 fs/hfs/trans.c 	struct nls_table *nls_io = HFS_SB(sb)->nls_io;
HFS_SB             97 fs/hfs/trans.c 	struct nls_table *nls_disk = HFS_SB(sb)->nls_disk;
HFS_SB             98 fs/hfs/trans.c 	struct nls_table *nls_io = HFS_SB(sb)->nls_io;