Lines Matching refs:extLength
509 int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
521 if (last_ext->extLength & (sb->s_blocksize - 1)) { in udf_do_extend_file()
522 last_ext->extLength = in udf_do_extend_file()
523 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) | in udf_do_extend_file()
524 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_do_extend_file()
533 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
536 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
540 last_ext->extLength += add; in udf_do_extend_file()
545 last_ext->extLength, 1); in udf_do_extend_file()
555 last_ext->extLength, 1); in udf_do_extend_file()
579 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add; in udf_do_extend_file()
585 last_ext->extLength, 1); in udf_do_extend_file()
592 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
595 last_ext->extLength, 1); in udf_do_extend_file()
631 if (new_elen <= (last_ext->extLength & UDF_EXTENT_LENGTH_MASK)) in udf_do_extend_final_block()
633 added_bytes = new_elen - (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_final_block()
634 last_ext->extLength += added_bytes; in udf_do_extend_final_block()
638 last_ext->extLength, 1); in udf_do_extend_final_block()
685 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
689 &extent.extLength, &etype, 0); in udf_extend_file()
692 extent.extLength |= etype << 30; in udf_extend_file()
774 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
828 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
847 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
870 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
883 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
952 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
953 (laarr[*c].extLength >> 30) == in udf_split_extents()
956 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
958 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
975 laarr[curr].extLength = in udf_split_extents()
982 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
993 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
1001 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
1021 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
1025 (((laarr[c + 1].extLength & in udf_prealloc_extents()
1037 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
1039 length += (((laarr[i].extLength & in udf_prealloc_extents()
1049 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
1059 laarr[start].extLength += in udf_prealloc_extents()
1070 laarr[c + 1].extLength = in udf_prealloc_extents()
1078 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1084 laarr[i].extLength -= in udf_prealloc_extents()
1116 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1117 (((li->extLength >> 30) == in udf_merge_extents()
1121 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1124 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1125 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1127 li->extLength = lip1->extLength + in udf_merge_extents()
1128 (((li->extLength & in udf_merge_extents()
1138 } else if (((li->extLength >> 30) == in udf_merge_extents()
1140 ((lip1->extLength >> 30) == in udf_merge_extents()
1143 ((li->extLength & in udf_merge_extents()
1149 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1150 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1152 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1153 (li->extLength & in udf_merge_extents()
1157 li->extLength = (li->extLength & in udf_merge_extents()
1162 li->extLength = lip1->extLength + in udf_merge_extents()
1163 (((li->extLength & in udf_merge_extents()
1173 } else if ((li->extLength >> 30) == in udf_merge_extents()
1177 ((li->extLength & in udf_merge_extents()
1182 li->extLength = (li->extLength & in udf_merge_extents()
1206 laarr[i].extLength); in udf_update_extents()
1215 &laarr[i].extLength, &tmpetype, 1); in udf_update_extents()
1228 laarr[i].extLength, 1); in udf_update_extents()
1406 if (ie->indirectICB.extLength) { in udf_read_inode()
1559 iinfo->i_streamdir = (efe->streamDirectoryICB.extLength != 0); in udf_read_inode()
1853 icb_lad->extLength = in udf_update_inode()
2159 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2165 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2274 *etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2278 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2284 *etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2286 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()