Lines Matching refs:adsize
1621 int adsize; in udf_add_aext() local
1639 adsize = sizeof(short_ad); in udf_add_aext()
1641 adsize = sizeof(long_ad); in udf_add_aext()
1645 if (*extoffset + (2 * adsize) > inode->i_sb->s_blocksize) in udf_add_aext()
1671 if (*extoffset + adsize > inode->i_sb->s_blocksize) in udf_add_aext()
1674 aed->lengthAllocDescs = cpu_to_le32(adsize); in udf_add_aext()
1675 sptr = (*bh)->b_data + *extoffset - adsize; in udf_add_aext()
1677 memcpy(dptr, sptr, adsize); in udf_add_aext()
1678 *extoffset = sizeof(struct allocExtDesc) + adsize; in udf_add_aext()
1682 loffset = *extoffset + adsize; in udf_add_aext()
1691 cpu_to_le32(le32_to_cpu(aed->lengthAllocDescs) + adsize); in udf_add_aext()
1695 UDF_I_LENALLOC(inode) += adsize; in udf_add_aext()
1740 UDF_I_LENALLOC(inode) += adsize; in udf_add_aext()
1747 cpu_to_le32(le32_to_cpu(aed->lengthAllocDescs) + adsize); in udf_add_aext()
1749 udf_update_tag((*bh)->b_data, *extoffset + (inc ? 0 : adsize)); in udf_add_aext()
1761 int adsize; in udf_write_aext() local
1779 adsize = sizeof(short_ad); in udf_write_aext()
1781 adsize = sizeof(long_ad); in udf_write_aext()
1821 *extoffset += adsize; in udf_write_aext()
2066 int oextoffset, adsize; in udf_delete_aext() local
2085 adsize = sizeof(short_ad); in udf_delete_aext()
2087 adsize = sizeof(long_ad); in udf_delete_aext()
2089 adsize = 0; in udf_delete_aext()
2107 oextoffset = nextoffset - adsize; in udf_delete_aext()
2120 UDF_I_LENALLOC(inode) -= (adsize * 2); in udf_delete_aext()
2127 cpu_to_le32(le32_to_cpu(aed->lengthAllocDescs) - (2*adsize)); in udf_delete_aext()
2129 udf_update_tag((obh)->b_data, oextoffset - (2*adsize)); in udf_delete_aext()
2140 UDF_I_LENALLOC(inode) -= adsize; in udf_delete_aext()
2147 cpu_to_le32(le32_to_cpu(aed->lengthAllocDescs) - adsize); in udf_delete_aext()
2149 udf_update_tag((obh)->b_data, oextoffset - adsize); in udf_delete_aext()