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()
565 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add; in udf_do_extend_file()
571 last_ext->extLength, 1); in udf_do_extend_file()
577 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
580 last_ext->extLength, 1); in udf_do_extend_file()
594 last_ext->extLength = prealloc_len; in udf_do_extend_file()
619 (last_ext->extLength & (sb->s_blocksize - 1)); in udf_do_extend_final_block()
620 last_ext->extLength += added_bytes; in udf_do_extend_final_block()
624 last_ext->extLength, 1); in udf_do_extend_final_block()
659 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
663 &extent.extLength, 0); in udf_extend_file()
664 extent.extLength |= etype << 30; in udf_extend_file()
746 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
793 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
810 if ((laarr[0].extLength & UDF_EXTENT_FLAG_MASK) != in inode_getblk()
816 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
841 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
852 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
925 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
926 (laarr[*c].extLength >> 30) == in udf_split_extents()
929 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
931 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
948 laarr[curr].extLength = in udf_split_extents()
955 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
966 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
974 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
994 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
998 (((laarr[c + 1].extLength & in udf_prealloc_extents()
1010 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
1012 length += (((laarr[i].extLength & in udf_prealloc_extents()
1022 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
1032 laarr[start].extLength += in udf_prealloc_extents()
1043 laarr[c + 1].extLength = in udf_prealloc_extents()
1051 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1057 laarr[i].extLength -= in udf_prealloc_extents()
1089 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1090 (((li->extLength >> 30) == in udf_merge_extents()
1094 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1097 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1098 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1100 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1101 (li->extLength & in udf_merge_extents()
1105 li->extLength = (li->extLength & in udf_merge_extents()
1111 ((li->extLength & in udf_merge_extents()
1115 li->extLength = lip1->extLength + in udf_merge_extents()
1116 (((li->extLength & in udf_merge_extents()
1126 } else if (((li->extLength >> 30) == in udf_merge_extents()
1128 ((lip1->extLength >> 30) == in udf_merge_extents()
1131 ((li->extLength & in udf_merge_extents()
1137 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1138 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1140 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1141 (li->extLength & in udf_merge_extents()
1145 li->extLength = (li->extLength & in udf_merge_extents()
1150 li->extLength = lip1->extLength + in udf_merge_extents()
1151 (((li->extLength & in udf_merge_extents()
1161 } else if ((li->extLength >> 30) == in udf_merge_extents()
1165 ((li->extLength & in udf_merge_extents()
1170 li->extLength = (li->extLength & in udf_merge_extents()
1191 laarr[i].extLength); in udf_update_extents()
1193 &laarr[i].extLength, 1); in udf_update_extents()
1201 laarr[i].extLength, 1); in udf_update_extents()
1365 if (ie->indirectICB.extLength) { in udf_read_inode()
1511 iinfo->i_streamdir = (efe->streamDirectoryICB.extLength != 0); in udf_read_inode()
1804 icb_lad->extLength = in udf_update_inode()
2097 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2103 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2199 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2203 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2209 etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2211 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()