Home
last modified time | relevance | path

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

/fs/udf/
Dinode.c72 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_clear_extent_cache() local
74 if (iinfo->cached_extent.lstart != -1) { in __udf_clear_extent_cache()
75 brelse(iinfo->cached_extent.epos.bh); in __udf_clear_extent_cache()
76 iinfo->cached_extent.lstart = -1; in __udf_clear_extent_cache()
83 struct udf_inode_info *iinfo = UDF_I(inode); in udf_clear_extent_cache() local
85 spin_lock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
87 spin_unlock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
94 struct udf_inode_info *iinfo = UDF_I(inode); in udf_read_extent_cache() local
97 spin_lock(&iinfo->i_extent_cache_lock); in udf_read_extent_cache()
98 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache()
[all …]
Dialloc.c37 struct udf_inode_info *iinfo; in udf_new_inode() local
46 iinfo = UDF_I(inode); in udf_new_inode()
48 iinfo->i_efe = 1; in udf_new_inode()
51 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
55 iinfo->i_efe = 0; in udf_new_inode()
56 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
60 if (!iinfo->i_data) { in udf_new_inode()
76 iinfo->i_unique = lvid_get_unique_id(sb); in udf_new_inode()
77 inode->i_generation = iinfo->i_unique; in udf_new_inode()
85 iinfo->i_location.logicalBlockNum = block; in udf_new_inode()
[all …]
Dmisc.c33 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_extendedattr() local
35 ea = iinfo->i_data; in udf_add_extendedattr()
36 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
37 ad = iinfo->i_data + iinfo->i_lenEAttr; in udf_add_extendedattr()
44 iinfo->i_lenAlloc; in udf_add_extendedattr()
52 if (iinfo->i_lenAlloc) in udf_add_extendedattr()
53 memmove(&ad[size], ad, iinfo->i_lenAlloc); in udf_add_extendedattr()
55 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
60 iinfo->i_location.logicalBlockNum) in udf_add_extendedattr()
66 iinfo->i_lenEAttr += in udf_add_extendedattr()
[all …]
Dtruncate.c71 struct udf_inode_info *iinfo = UDF_I(inode); in udf_truncate_tail_extent() local
73 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_truncate_tail_extent()
74 inode->i_size == iinfo->i_lenExtents) in udf_truncate_tail_extent()
80 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_truncate_tail_extent()
82 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_truncate_tail_extent()
113 iinfo->i_lenExtents = inode->i_size; in udf_truncate_tail_extent()
125 struct udf_inode_info *iinfo = UDF_I(inode); in udf_discard_prealloc() local
128 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_discard_prealloc()
129 ALIGN(inode->i_size, bsize) == ALIGN(iinfo->i_lenExtents, bsize)) in udf_discard_prealloc()
132 epos.block = iinfo->i_location; in udf_discard_prealloc()
[all …]
Dnamei.c142 struct udf_inode_info *iinfo = UDF_I(inode); in udf_expand_dir_adinicb() local
153 iinfo->i_alloc_type = alloctype; in udf_expand_dir_adinicb()
160 iinfo->i_location.partitionReferenceNum, in udf_expand_dir_adinicb()
161 iinfo->i_location.logicalBlockNum, &ret); in udf_expand_dir_adinicb()
165 iinfo->i_location.partitionReferenceNum, in udf_expand_dir_adinicb()
173 memcpy(dbh->b_data, iinfo->i_data, inode->i_size); in udf_expand_dir_adinicb()
180 iinfo->i_alloc_type = alloctype; in udf_expand_dir_adinicb()
181 memset(iinfo->i_data + iinfo->i_lenEAttr, 0, iinfo->i_lenAlloc); in udf_expand_dir_adinicb()
182 iinfo->i_lenAlloc = 0; in udf_expand_dir_adinicb()
185 iinfo->i_location.partitionReferenceNum; in udf_expand_dir_adinicb()
[all …]
Ddirectory.c69 struct udf_inode_info *iinfo = UDF_I(iter->dir); in udf_copy_fi() local
85 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_copy_fi()
86 memcpy(&iter->fi, iinfo->i_data + iinfo->i_lenEAttr + iter->pos, in udf_copy_fi()
91 iter->name = iinfo->i_data + iinfo->i_lenEAttr + iter->pos + in udf_copy_fi()
241 struct udf_inode_info *iinfo = UDF_I(dir); in udf_fiiter_init() local
257 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fiiter_init()
402 struct udf_inode_info *iinfo = UDF_I(iter->dir); in udf_fiiter_write_fi() local
408 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fiiter_write_fi()
409 buf1 = iinfo->i_data + iinfo->i_lenEAttr; in udf_fiiter_write_fi()
423 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fiiter_write_fi()
[all …]
Dballoc.c389 struct udf_inode_info *iinfo; in udf_table_free_blocks() local
392 iinfo = UDF_I(table); in udf_table_free_blocks()
400 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
475 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_free_blocks()
477 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_free_blocks()
517 struct udf_inode_info *iinfo; in udf_table_prealloc_blocks() local
522 iinfo = UDF_I(table); in udf_table_prealloc_blocks()
523 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_prealloc_blocks()
525 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_prealloc_blocks()
532 epos.block = iinfo->i_location; in udf_table_prealloc_blocks()
[all …]
Dfile.c93 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_write_iter() local
101 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && in udf_file_write_iter()
113 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && retval > 0) { in udf_file_write_iter()
114 down_write(&iinfo->i_data_sem); in udf_file_write_iter()
115 iinfo->i_lenAlloc = inode->i_size; in udf_file_write_iter()
116 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
Dsymlink.c108 struct udf_inode_info *iinfo = UDF_I(inode); in udf_symlink_filler() local
116 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler()
117 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
Dudfdecl.h48 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_entry_alloc_offset() local
49 if (iinfo->i_use) in udf_file_entry_alloc_offset()
51 else if (iinfo->i_efe) in udf_file_entry_alloc_offset()
52 return sizeof(struct extendedFileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
54 return sizeof(struct fileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
Dpartition.c52 struct udf_inode_info *iinfo = UDF_I(sbi->s_vat_inode); in udf_get_pblock_virt15() local
64 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_get_pblock_virt15()
65 loc = le32_to_cpu(((__le32 *)(iinfo->i_data + in udf_get_pblock_virt15()
91 if (iinfo->i_location.partitionReferenceNum == partition) { in udf_get_pblock_virt15()
97 iinfo->i_location.partitionReferenceNum, in udf_get_pblock_virt15()
/fs/ceph/
Dinode.c917 struct ceph_mds_reply_info_in *iinfo, in ceph_fill_inode() argument
923 struct ceph_mds_reply_inode *info = iinfo->in; in ceph_fill_inode()
978 if (iinfo->xattr_len > 4) { in ceph_fill_inode()
979 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in ceph_fill_inode()
982 iinfo->xattr_len); in ceph_fill_inode()
985 if (iinfo->pool_ns_len > 0) in ceph_fill_inode()
986 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode()
987 iinfo->pool_ns_len); in ceph_fill_inode()
1011 inode_set_max_iversion_raw(inode, iinfo->change_attr); in ceph_fill_inode()
1017 __ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files); in ceph_fill_inode()
[all …]
Dfile.c622 struct ceph_mds_reply_info_in iinfo = { .in = &in }; in ceph_finish_async_create() local
633 iinfo.inline_version = CEPH_INLINE_NONE; in ceph_finish_async_create()
634 iinfo.change_attr = 1; in ceph_finish_async_create()
635 ceph_encode_timespec64(&iinfo.btime, &now); in ceph_finish_async_create()
638 iinfo.xattr_len = req->r_pagelist->length; in ceph_finish_async_create()
639 iinfo.xattr_data = req->r_pagelist->mapped_tail; in ceph_finish_async_create()
642 iinfo.xattr_len = ARRAY_SIZE(xattr_buf); in ceph_finish_async_create()
643 iinfo.xattr_data = xattr_buf; in ceph_finish_async_create()
644 memset(iinfo.xattr_data, 0, iinfo.xattr_len); in ceph_finish_async_create()
654 in.ctime = in.mtime = in.atime = iinfo.btime; in ceph_finish_async_create()
[all …]
Daddr.c296 struct ceph_mds_reply_info_in *iinfo; in ceph_netfs_issue_op_inline() local
327 iinfo = &rinfo->targeti; in ceph_netfs_issue_op_inline()
328 if (iinfo->inline_version == CEPH_INLINE_NONE) { in ceph_netfs_issue_op_inline()
334 len = min_t(size_t, iinfo->inline_len - subreq->start, subreq->len); in ceph_netfs_issue_op_inline()
336 err = copy_to_iter(iinfo->inline_data + subreq->start, len, &iter); in ceph_netfs_issue_op_inline()
Dsuper.h1042 struct ceph_mds_reply_info_in *iinfo,