Lines Matching refs:last_ext
490 struct kernel_long_ad *last_ext,
494 int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
506 if (last_ext->extLength & (sb->s_blocksize - 1)) {
507 last_ext->extLength =
508 (last_ext->extLength & UDF_EXTENT_FLAG_MASK) |
509 (((last_ext->extLength & UDF_EXTENT_LENGTH_MASK) +
517 if ((last_ext->extLength & UDF_EXTENT_FLAG_MASK) ==
520 (last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
524 last_ext->extLength += add;
528 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
529 last_ext->extLength, 1);
537 udf_write_aext(inode, last_pos, &last_ext->extLocation,
538 last_ext->extLength, 1);
554 last_ext->extLocation.logicalBlockNum = 0;
555 last_ext->extLocation.partitionReferenceNum = 0;
557 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | add;
562 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
563 last_ext->extLength, 1);
569 last_ext->extLength = EXT_NOT_RECORDED_NOT_ALLOCATED |
571 err = udf_add_aext(inode, last_pos, &last_ext->extLocation,
572 last_ext->extLength, 1);
598 struct kernel_long_ad *last_ext,
607 if (new_elen <= (last_ext->extLength & UDF_EXTENT_LENGTH_MASK))
609 added_bytes = new_elen - (last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
610 last_ext->extLength += added_bytes;
613 udf_write_aext(inode, last_pos, &last_ext->extLocation,
614 last_ext->extLength, 1);