Home
last modified time | relevance | path

Searched refs:hip (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/fs/hfsplus/
Dextents.c89 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in __hfsplus_ext_write_extent() local
92 WARN_ON(!mutex_is_locked(&hip->extents_lock)); in __hfsplus_ext_write_extent()
94 hfsplus_ext_build_key(fd->search_key, inode->i_ino, hip->cached_start, in __hfsplus_ext_write_extent()
99 if (hip->extent_state & HFSPLUS_EXT_NEW) { in __hfsplus_ext_write_extent()
102 hfs_brec_insert(fd, hip->cached_extents, in __hfsplus_ext_write_extent()
104 hip->extent_state &= ~(HFSPLUS_EXT_DIRTY | HFSPLUS_EXT_NEW); in __hfsplus_ext_write_extent()
108 hfs_bnode_write(fd->bnode, hip->cached_extents, in __hfsplus_ext_write_extent()
110 hip->extent_state &= ~HFSPLUS_EXT_DIRTY; in __hfsplus_ext_write_extent()
119 set_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags); in __hfsplus_ext_write_extent()
175 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in __hfsplus_ext_cache_extent() local
[all …]
Dinode.c282 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_file_fsync() local
299 if (test_and_clear_bit(HFSPLUS_I_CAT_DIRTY, &hip->flags)) in hfsplus_file_fsync()
302 if (test_and_clear_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
309 if (test_and_clear_bit(HFSPLUS_I_ATTR_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
321 if (test_and_clear_bit(HFSPLUS_I_ALLOC_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
363 struct hfsplus_inode_info *hip; in hfsplus_new_inode() local
375 hip = HFSPLUS_I(inode); in hfsplus_new_inode()
376 INIT_LIST_HEAD(&hip->open_dir_list); in hfsplus_new_inode()
377 mutex_init(&hip->extents_lock); in hfsplus_new_inode()
378 atomic_set(&hip->opencnt, 0); in hfsplus_new_inode()
[all …]
Dioctl.c62 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_ioctl_getflags() local
69 if (hip->userflags & HFSPLUS_FLG_NODUMP) in hfsplus_ioctl_getflags()
78 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfsplus_ioctl_setflags() local
121 hip->userflags |= HFSPLUS_FLG_NODUMP; in hfsplus_ioctl_setflags()
123 hip->userflags &= ~HFSPLUS_FLG_NODUMP; in hfsplus_ioctl_setflags()
Dxattr.c131 struct hfsplus_inode_info *hip; in hfsplus_create_attributes_file() local
182 hip = HFSPLUS_I(attr_file); in hfsplus_create_attributes_file()
189 mutex_lock(&hip->extents_lock); in hfsplus_create_attributes_file()
190 hip->clump_blocks = clump_size >> sbi->alloc_blksz_shift; in hfsplus_create_attributes_file()
191 mutex_unlock(&hip->extents_lock); in hfsplus_create_attributes_file()
193 if (sbi->free_blocks <= (hip->clump_blocks << 1)) { in hfsplus_create_attributes_file()
198 while (hip->alloc_blocks < hip->clump_blocks) { in hfsplus_create_attributes_file()
204 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
205 (loff_t)hip->alloc_blocks << sbi->alloc_blksz_shift; in hfsplus_create_attributes_file()
206 hip->fs_blocks = hip->alloc_blocks << sbi->fs_shift; in hfsplus_create_attributes_file()
Dbtree.c357 struct hfsplus_inode_info *hip = HFSPLUS_I(inode); in hfs_bmap_alloc() local
364 hip->phys_size = inode->i_size = in hfs_bmap_alloc()
365 (loff_t)hip->alloc_blocks << in hfs_bmap_alloc()
367 hip->fs_blocks = in hfs_bmap_alloc()
368 hip->alloc_blocks << HFSPLUS_SB(tree->sb)->fs_shift; in hfs_bmap_alloc()
/linux-4.1.27/net/802/
Dhippi.c50 struct hippi_hdr *hip = (struct hippi_hdr *)skb_push(skb, HIPPI_HLEN); in hippi_header() local
62 hip->fp.fixed = htonl(0x04800018); in hippi_header()
63 hip->fp.d2_size = htonl(len + 8); in hippi_header()
64 hip->le.fc = 0; in hippi_header()
65 hip->le.double_wide = 0; /* only HIPPI 800 for the time being */ in hippi_header()
66 hip->le.message_type = 0; /* Data PDU */ in hippi_header()
68 hip->le.dest_addr_type = 2; /* 12 bit SC address */ in hippi_header()
69 hip->le.src_addr_type = 2; /* 12 bit SC address */ in hippi_header()
71 memcpy(hip->le.src_switch_addr, dev->dev_addr + 3, 3); in hippi_header()
72 memset(&hip->le.reserved, 0, 16); in hippi_header()
[all …]
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_debugfs.c274 struct lpfc_hbq_init *hip; in lpfc_debugfs_hbqinfo_data() local
304 hip = lpfc_hbq_defs[i]; in lpfc_debugfs_hbqinfo_data()
307 hip->hbq_index, hip->profile, hip->rn, in lpfc_debugfs_hbqinfo_data()
308 hip->buffer_count, hip->init_count, hip->add_count, posted); in lpfc_debugfs_hbqinfo_data()
/linux-4.1.27/fs/reiserfs/
DREADME78 hip, get with the new economic trend, before your competitors do. Send