Home
last modified time | relevance | path

Searched refs:iinfo (Results 1 – 13 of 13) sorted by relevance

/fs/udf/
Dinode.c73 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_clear_extent_cache() local
75 if (iinfo->cached_extent.lstart != -1) { in __udf_clear_extent_cache()
76 brelse(iinfo->cached_extent.epos.bh); in __udf_clear_extent_cache()
77 iinfo->cached_extent.lstart = -1; in __udf_clear_extent_cache()
84 struct udf_inode_info *iinfo = UDF_I(inode); in udf_clear_extent_cache() local
86 spin_lock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
88 spin_unlock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
95 struct udf_inode_info *iinfo = UDF_I(inode); in udf_read_extent_cache() local
98 spin_lock(&iinfo->i_extent_cache_lock); in udf_read_extent_cache()
99 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache()
[all …]
Dialloc.c56 struct udf_inode_info *iinfo; in udf_new_inode() local
67 iinfo = UDF_I(inode); in udf_new_inode()
69 iinfo->i_efe = 1; in udf_new_inode()
72 iinfo->i_ext.i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
76 iinfo->i_efe = 0; in udf_new_inode()
77 iinfo->i_ext.i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
81 if (!iinfo->i_ext.i_data) { in udf_new_inode()
98 iinfo->i_unique = lvid_get_unique_id(sb); in udf_new_inode()
111 iinfo->i_location.logicalBlockNum = block; in udf_new_inode()
112 iinfo->i_location.partitionReferenceNum = in udf_new_inode()
[all …]
Dmisc.c54 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_extendedattr() local
56 ea = iinfo->i_ext.i_data; in udf_add_extendedattr()
57 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
58 ad = iinfo->i_ext.i_data + iinfo->i_lenEAttr; in udf_add_extendedattr()
65 iinfo->i_lenAlloc; in udf_add_extendedattr()
73 if (iinfo->i_lenAlloc) in udf_add_extendedattr()
74 memmove(&ad[size], ad, iinfo->i_lenAlloc); in udf_add_extendedattr()
76 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
81 iinfo->i_location.logicalBlockNum) in udf_add_extendedattr()
87 iinfo->i_lenEAttr += in udf_add_extendedattr()
[all …]
Dtruncate.c76 struct udf_inode_info *iinfo = UDF_I(inode); in udf_truncate_tail_extent() local
78 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_truncate_tail_extent()
79 inode->i_size == iinfo->i_lenExtents) in udf_truncate_tail_extent()
85 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_truncate_tail_extent()
87 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_truncate_tail_extent()
118 iinfo->i_lenExtents = inode->i_size; in udf_truncate_tail_extent()
130 struct udf_inode_info *iinfo = UDF_I(inode); in udf_discard_prealloc() local
132 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_discard_prealloc()
133 inode->i_size == iinfo->i_lenExtents) in udf_discard_prealloc()
136 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_discard_prealloc()
[all …]
Dfile.c46 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_adinicb_readpage() local
49 memcpy(kaddr, iinfo->i_ext.i_data + iinfo->i_lenEAttr, inode->i_size); in __udf_adinicb_readpage()
70 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_writepage() local
75 memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr, kaddr, inode->i_size); in udf_adinicb_writepage()
111 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_write_end() local
114 memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr + offset, in udf_adinicb_write_end()
145 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_aio_write() local
147 down_write(&iinfo->i_data_sem); in udf_file_aio_write()
148 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_file_aio_write()
164 iinfo->i_lenAlloc = pos + count; in udf_file_aio_write()
[all …]
Dsymlink.c109 struct udf_inode_info *iinfo; in udf_symlink_filler() local
118 iinfo = UDF_I(inode); in udf_symlink_filler()
121 down_read(&iinfo->i_data_sem); in udf_symlink_filler()
122 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler()
123 symlink = iinfo->i_ext.i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
140 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
147 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
Dballoc.c362 struct udf_inode_info *iinfo; in udf_table_free_blocks() local
375 iinfo = UDF_I(table); in udf_table_free_blocks()
383 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
462 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_free_blocks()
464 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_free_blocks()
496 sptr = iinfo->i_ext.i_data + epos.offset in udf_table_free_blocks()
513 sptr = iinfo->i_ext.i_data + in udf_table_free_blocks()
515 iinfo->i_lenAlloc += adsize; in udf_table_free_blocks()
529 switch (iinfo->i_alloc_type) { in udf_table_free_blocks()
560 iinfo->i_lenAlloc += adsize; in udf_table_free_blocks()
[all …]
Dnamei.c561 struct udf_inode_info *iinfo; in udf_create() local
568 iinfo = UDF_I(inode); in udf_create()
569 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in udf_create()
584 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_create()
586 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_create()
605 struct udf_inode_info *iinfo; in udf_mknod() local
615 iinfo = UDF_I(inode); in udf_mknod()
624 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_mknod()
626 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mknod()
649 struct udf_inode_info *iinfo; in udf_mkdir() local
[all …]
Ddir.c59 struct udf_inode_info *iinfo; in do_udf_readdir() local
74 iinfo = UDF_I(dir); in do_udf_readdir()
75 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in do_udf_readdir()
84 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in do_udf_readdir()
86 else if (iinfo->i_alloc_type == in do_udf_readdir()
Dudfdecl.h57 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_entry_alloc_offset() local
58 if (iinfo->i_use) in udf_file_entry_alloc_offset()
60 else if (iinfo->i_efe) in udf_file_entry_alloc_offset()
61 return sizeof(struct extendedFileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
63 return sizeof(struct fileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
Ddirectory.c31 struct udf_inode_info *iinfo = UDF_I(dir); in udf_fileident_read() local
35 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fileident_read()
36 fi = udf_get_fileident(iinfo->i_ext.i_data - in udf_fileident_read()
37 (iinfo->i_efe ? in udf_fileident_read()
Dpartition.c57 struct udf_inode_info *iinfo = UDF_I(sbi->s_vat_inode); in udf_get_pblock_virt15() local
68 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_get_pblock_virt15()
69 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + in udf_get_pblock_virt15()
97 if (iinfo->i_location.partitionReferenceNum == partition) { in udf_get_pblock_virt15()
103 iinfo->i_location.partitionReferenceNum, in udf_get_pblock_virt15()
/fs/ceph/
Dinode.c555 struct ceph_mds_reply_info_in *iinfo, in fill_inode() argument
561 struct ceph_mds_reply_inode *info = iinfo->in; in fill_inode()
580 if (iinfo->xattr_len > 4) { in fill_inode()
581 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in fill_inode()
584 iinfo->xattr_len); in fill_inode()
656 iinfo->xattr_data, iinfo->xattr_len); in fill_inode()
680 u32 symlen = iinfo->symlink_len; in fill_inode()
690 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); in fill_inode()
705 ci->i_dir_layout = iinfo->dir_layout; in fill_inode()