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()
535 last_ext->extLength += add << sb->s_blocksize_bits; in udf_do_extend_file()
540 last_ext->extLength, 1); in udf_do_extend_file()
544 last_ext->extLength, 1); in udf_do_extend_file()
554 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
561 last_ext->extLength, 1); in udf_do_extend_file()
567 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
570 last_ext->extLength, 1); in udf_do_extend_file()
584 last_ext->extLength = prealloc_len; in udf_do_extend_file()
639 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
643 &extent.extLength, 0); in udf_extend_file()
644 extent.extLength |= etype << 30; in udf_extend_file()
711 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
760 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
778 if ((laarr[0].extLength & UDF_EXTENT_FLAG_MASK) != in inode_getblk()
784 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
809 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
820 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
899 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
900 (laarr[*c].extLength >> 30) == in udf_split_extents()
903 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
905 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
922 laarr[curr].extLength = in udf_split_extents()
929 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
940 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
948 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
968 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
972 (((laarr[c + 1].extLength & in udf_prealloc_extents()
984 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
986 length += (((laarr[i].extLength & in udf_prealloc_extents()
996 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
1006 laarr[start].extLength += in udf_prealloc_extents()
1017 laarr[c + 1].extLength = in udf_prealloc_extents()
1025 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1031 laarr[i].extLength -= in udf_prealloc_extents()
1064 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1065 (((li->extLength >> 30) == in udf_merge_extents()
1069 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1072 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1073 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1075 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1076 (li->extLength & in udf_merge_extents()
1080 li->extLength = (li->extLength & in udf_merge_extents()
1086 ((li->extLength & in udf_merge_extents()
1090 li->extLength = lip1->extLength + in udf_merge_extents()
1091 (((li->extLength & in udf_merge_extents()
1101 } else if (((li->extLength >> 30) == in udf_merge_extents()
1103 ((lip1->extLength >> 30) == in udf_merge_extents()
1106 ((li->extLength & in udf_merge_extents()
1112 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1113 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1115 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1116 (li->extLength & in udf_merge_extents()
1120 li->extLength = (li->extLength & in udf_merge_extents()
1125 li->extLength = lip1->extLength + in udf_merge_extents()
1126 (((li->extLength & in udf_merge_extents()
1136 } else if ((li->extLength >> 30) == in udf_merge_extents()
1140 ((li->extLength & in udf_merge_extents()
1145 li->extLength = (li->extLength & in udf_merge_extents()
1164 laarr[i].extLength); in udf_update_extents()
1168 laarr[i].extLength); in udf_update_extents()
1170 &laarr[i].extLength, 1); in udf_update_extents()
1178 laarr[i].extLength, 1); in udf_update_extents()
1339 if (ie->indirectICB.extLength) { in udf_read_inode()
1949 sad->extLength = cpu_to_le32(EXT_NEXT_EXTENT_ALLOCDECS | in udf_add_aext()
1956 lad->extLength = cpu_to_le32(EXT_NEXT_EXTENT_ALLOCDECS | in udf_add_aext()
2017 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2023 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2119 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2123 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2129 etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2131 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()