Lines Matching refs:extLength
516 int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
528 if (last_ext->extLength & (sb->s_blocksize - 1)) { in udf_do_extend_file()
529 last_ext->extLength = in udf_do_extend_file()
530 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) | in udf_do_extend_file()
531 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_do_extend_file()
540 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
543 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
547 last_ext->extLength += add; in udf_do_extend_file()
552 last_ext->extLength, 1); in udf_do_extend_file()
562 last_ext->extLength, 1); in udf_do_extend_file()
586 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add; in udf_do_extend_file()
592 last_ext->extLength, 1); in udf_do_extend_file()
599 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
602 last_ext->extLength, 1); in udf_do_extend_file()
638 if (new_elen <= (last_ext->extLength & UDF_EXTENT_LENGTH_MASK)) in udf_do_extend_final_block()
640 added_bytes = new_elen - (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_final_block()
641 last_ext->extLength += added_bytes; in udf_do_extend_final_block()
645 last_ext->extLength, 1); in udf_do_extend_final_block()
692 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
696 &extent.extLength, &etype, 0); in udf_extend_file()
699 extent.extLength |= etype << 30; in udf_extend_file()
781 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
836 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
855 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
878 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
891 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
960 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
961 (laarr[*c].extLength >> 30) == in udf_split_extents()
964 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
966 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
983 laarr[curr].extLength = in udf_split_extents()
990 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
1001 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
1009 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
1029 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
1033 (((laarr[c + 1].extLength & in udf_prealloc_extents()
1045 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
1047 length += (((laarr[i].extLength & in udf_prealloc_extents()
1057 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
1067 laarr[start].extLength += in udf_prealloc_extents()
1078 laarr[c + 1].extLength = in udf_prealloc_extents()
1086 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1092 laarr[i].extLength -= in udf_prealloc_extents()
1124 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1125 (((li->extLength >> 30) == in udf_merge_extents()
1129 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1132 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1133 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1135 li->extLength = lip1->extLength + in udf_merge_extents()
1136 (((li->extLength & in udf_merge_extents()
1146 } else if (((li->extLength >> 30) == in udf_merge_extents()
1148 ((lip1->extLength >> 30) == in udf_merge_extents()
1151 ((li->extLength & in udf_merge_extents()
1157 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1158 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1160 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1161 (li->extLength & in udf_merge_extents()
1165 li->extLength = (li->extLength & in udf_merge_extents()
1170 li->extLength = lip1->extLength + in udf_merge_extents()
1171 (((li->extLength & in udf_merge_extents()
1181 } else if ((li->extLength >> 30) == in udf_merge_extents()
1185 ((li->extLength & in udf_merge_extents()
1190 li->extLength = (li->extLength & in udf_merge_extents()
1214 laarr[i].extLength); in udf_update_extents()
1223 &laarr[i].extLength, &tmpetype, 1); in udf_update_extents()
1236 laarr[i].extLength, 1); in udf_update_extents()
1414 if (ie->indirectICB.extLength) { in udf_read_inode()
1567 iinfo->i_streamdir = (efe->streamDirectoryICB.extLength != 0); in udf_read_inode()
1861 icb_lad->extLength = in udf_update_inode()
2167 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2173 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2285 *etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2289 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2295 *etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2297 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()