Lines Matching refs:adsize
651 int adsize; in udf_extend_file() local
658 adsize = sizeof(struct short_ad); in udf_extend_file()
660 adsize = sizeof(struct long_ad); in udf_extend_file()
687 epos.offset -= adsize; in udf_extend_file()
1984 int ver, adsize; in udf_setup_indirect_aext() local
1988 adsize = sizeof(struct short_ad); in udf_setup_indirect_aext()
1990 adsize = sizeof(struct long_ad); in udf_setup_indirect_aext()
2027 if (epos->offset + adsize > sb->s_blocksize) { in udf_setup_indirect_aext()
2032 epos->offset -= adsize; in udf_setup_indirect_aext()
2065 int adsize; in __udf_add_aext() local
2068 adsize = sizeof(struct short_ad); in __udf_add_aext()
2070 adsize = sizeof(struct long_ad); in __udf_add_aext()
2081 WARN_ON(epos->offset + adsize > inode->i_sb->s_blocksize); in __udf_add_aext()
2087 iinfo->i_lenAlloc += adsize; in __udf_add_aext()
2091 le32_add_cpu(&aed->lengthAllocDescs, adsize); in __udf_add_aext()
2095 epos->offset + (inc ? 0 : adsize)); in __udf_add_aext()
2112 int adsize; in udf_add_aext() local
2116 adsize = sizeof(struct short_ad); in udf_add_aext()
2118 adsize = sizeof(struct long_ad); in udf_add_aext()
2122 if (epos->offset + (2 * adsize) > sb->s_blocksize) { in udf_add_aext()
2143 int adsize; in udf_write_aext() local
2161 adsize = sizeof(struct short_ad); in udf_write_aext()
2168 adsize = sizeof(struct long_ad); in udf_write_aext()
2189 epos->offset += adsize; in udf_write_aext()
2325 int adsize; in udf_delete_aext() local
2340 adsize = sizeof(struct short_ad); in udf_delete_aext()
2342 adsize = sizeof(struct long_ad); in udf_delete_aext()
2344 adsize = 0; in udf_delete_aext()
2365 oepos.offset = epos.offset - adsize; in udf_delete_aext()
2376 iinfo->i_lenAlloc -= (adsize * 2); in udf_delete_aext()
2380 le32_add_cpu(&aed->lengthAllocDescs, -(2 * adsize)); in udf_delete_aext()
2384 oepos.offset - (2 * adsize)); in udf_delete_aext()
2393 iinfo->i_lenAlloc -= adsize; in udf_delete_aext()
2397 le32_add_cpu(&aed->lengthAllocDescs, -adsize); in udf_delete_aext()
2401 epos.offset - adsize); in udf_delete_aext()