Lines Matching refs:last_ext
502 struct kernel_long_ad *last_ext,
506 int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
518 if (last_ext->extLength & (sb->s_blocksize - 1)) {
519 last_ext->extLength =
520 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) |
521 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) +
530 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) ==
533 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
537 last_ext->extLength += add;
541 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
542 last_ext->extLength, 1);
550 udf_write_aext(inode, last_pos, &last_ext->extLocation,
551 last_ext->extLength, 1);
568 last_ext->extLocation.logicalBlockNum = 0;
569 last_ext->extLocation.partitionReferenceNum = 0;
571 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add;
576 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
577 last_ext->extLength, 1);
584 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED |
586 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
587 last_ext->extLength, 1);
614 struct kernel_long_ad *last_ext,
623 if (new_elen <= (last_ext->extLength & UDF_EXTENT_LENGTH_MASK))
625 added_bytes = new_elen - (last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
626 last_ext->extLength += added_bytes;
629 udf_write_aext(inode, last_pos, &last_ext->extLocation,
630 last_ext->extLength, 1);