Lines Matching refs:hip

276 	struct hfsplus_inode_info *hip = HFSPLUS_I(inode);  in hfsplus_file_fsync()  local
293 if (test_and_clear_bit(HFSPLUS_I_CAT_DIRTY, &hip->flags)) in hfsplus_file_fsync()
296 if (test_and_clear_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
303 if (test_and_clear_bit(HFSPLUS_I_ATTR_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
315 if (test_and_clear_bit(HFSPLUS_I_ALLOC_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
351 struct hfsplus_inode_info *hip; in hfsplus_new_inode() local
361 hip = HFSPLUS_I(inode); in hfsplus_new_inode()
362 INIT_LIST_HEAD(&hip->open_dir_list); in hfsplus_new_inode()
363 spin_lock_init(&hip->open_dir_lock); in hfsplus_new_inode()
364 mutex_init(&hip->extents_lock); in hfsplus_new_inode()
365 atomic_set(&hip->opencnt, 0); in hfsplus_new_inode()
366 hip->extent_state = 0; in hfsplus_new_inode()
367 hip->flags = 0; in hfsplus_new_inode()
368 hip->userflags = 0; in hfsplus_new_inode()
369 hip->subfolders = 0; in hfsplus_new_inode()
370 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
371 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
372 hip->alloc_blocks = 0; in hfsplus_new_inode()
373 hip->first_blocks = 0; in hfsplus_new_inode()
374 hip->cached_start = 0; in hfsplus_new_inode()
375 hip->cached_blocks = 0; in hfsplus_new_inode()
376 hip->phys_size = 0; in hfsplus_new_inode()
377 hip->fs_blocks = 0; in hfsplus_new_inode()
378 hip->rsrc_inode = NULL; in hfsplus_new_inode()
389 hip->clump_blocks = sbi->data_clump_blocks; in hfsplus_new_inode()
395 hip->clump_blocks = 1; in hfsplus_new_inode()
431 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_inode_read_fork() local
435 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
438 hip->first_blocks = count; in hfsplus_inode_read_fork()
439 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
440 hip->cached_start = 0; in hfsplus_inode_read_fork()
441 hip->cached_blocks = 0; in hfsplus_inode_read_fork()
443 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
444 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
445 hip->fs_blocks = in hfsplus_inode_read_fork()
447 inode_set_bytes(inode, hip->fs_blocks << sb->s_blocksize_bits); in hfsplus_inode_read_fork()
448 hip->clump_blocks = in hfsplus_inode_read_fork()
450 if (!hip->clump_blocks) { in hfsplus_inode_read_fork()
451 hip->clump_blocks = HFSPLUS_IS_RSRC(inode) ? in hfsplus_inode_read_fork()