Lines Matching refs:extLength
489 int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
503 if (last_ext->extLength & (sb->s_blocksize - 1)) { in udf_do_extend_file()
504 last_ext->extLength = in udf_do_extend_file()
505 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) | in udf_do_extend_file()
506 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_do_extend_file()
514 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
518 prealloc_len = last_ext->extLength; in udf_do_extend_file()
520 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
521 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
527 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
530 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
534 last_ext->extLength += add; in udf_do_extend_file()
539 last_ext->extLength, 1); in udf_do_extend_file()
546 last_ext->extLength, 1); in udf_do_extend_file()
562 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add; in udf_do_extend_file()
568 last_ext->extLength, 1); in udf_do_extend_file()
574 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
577 last_ext->extLength, 1); in udf_do_extend_file()
591 last_ext->extLength = prealloc_len; in udf_do_extend_file()
616 (last_ext->extLength & (sb->s_blocksize - 1)); in udf_do_extend_final_block()
617 last_ext->extLength += added_bytes; in udf_do_extend_final_block()
621 last_ext->extLength, 1); in udf_do_extend_final_block()
656 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
660 &extent.extLength, 0); in udf_extend_file()
661 extent.extLength |= etype << 30; in udf_extend_file()
743 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
790 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
807 if ((laarr[0].extLength & UDF_EXTENT_FLAG_MASK) != in inode_getblk()
813 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
838 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
849 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
922 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
923 (laarr[*c].extLength >> 30) == in udf_split_extents()
926 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
928 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
945 laarr[curr].extLength = in udf_split_extents()
952 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
963 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
971 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
991 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
995 (((laarr[c + 1].extLength & in udf_prealloc_extents()
1007 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
1009 length += (((laarr[i].extLength & in udf_prealloc_extents()
1019 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
1029 laarr[start].extLength += in udf_prealloc_extents()
1040 laarr[c + 1].extLength = in udf_prealloc_extents()
1048 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1054 laarr[i].extLength -= in udf_prealloc_extents()
1086 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1087 (((li->extLength >> 30) == in udf_merge_extents()
1091 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1094 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1095 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1097 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1098 (li->extLength & in udf_merge_extents()
1102 li->extLength = (li->extLength & in udf_merge_extents()
1108 ((li->extLength & in udf_merge_extents()
1112 li->extLength = lip1->extLength + in udf_merge_extents()
1113 (((li->extLength & in udf_merge_extents()
1123 } else if (((li->extLength >> 30) == in udf_merge_extents()
1125 ((lip1->extLength >> 30) == in udf_merge_extents()
1128 ((li->extLength & in udf_merge_extents()
1134 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1135 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1137 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1138 (li->extLength & in udf_merge_extents()
1142 li->extLength = (li->extLength & in udf_merge_extents()
1147 li->extLength = lip1->extLength + in udf_merge_extents()
1148 (((li->extLength & in udf_merge_extents()
1158 } else if ((li->extLength >> 30) == in udf_merge_extents()
1162 ((li->extLength & in udf_merge_extents()
1167 li->extLength = (li->extLength & in udf_merge_extents()
1188 laarr[i].extLength); in udf_update_extents()
1190 &laarr[i].extLength, 1); in udf_update_extents()
1198 laarr[i].extLength, 1); in udf_update_extents()
1368 if (ie->indirectICB.extLength) { in udf_read_inode()
1514 iinfo->i_streamdir = (efe->streamDirectoryICB.extLength != 0); in udf_read_inode()
1807 icb_lad->extLength = in udf_update_inode()
2100 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2106 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2202 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2206 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2212 etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2214 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()