Searched refs:iinfo (Results 1 – 12 of 12) sorted by relevance
/fs/udf/ |
D | inode.c | 101 struct udf_inode_info *iinfo; in udf_clear_inode() local 111 iinfo = UDF_I(inode); in udf_clear_inode() 112 kfree(iinfo->i_ext.i_data); in udf_clear_inode() 113 iinfo->i_ext.i_data = NULL; in udf_clear_inode() 153 struct udf_inode_info *iinfo = UDF_I(inode); in udf_expand_file_adinicb() local 162 if (!iinfo->i_lenAlloc) { in udf_expand_file_adinicb() 164 iinfo->i_alloc_type = ICBTAG_FLAG_AD_SHORT; in udf_expand_file_adinicb() 166 iinfo->i_alloc_type = ICBTAG_FLAG_AD_LONG; in udf_expand_file_adinicb() 176 memset(kaddr + iinfo->i_lenAlloc, 0x00, in udf_expand_file_adinicb() 177 PAGE_CACHE_SIZE - iinfo->i_lenAlloc); in udf_expand_file_adinicb() [all …]
|
D | ialloc.c | 67 struct udf_inode_info *iinfo; in udf_new_inode() local 78 iinfo = UDF_I(inode); in udf_new_inode() 80 iinfo->i_efe = 1; in udf_new_inode() 83 iinfo->i_ext.i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode() 87 iinfo->i_efe = 0; in udf_new_inode() 88 iinfo->i_ext.i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode() 92 if (!iinfo->i_ext.i_data) { in udf_new_inode() 121 iinfo->i_unique = uniqueID = le64_to_cpu(lvhd->uniqueID); in udf_new_inode() 138 iinfo->i_location.logicalBlockNum = block; in udf_new_inode() 139 iinfo->i_location.partitionReferenceNum = in udf_new_inode() [all …]
|
D | misc.c | 54 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 …]
|
D | truncate.c | 76 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() 120 iinfo->i_lenExtents = inode->i_size; in udf_truncate_tail_extent() 132 struct udf_inode_info *iinfo = UDF_I(inode); in udf_discard_prealloc() local 134 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_discard_prealloc() 135 inode->i_size == iinfo->i_lenExtents) in udf_discard_prealloc() 138 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_discard_prealloc() [all …]
|
D | file.c | 47 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_readpage() local 53 memcpy(kaddr, iinfo->i_ext.i_data + iinfo->i_lenEAttr, inode->i_size); in udf_adinicb_readpage() 67 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_writepage() local 72 memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr, kaddr, inode->i_size); in udf_adinicb_writepage() 89 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_write_end() local 92 memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr + offset, in udf_adinicb_write_end() 115 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_aio_write() local 117 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_file_aio_write() 127 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_file_aio_write() 133 iinfo->i_lenAlloc = pos + count; in udf_file_aio_write() [all …]
|
D | symlink.c | 81 struct udf_inode_info *iinfo; in udf_symlink_filler() local 84 iinfo = UDF_I(inode); in udf_symlink_filler() 85 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler() 86 symlink = iinfo->i_ext.i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
|
D | balloc.c | 438 struct udf_inode_info *iinfo; in udf_table_free_blocks() local 451 iinfo = UDF_I(table); in udf_table_free_blocks() 464 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks() 543 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_free_blocks() 545 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_free_blocks() 577 sptr = iinfo->i_ext.i_data + epos.offset in udf_table_free_blocks() 594 sptr = iinfo->i_ext.i_data + in udf_table_free_blocks() 596 iinfo->i_lenAlloc += adsize; in udf_table_free_blocks() 610 switch (iinfo->i_alloc_type) { in udf_table_free_blocks() 641 iinfo->i_lenAlloc += adsize; in udf_table_free_blocks() [all …]
|
D | namei.c | 545 struct udf_inode_info *iinfo; in udf_create() local 554 iinfo = UDF_I(inode); in udf_create() 555 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in udf_create() 573 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_create() 575 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_create() 595 struct udf_inode_info *iinfo; in udf_mknod() local 606 iinfo = UDF_I(inode); in udf_mknod() 618 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_mknod() 620 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mknod() 644 struct udf_inode_info *iinfo; in udf_mkdir() local [all …]
|
D | udfdecl.h | 48 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()
|
D | dir.c | 60 struct udf_inode_info *iinfo; in do_udf_readdir() local 75 iinfo = UDF_I(dir); in do_udf_readdir() 76 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in do_udf_readdir() 85 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in do_udf_readdir() 87 else if (iinfo->i_alloc_type == in do_udf_readdir()
|
D | partition.c | 57 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()
|
D | directory.c | 84 struct udf_inode_info *iinfo = UDF_I(dir); in udf_fileident_read() local 88 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fileident_read() 89 fi = udf_get_fileident(iinfo->i_ext.i_data - in udf_fileident_read() 90 (iinfo->i_efe ? in udf_fileident_read()
|