Lines Matching defs:hip

284 	struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
288 stat->btime = hfsp_mt2ut(hip->create_date);
295 if (hip->userflags & HFSPLUS_FLG_NODUMP)
309 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
326 if (test_and_clear_bit(HFSPLUS_I_CAT_DIRTY, &hip->flags))
329 if (test_and_clear_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags)) {
336 if (test_and_clear_bit(HFSPLUS_I_ATTR_DIRTY, &hip->flags)) {
348 if (test_and_clear_bit(HFSPLUS_I_ALLOC_DIRTY, &hip->flags)) {
387 struct hfsplus_inode_info *hip;
397 hip = HFSPLUS_I(inode);
398 INIT_LIST_HEAD(&hip->open_dir_list);
399 spin_lock_init(&hip->open_dir_lock);
400 mutex_init(&hip->extents_lock);
401 atomic_set(&hip->opencnt, 0);
402 hip->extent_state = 0;
403 hip->flags = 0;
404 hip->userflags = 0;
405 hip->subfolders = 0;
406 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec));
407 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec));
408 hip->alloc_blocks = 0;
409 hip->first_blocks = 0;
410 hip->cached_start = 0;
411 hip->cached_blocks = 0;
412 hip->phys_size = 0;
413 hip->fs_blocks = 0;
414 hip->rsrc_inode = NULL;
425 hip->clump_blocks = sbi->data_clump_blocks;
431 hip->clump_blocks = 1;
467 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
471 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec));
474 hip->first_blocks = count;
475 memset(hip->cached_extents, 0, sizeof(hfsplus_extent_rec));
476 hip->cached_start = 0;
477 hip->cached_blocks = 0;
479 hip->alloc_blocks = be32_to_cpu(fork->total_blocks);
480 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size);
481 hip->fs_blocks =
483 inode_set_bytes(inode, hip->fs_blocks << sb->s_blocksize_bits);
484 hip->clump_blocks =
486 if (!hip->clump_blocks) {
487 hip->clump_blocks = HFSPLUS_IS_RSRC(inode) ?
663 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
670 if (hip->userflags & HFSPLUS_FLG_NODUMP)
682 struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
701 hip->userflags |= HFSPLUS_FLG_NODUMP;
703 hip->userflags &= ~HFSPLUS_FLG_NODUMP;