Lines Matching refs:extLength

480 	int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK);  in udf_do_extend_file()
494 if (last_ext->extLength & (sb->s_blocksize - 1)) { in udf_do_extend_file()
495 last_ext->extLength = in udf_do_extend_file()
496 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) | in udf_do_extend_file()
497 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_do_extend_file()
505 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
509 prealloc_len = last_ext->extLength; in udf_do_extend_file()
511 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in udf_do_extend_file()
512 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK); in udf_do_extend_file()
518 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) == in udf_do_extend_file()
521 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK)) >> in udf_do_extend_file()
526 last_ext->extLength += add << sb->s_blocksize_bits; in udf_do_extend_file()
531 last_ext->extLength, 1); in udf_do_extend_file()
538 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()
757 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in inode_getblk()
773 if ((laarr[0].extLength & UDF_EXTENT_FLAG_MASK) != in inode_getblk()
779 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | in inode_getblk()
804 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
815 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) in inode_getblk()
888 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || in udf_split_extents()
889 (laarr[*c].extLength >> 30) == in udf_split_extents()
892 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
894 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
911 laarr[curr].extLength = in udf_split_extents()
918 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
929 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | in udf_split_extents()
937 laarr[curr].extLength = (etype << 30) | in udf_split_extents()
957 if ((laarr[c + 1].extLength >> 30) == in udf_prealloc_extents()
961 (((laarr[c + 1].extLength & in udf_prealloc_extents()
973 } else if ((laarr[i].extLength >> 30) == in udf_prealloc_extents()
975 length += (((laarr[i].extLength & in udf_prealloc_extents()
985 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_prealloc_extents()
995 laarr[start].extLength += in udf_prealloc_extents()
1006 laarr[c + 1].extLength = in udf_prealloc_extents()
1014 int elen = ((laarr[i].extLength & in udf_prealloc_extents()
1020 laarr[i].extLength -= in udf_prealloc_extents()
1052 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1053 (((li->extLength >> 30) == in udf_merge_extents()
1057 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1060 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1061 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1063 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1064 (li->extLength & in udf_merge_extents()
1068 li->extLength = (li->extLength & in udf_merge_extents()
1074 ((li->extLength & in udf_merge_extents()
1078 li->extLength = lip1->extLength + in udf_merge_extents()
1079 (((li->extLength & in udf_merge_extents()
1089 } else if (((li->extLength >> 30) == in udf_merge_extents()
1091 ((lip1->extLength >> 30) == in udf_merge_extents()
1094 ((li->extLength & in udf_merge_extents()
1100 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1101 (lip1->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1103 lip1->extLength = (lip1->extLength - in udf_merge_extents()
1104 (li->extLength & in udf_merge_extents()
1108 li->extLength = (li->extLength & in udf_merge_extents()
1113 li->extLength = lip1->extLength + in udf_merge_extents()
1114 (((li->extLength & in udf_merge_extents()
1124 } else if ((li->extLength >> 30) == in udf_merge_extents()
1128 ((li->extLength & in udf_merge_extents()
1133 li->extLength = (li->extLength & in udf_merge_extents()
1154 laarr[i].extLength); in udf_update_extents()
1156 &laarr[i].extLength, 1); in udf_update_extents()
1164 laarr[i].extLength, 1); in udf_update_extents()
1332 if (ie->indirectICB.extLength) { in udf_read_inode()
2020 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2026 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2122 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext()
2126 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2132 etype = le32_to_cpu(lad->extLength) >> 30; in udf_current_aext()
2134 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()