HFS_I 31 fs/hfs/attr.c fd.search_key->cat = HFS_I(inode)->cat_key; HFS_I 75 fs/hfs/attr.c fd.search_key->cat = HFS_I(inode)->cat_key; HFS_I 42 fs/hfs/btree.c HFS_I(tree->inode)->flags = 0; HFS_I 43 fs/hfs/btree.c mutex_init(&HFS_I(tree->inode)->extents_lock); HFS_I 225 fs/hfs/btree.c HFS_I(inode)->phys_size = inode->i_size = HFS_I 226 fs/hfs/btree.c (loff_t)HFS_I(inode)->alloc_blocks * HFS_I 228 fs/hfs/btree.c HFS_I(inode)->fs_blocks = inode->i_size >> HFS_I 232 fs/hfs/catalog.c list_for_each(pos, &HFS_I(dir)->open_dir_list) { HFS_I 154 fs/hfs/dir.c list_add(&rd->list, &HFS_I(inode)->open_dir_list); HFS_I 311 fs/hfs/dir.c (btree_key *)&HFS_I(old_dentry->d_inode)->cat_key, HFS_I 114 fs/hfs/extent.c hfs_ext_build_key(fd->search_key, inode->i_ino, HFS_I(inode)->cached_start, HFS_I 117 fs/hfs/extent.c if (HFS_I(inode)->flags & HFS_FLG_EXT_NEW) { HFS_I 120 fs/hfs/extent.c hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); HFS_I 121 fs/hfs/extent.c HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); HFS_I 125 fs/hfs/extent.c hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); HFS_I 126 fs/hfs/extent.c HFS_I(inode)->flags &= ~HFS_FLG_EXT_DIRTY; HFS_I 134 fs/hfs/extent.c if (HFS_I(inode)->flags & HFS_FLG_EXT_DIRTY) { HFS_I 164 fs/hfs/extent.c if (HFS_I(inode)->flags & HFS_FLG_EXT_DIRTY) HFS_I 167 fs/hfs/extent.c res = __hfs_ext_read_extent(fd, HFS_I(inode)->cached_extents, inode->i_ino, HFS_I 170 fs/hfs/extent.c HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); HFS_I 171 fs/hfs/extent.c HFS_I(inode)->cached_blocks = hfs_ext_block_count(HFS_I(inode)->cached_extents); HFS_I 173 fs/hfs/extent.c HFS_I(inode)->cached_start = HFS_I(inode)->cached_blocks = 0; HFS_I 174 fs/hfs/extent.c HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); HFS_I 184 fs/hfs/extent.c if (block >= HFS_I(inode)->cached_start && HFS_I 185 fs/hfs/extent.c block < HFS_I(inode)->cached_start + HFS_I(inode)->cached_blocks) HFS_I 330 fs/hfs/extent.c if (block >= HFS_I(inode)->fs_blocks) { HFS_I 331 fs/hfs/extent.c if (block > HFS_I(inode)->fs_blocks || !create) HFS_I 333 fs/hfs/extent.c if (ablock >= HFS_I(inode)->alloc_blocks) { HFS_I 341 fs/hfs/extent.c if (ablock < HFS_I(inode)->first_blocks) { HFS_I 342 fs/hfs/extent.c dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); HFS_I 346 fs/hfs/extent.c mutex_lock(&HFS_I(inode)->extents_lock); HFS_I 349 fs/hfs/extent.c dblock = hfs_ext_find_block(HFS_I(inode)->cached_extents, HFS_I 350 fs/hfs/extent.c ablock - HFS_I(inode)->cached_start); HFS_I 352 fs/hfs/extent.c mutex_unlock(&HFS_I(inode)->extents_lock); HFS_I 355 fs/hfs/extent.c mutex_unlock(&HFS_I(inode)->extents_lock); HFS_I 364 fs/hfs/extent.c HFS_I(inode)->phys_size += sb->s_blocksize; HFS_I 365 fs/hfs/extent.c HFS_I(inode)->fs_blocks++; HFS_I 378 fs/hfs/extent.c mutex_lock(&HFS_I(inode)->extents_lock); HFS_I 379 fs/hfs/extent.c if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) HFS_I 380 fs/hfs/extent.c goal = hfs_ext_lastblock(HFS_I(inode)->first_extents); HFS_I 382 fs/hfs/extent.c res = hfs_ext_read_extent(inode, HFS_I(inode)->alloc_blocks); HFS_I 385 fs/hfs/extent.c goal = hfs_ext_lastblock(HFS_I(inode)->cached_extents); HFS_I 388 fs/hfs/extent.c len = HFS_I(inode)->clump_blocks; HFS_I 396 fs/hfs/extent.c if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) { HFS_I 397 fs/hfs/extent.c if (!HFS_I(inode)->first_blocks) { HFS_I 400 fs/hfs/extent.c HFS_I(inode)->first_extents[0].block = cpu_to_be16(start); HFS_I 401 fs/hfs/extent.c HFS_I(inode)->first_extents[0].count = cpu_to_be16(len); HFS_I 405 fs/hfs/extent.c res = hfs_add_extent(HFS_I(inode)->first_extents, HFS_I 406 fs/hfs/extent.c HFS_I(inode)->alloc_blocks, HFS_I 412 fs/hfs/extent.c hfs_dump_extent(HFS_I(inode)->first_extents); HFS_I 413 fs/hfs/extent.c HFS_I(inode)->first_blocks += len; HFS_I 416 fs/hfs/extent.c res = hfs_add_extent(HFS_I(inode)->cached_extents, HFS_I 417 fs/hfs/extent.c HFS_I(inode)->alloc_blocks - HFS_I 418 fs/hfs/extent.c HFS_I(inode)->cached_start, HFS_I 421 fs/hfs/extent.c hfs_dump_extent(HFS_I(inode)->cached_extents); HFS_I 422 fs/hfs/extent.c HFS_I(inode)->flags |= HFS_FLG_EXT_DIRTY; HFS_I 423 fs/hfs/extent.c HFS_I(inode)->cached_blocks += len; HFS_I 428 fs/hfs/extent.c mutex_unlock(&HFS_I(inode)->extents_lock); HFS_I 430 fs/hfs/extent.c HFS_I(inode)->alloc_blocks += len; HFS_I 443 fs/hfs/extent.c memset(HFS_I(inode)->cached_extents, 0, sizeof(hfs_extent_rec)); HFS_I 444 fs/hfs/extent.c HFS_I(inode)->cached_extents[0].block = cpu_to_be16(start); HFS_I 445 fs/hfs/extent.c HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len); HFS_I 446 fs/hfs/extent.c hfs_dump_extent(HFS_I(inode)->cached_extents); HFS_I 447 fs/hfs/extent.c HFS_I(inode)->flags |= HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW; HFS_I 448 fs/hfs/extent.c HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; HFS_I 449 fs/hfs/extent.c HFS_I(inode)->cached_blocks = len; HFS_I 464 fs/hfs/extent.c (long long)HFS_I(inode)->phys_size, inode->i_size); HFS_I 465 fs/hfs/extent.c if (inode->i_size > HFS_I(inode)->phys_size) { HFS_I 480 fs/hfs/extent.c inode->i_size = HFS_I(inode)->phys_size; HFS_I 482 fs/hfs/extent.c } else if (inode->i_size == HFS_I(inode)->phys_size) HFS_I 486 fs/hfs/extent.c alloc_cnt = HFS_I(inode)->alloc_blocks; HFS_I 490 fs/hfs/extent.c mutex_lock(&HFS_I(inode)->extents_lock); HFS_I 493 fs/hfs/extent.c if (alloc_cnt == HFS_I(inode)->first_blocks) { HFS_I 494 fs/hfs/extent.c hfs_free_extents(sb, HFS_I(inode)->first_extents, HFS_I 496 fs/hfs/extent.c hfs_dump_extent(HFS_I(inode)->first_extents); HFS_I 497 fs/hfs/extent.c HFS_I(inode)->first_blocks = blk_cnt; HFS_I 503 fs/hfs/extent.c start = HFS_I(inode)->cached_start; HFS_I 504 fs/hfs/extent.c hfs_free_extents(sb, HFS_I(inode)->cached_extents, HFS_I 506 fs/hfs/extent.c hfs_dump_extent(HFS_I(inode)->cached_extents); HFS_I 508 fs/hfs/extent.c HFS_I(inode)->flags |= HFS_FLG_EXT_DIRTY; HFS_I 512 fs/hfs/extent.c HFS_I(inode)->cached_start = HFS_I(inode)->cached_blocks = 0; HFS_I 513 fs/hfs/extent.c HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); HFS_I 517 fs/hfs/extent.c mutex_unlock(&HFS_I(inode)->extents_lock); HFS_I 519 fs/hfs/extent.c HFS_I(inode)->alloc_blocks = blk_cnt; HFS_I 521 fs/hfs/extent.c HFS_I(inode)->phys_size = inode->i_size; HFS_I 522 fs/hfs/extent.c HFS_I(inode)->fs_blocks = (inode->i_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits; HFS_I 523 fs/hfs/extent.c inode_set_bytes(inode, HFS_I(inode)->fs_blocks << sb->s_blocksize_bits); HFS_I 75 fs/hfs/hfs_fs.h #define HFS_IS_RSRC(inode) (HFS_I(inode)->flags & HFS_FLG_RSRC) HFS_I 45 fs/hfs/inode.c &HFS_I(mapping->host)->phys_size); HFS_I 153 fs/hfs/inode.c mutex_init(&HFS_I(inode)->extents_lock); HFS_I 154 fs/hfs/inode.c INIT_LIST_HEAD(&HFS_I(inode)->open_dir_list); HFS_I 155 fs/hfs/inode.c hfs_cat_build_key(sb, (btree_key *)&HFS_I(inode)->cat_key, dir->i_ino, name); HFS_I 162 fs/hfs/inode.c HFS_I(inode)->flags = 0; HFS_I 163 fs/hfs/inode.c HFS_I(inode)->rsrc_inode = NULL; HFS_I 164 fs/hfs/inode.c HFS_I(inode)->fs_blocks = 0; HFS_I 175 fs/hfs/inode.c HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks; HFS_I 186 fs/hfs/inode.c HFS_I(inode)->phys_size = 0; HFS_I 187 fs/hfs/inode.c HFS_I(inode)->alloc_blocks = 0; HFS_I 188 fs/hfs/inode.c HFS_I(inode)->first_blocks = 0; HFS_I 189 fs/hfs/inode.c HFS_I(inode)->cached_start = 0; HFS_I 190 fs/hfs/inode.c HFS_I(inode)->cached_blocks = 0; HFS_I 191 fs/hfs/inode.c memset(HFS_I(inode)->first_extents, 0, sizeof(hfs_extent_rec)); HFS_I 192 fs/hfs/inode.c memset(HFS_I(inode)->cached_extents, 0, sizeof(hfs_extent_rec)); HFS_I 209 fs/hfs/inode.c if (HFS_I(inode)->cat_key.ParID == cpu_to_be32(HFS_ROOT_CNID)) HFS_I 216 fs/hfs/inode.c if (HFS_I(inode)->cat_key.ParID == cpu_to_be32(HFS_ROOT_CNID)) HFS_I 236 fs/hfs/inode.c memcpy(HFS_I(inode)->first_extents, ext, sizeof(hfs_extent_rec)); HFS_I 239 fs/hfs/inode.c HFS_I(inode)->first_blocks = count; HFS_I 241 fs/hfs/inode.c inode->i_size = HFS_I(inode)->phys_size = log_size; HFS_I 242 fs/hfs/inode.c HFS_I(inode)->fs_blocks = (log_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits; HFS_I 243 fs/hfs/inode.c inode_set_bytes(inode, HFS_I(inode)->fs_blocks << sb->s_blocksize_bits); HFS_I 244 fs/hfs/inode.c HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / HFS_I 246 fs/hfs/inode.c HFS_I(inode)->clump_blocks = clump_size / HFS_SB(sb)->alloc_blksz; HFS_I 247 fs/hfs/inode.c if (!HFS_I(inode)->clump_blocks) HFS_I 248 fs/hfs/inode.c HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks; HFS_I 282 fs/hfs/inode.c HFS_I(inode)->flags = 0; HFS_I 283 fs/hfs/inode.c HFS_I(inode)->rsrc_inode = NULL; HFS_I 284 fs/hfs/inode.c mutex_init(&HFS_I(inode)->extents_lock); HFS_I 285 fs/hfs/inode.c INIT_LIST_HEAD(&HFS_I(inode)->open_dir_list); HFS_I 293 fs/hfs/inode.c HFS_I(inode)->cat_key = *idata->key; HFS_I 295 fs/hfs/inode.c HFS_I(inode)->flags |= HFS_FLG_RSRC; HFS_I 296 fs/hfs/inode.c HFS_I(inode)->tz_secondswest = sys_tz.tz_minuteswest * 60; HFS_I 324 fs/hfs/inode.c HFS_I(inode)->fs_blocks = 0; HFS_I 371 fs/hfs/inode.c memcpy(ext, HFS_I(inode)->first_extents, sizeof(hfs_extent_rec)); HFS_I 376 fs/hfs/inode.c *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * HFS_I 406 fs/hfs/inode.c main_inode = HFS_I(inode)->rsrc_inode; HFS_I 415 fs/hfs/inode.c fd.search_key->cat = HFS_I(main_inode)->cat_key; HFS_I 476 fs/hfs/inode.c inode = HFS_I(dir)->rsrc_inode; HFS_I 485 fs/hfs/inode.c fd.search_key->cat = HFS_I(dir)->cat_key; HFS_I 496 fs/hfs/inode.c HFS_I(inode)->rsrc_inode = dir; HFS_I 497 fs/hfs/inode.c HFS_I(dir)->rsrc_inode = inode; HFS_I 508 fs/hfs/inode.c if (HFS_IS_RSRC(inode) && HFS_I(inode)->rsrc_inode) { HFS_I 509 fs/hfs/inode.c HFS_I(HFS_I(inode)->rsrc_inode)->rsrc_inode = NULL; HFS_I 510 fs/hfs/inode.c iput(HFS_I(inode)->rsrc_inode); HFS_I 524 fs/hfs/inode.c inode = HFS_I(inode)->rsrc_inode; HFS_I 525 fs/hfs/inode.c atomic_inc(&HFS_I(inode)->opencnt); HFS_I 534 fs/hfs/inode.c inode = HFS_I(inode)->rsrc_inode; HFS_I 535 fs/hfs/inode.c if (atomic_dec_and_test(&HFS_I(inode)->opencnt)) { HFS_I 154 fs/hfs/super.c kmem_cache_free(hfs_inode_cachep, HFS_I(inode)); HFS_I 24 fs/hfs/sysdep.c diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; HFS_I 29 fs/hfs/sysdep.c HFS_I(inode)->tz_secondswest += diff;