Searched refs:adsize (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/udf/
H A Dtruncate.c74 int adsize; udf_truncate_tail_extent() local
85 adsize = sizeof(struct short_ad); udf_truncate_tail_extent()
87 adsize = sizeof(struct long_ad); udf_truncate_tail_extent()
105 epos.offset -= adsize; udf_truncate_tail_extent()
107 epos.offset += adsize; udf_truncate_tail_extent()
128 int adsize; udf_discard_prealloc() local
136 adsize = sizeof(struct short_ad); udf_discard_prealloc()
138 adsize = sizeof(struct long_ad); udf_discard_prealloc()
140 adsize = 0; udf_discard_prealloc()
150 epos.offset -= adsize; udf_discard_prealloc()
211 int adsize; udf_truncate_extents() local
215 adsize = sizeof(struct short_ad); udf_truncate_extents()
217 adsize = sizeof(struct long_ad); udf_truncate_extents()
229 epos.offset -= adsize; udf_truncate_extents()
231 epos.offset += adsize; udf_truncate_extents()
235 lenalloc = epos.offset - adsize; udf_truncate_extents()
271 epos.offset += adsize; udf_truncate_extents()
H A Dballoc.c449 int adsize; udf_table_free_blocks() local
459 adsize = sizeof(struct short_ad); udf_table_free_blocks()
461 adsize = sizeof(struct long_ad); udf_table_free_blocks()
468 if (epos.offset + (2 * adsize) > sb->s_blocksize) { udf_table_free_blocks()
489 if (epos.offset + adsize > sb->s_blocksize) { udf_table_free_blocks()
491 aed->lengthAllocDescs = cpu_to_le32(adsize); udf_table_free_blocks()
493 - adsize; udf_table_free_blocks()
496 memcpy(dptr, sptr, adsize); udf_table_free_blocks()
498 adsize; udf_table_free_blocks()
500 loffset = epos.offset + adsize; udf_table_free_blocks()
507 adsize); udf_table_free_blocks()
511 iinfo->i_lenAlloc += adsize; udf_table_free_blocks()
556 iinfo->i_lenAlloc += adsize; udf_table_free_blocks()
560 le32_add_cpu(&aed->lengthAllocDescs, adsize); udf_table_free_blocks()
581 uint32_t elen, adsize; udf_table_prealloc_blocks() local
592 adsize = sizeof(struct short_ad); udf_table_prealloc_blocks()
594 adsize = sizeof(struct long_ad); udf_table_prealloc_blocks()
612 epos.offset -= adsize; udf_table_prealloc_blocks()
642 uint32_t newblock = 0, adsize; udf_table_new_block() local
652 adsize = sizeof(struct short_ad); udf_table_new_block()
654 adsize = sizeof(struct long_ad); udf_table_new_block()
692 goal_epos.offset = epos.offset - adsize; udf_table_new_block()
H A Dinode.c608 int adsize; udf_extend_file() local
614 adsize = sizeof(struct short_ad); udf_extend_file()
616 adsize = sizeof(struct long_ad); udf_extend_file()
641 epos.offset -= adsize; udf_extend_file()
1877 int adsize; udf_add_aext() local
1892 adsize = sizeof(struct short_ad); udf_add_aext()
1894 adsize = sizeof(struct long_ad); udf_add_aext()
1898 if (epos->offset + (2 * adsize) > inode->i_sb->s_blocksize) { udf_add_aext()
1924 if (epos->offset + adsize > inode->i_sb->s_blocksize) { udf_add_aext()
1926 aed->lengthAllocDescs = cpu_to_le32(adsize); udf_add_aext()
1927 sptr = ptr - adsize; udf_add_aext()
1929 memcpy(dptr, sptr, adsize); udf_add_aext()
1930 epos->offset = sizeof(struct allocExtDesc) + adsize; udf_add_aext()
1932 loffset = epos->offset + adsize; udf_add_aext()
1939 le32_add_cpu(&aed->lengthAllocDescs, adsize); udf_add_aext()
1941 iinfo->i_lenAlloc += adsize; udf_add_aext()
1985 iinfo->i_lenAlloc += adsize; udf_add_aext()
1989 le32_add_cpu(&aed->lengthAllocDescs, adsize); udf_add_aext()
1993 epos->offset + (inc ? 0 : adsize)); udf_add_aext()
2006 int adsize; udf_write_aext() local
2024 adsize = sizeof(struct short_ad); udf_write_aext()
2031 adsize = sizeof(struct long_ad); udf_write_aext()
2052 epos->offset += adsize; udf_write_aext()
2171 int adsize; udf_delete_aext() local
2183 adsize = sizeof(struct short_ad); udf_delete_aext()
2185 adsize = sizeof(struct long_ad); udf_delete_aext()
2187 adsize = 0; udf_delete_aext()
2200 oepos.offset = epos.offset - adsize; udf_delete_aext()
2211 iinfo->i_lenAlloc -= (adsize * 2); udf_delete_aext()
2215 le32_add_cpu(&aed->lengthAllocDescs, -(2 * adsize)); udf_delete_aext()
2219 oepos.offset - (2 * adsize)); udf_delete_aext()
2228 iinfo->i_lenAlloc -= adsize; udf_delete_aext()
2232 le32_add_cpu(&aed->lengthAllocDescs, -adsize); udf_delete_aext()
2236 epos.offset - adsize); udf_delete_aext()

Completed in 130 milliseconds