/fs/udf/ |
D | inode.c | 73 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 …]
|
D | ialloc.c | 55 struct udf_inode_info *iinfo; in udf_new_inode() local 65 iinfo = UDF_I(inode); in udf_new_inode() 67 iinfo->i_efe = 1; in udf_new_inode() 70 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode() 74 iinfo->i_efe = 0; in udf_new_inode() 75 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode() 79 if (!iinfo->i_data) { in udf_new_inode() 97 iinfo->i_unique = lvid_get_unique_id(sb); in udf_new_inode() 98 inode->i_generation = iinfo->i_unique; in udf_new_inode() 114 iinfo->i_location.logicalBlockNum = block; in udf_new_inode() [all …]
|
D | misc.c | 53 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_extendedattr() local 55 ea = iinfo->i_data; in udf_add_extendedattr() 56 if (iinfo->i_lenEAttr) { in udf_add_extendedattr() 57 ad = iinfo->i_data + iinfo->i_lenEAttr; in udf_add_extendedattr() 64 iinfo->i_lenAlloc; in udf_add_extendedattr() 72 if (iinfo->i_lenAlloc) in udf_add_extendedattr() 73 memmove(&ad[size], ad, iinfo->i_lenAlloc); in udf_add_extendedattr() 75 if (iinfo->i_lenEAttr) { in udf_add_extendedattr() 80 iinfo->i_location.logicalBlockNum) in udf_add_extendedattr() 86 iinfo->i_lenEAttr += in udf_add_extendedattr() [all …]
|
D | truncate.c | 75 struct udf_inode_info *iinfo = UDF_I(inode); in udf_truncate_tail_extent() local 77 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_truncate_tail_extent() 78 inode->i_size == iinfo->i_lenExtents) in udf_truncate_tail_extent() 84 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_truncate_tail_extent() 86 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_truncate_tail_extent() 117 iinfo->i_lenExtents = inode->i_size; in udf_truncate_tail_extent() 129 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 ALIGN(inode->i_size, bsize) == ALIGN(iinfo->i_lenExtents, bsize)) in udf_discard_prealloc() 136 epos.block = iinfo->i_location; in udf_discard_prealloc() [all …]
|
D | file.c | 45 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_adinicb_readpage() local 53 memcpy(kaddr, iinfo->i_data + iinfo->i_lenEAttr, isize); in __udf_adinicb_readpage() 74 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_writepage() local 79 memcpy(iinfo->i_data + iinfo->i_lenEAttr, kaddr, i_size_read(inode)); in udf_adinicb_writepage() 140 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_write_iter() local 149 down_write(&iinfo->i_data_sem); in udf_file_write_iter() 150 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && in udf_file_write_iter() 160 up_write(&iinfo->i_data_sem); in udf_file_write_iter() 164 down_write(&iinfo->i_data_sem); in udf_file_write_iter() 165 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && retval > 0) in udf_file_write_iter() [all …]
|
D | symlink.c | 111 struct udf_inode_info *iinfo; in udf_symlink_filler() local 120 iinfo = UDF_I(inode); in udf_symlink_filler() 123 down_read(&iinfo->i_data_sem); in udf_symlink_filler() 124 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler() 125 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler() 142 up_read(&iinfo->i_data_sem); in udf_symlink_filler() 148 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
|
D | balloc.c | 393 struct udf_inode_info *iinfo; in udf_table_free_blocks() local 406 iinfo = UDF_I(table); in udf_table_free_blocks() 414 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks() 489 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_free_blocks() 491 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_free_blocks() 531 struct udf_inode_info *iinfo; in udf_table_prealloc_blocks() local 536 iinfo = UDF_I(table); in udf_table_prealloc_blocks() 537 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_prealloc_blocks() 539 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_prealloc_blocks() 546 epos.block = iinfo->i_location; in udf_table_prealloc_blocks() [all …]
|
D | namei.c | 583 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_nondir() local 596 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_add_nondir() 598 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_add_nondir() 671 struct udf_inode_info *iinfo; in udf_mkdir() local 677 iinfo = UDF_I(inode); in udf_mkdir() 705 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_mkdir() 707 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mkdir() 896 struct udf_inode_info *iinfo; in udf_symlink() local 902 iinfo = UDF_I(inode); in udf_symlink() 903 down_write(&iinfo->i_data_sem); in udf_symlink() [all …]
|
D | udfdecl.h | 51 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_entry_alloc_offset() local 52 if (iinfo->i_use) in udf_file_entry_alloc_offset() 54 else if (iinfo->i_efe) in udf_file_entry_alloc_offset() 55 return sizeof(struct extendedFileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset() 57 return sizeof(struct fileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
|
D | dir.c | 43 struct udf_inode_info *iinfo = UDF_I(dir); in udf_readdir() local 98 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_readdir() 107 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_readdir() 109 else if (iinfo->i_alloc_type == in udf_readdir()
|
D | directory.c | 32 struct udf_inode_info *iinfo = UDF_I(dir); in udf_fileident_read() local 36 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fileident_read() 37 fi = udf_get_fileident(iinfo->i_data - in udf_fileident_read() 38 (iinfo->i_efe ? in udf_fileident_read()
|
D | partition.c | 56 struct udf_inode_info *iinfo = UDF_I(sbi->s_vat_inode); in udf_get_pblock_virt15() local 67 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_get_pblock_virt15() 68 loc = le32_to_cpu(((__le32 *)(iinfo->i_data + in udf_get_pblock_virt15() 96 if (iinfo->i_location.partitionReferenceNum == partition) { in udf_get_pblock_virt15() 102 iinfo->i_location.partitionReferenceNum, in udf_get_pblock_virt15()
|
/fs/ceph/ |
D | inode.c | 741 struct ceph_mds_reply_info_in *iinfo, in ceph_fill_inode() argument 747 struct ceph_mds_reply_inode *info = iinfo->in; in ceph_fill_inode() 781 if (iinfo->xattr_len > 4) { in ceph_fill_inode() 782 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in ceph_fill_inode() 785 iinfo->xattr_len); in ceph_fill_inode() 788 if (iinfo->pool_ns_len > 0) in ceph_fill_inode() 789 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode() 790 iinfo->pool_ns_len); in ceph_fill_inode() 814 inode_set_max_iversion_raw(inode, iinfo->change_attr); in ceph_fill_inode() 829 __ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files); in ceph_fill_inode() [all …]
|
D | file.c | 576 struct ceph_mds_reply_info_in iinfo = { .in = &in }; in ceph_finish_async_create() local 591 iinfo.inline_version = CEPH_INLINE_NONE; in ceph_finish_async_create() 592 iinfo.change_attr = 1; in ceph_finish_async_create() 593 ceph_encode_timespec64(&iinfo.btime, &now); in ceph_finish_async_create() 596 iinfo.xattr_len = req->r_pagelist->length; in ceph_finish_async_create() 597 iinfo.xattr_data = req->r_pagelist->mapped_tail; in ceph_finish_async_create() 600 iinfo.xattr_len = ARRAY_SIZE(xattr_buf); in ceph_finish_async_create() 601 iinfo.xattr_data = xattr_buf; in ceph_finish_async_create() 602 memset(iinfo.xattr_data, 0, iinfo.xattr_len); in ceph_finish_async_create() 612 in.ctime = in.mtime = in.atime = iinfo.btime; in ceph_finish_async_create() [all …]
|
D | super.h | 973 struct ceph_mds_reply_info_in *iinfo,
|