Lines Matching defs:hip
277 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
283 if (hip->userflags & HFSPLUS_FLG_NODUMP)
297 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
314 if (test_and_clear_bit(HFSPLUS_I_CAT_DIRTY, &hip->flags))
317 if (test_and_clear_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags)) {
324 if (test_and_clear_bit(HFSPLUS_I_ATTR_DIRTY, &hip->flags)) {
336 if (test_and_clear_bit(HFSPLUS_I_ALLOC_DIRTY, &hip->flags)) {
373 struct hfsplus_inode_info *hip;
383 hip = HFSPLUS_I(inode);
384 INIT_LIST_HEAD(&hip->open_dir_list);
385 spin_lock_init(&hip->open_dir_lock);
386 mutex_init(&hip->extents_lock);
387 atomic_set(&hip->opencnt, 0);
388 hip->extent_state = 0;
389 hip->flags = 0;
390 hip->userflags = 0;
391 hip->subfolders = 0;
392 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec));
393 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec));
394 hip->alloc_blocks = 0;
395 hip->first_blocks = 0;
396 hip->cached_start = 0;
397 hip->cached_blocks = 0;
398 hip->phys_size = 0;
399 hip->fs_blocks = 0;
400 hip->rsrc_inode = NULL;
411 hip->clump_blocks = sbi->data_clump_blocks;
417 hip->clump_blocks = 1;
453 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
457 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec));
460 hip->first_blocks = count;
461 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec));
462 hip->cached_start = 0;
463 hip->cached_blocks = 0;
465 hip->alloc_blocks = be32_to_cpu(fork->total_blocks);
466 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size);
467 hip->fs_blocks =
469 inode_set_bytes(inode, hip->fs_blocks << sb->s_blocksize_bits);
470 hip->clump_blocks =
472 if (!hip->clump_blocks) {
473 hip->clump_blocks = HFSPLUS_IS_RSRC(inode) ?