Home
last modified time | relevance | path

Searched refs:last_block (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/udf/
Dtruncate.c39 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> inode->i_sb->s_blocksize_bits; in extent_trunc() local
46 udf_free_blocks(inode->i_sb, inode, eloc, 0, last_block); in extent_trunc()
57 if (last_block - first_block > 0) in extent_trunc()
63 udf_free_blocks(inode->i_sb, inode, eloc, first_block, last_block - first_block); in extent_trunc()
/linux-2.4.37.9/fs/xfs/
Dxfs_iomap.c754 xfs_fileoff_t offset_fsb, last_block; in xfs_iomap_write_allocate() local
822 xfs_bmap_last_offset(NULL, ip, &last_block, in xfs_iomap_write_allocate()
824 last_block = XFS_FILEOFF_MAX(last_block, end_fsb); in xfs_iomap_write_allocate()
825 if ((map_start_fsb + count_fsb) > last_block) { in xfs_iomap_write_allocate()
826 count_fsb = last_block - map_start_fsb; in xfs_iomap_write_allocate()
Dxfs_inode.c1355 xfs_fileoff_t last_block; in xfs_file_last_byte() local
1369 error = xfs_bmap_last_offset(NULL, ip, &last_block, in xfs_file_last_byte()
1372 last_block = 0; in xfs_file_last_byte()
1375 last_block = 0; in xfs_file_last_byte()
1378 last_block = XFS_FILEOFF_MAX(last_block, size_last_block); in xfs_file_last_byte()
1380 last_byte = XFS_FSB_TO_B(mp, last_block); in xfs_file_last_byte()
1569 xfs_fileoff_t last_block; in xfs_itruncate_finish() local
1676 last_block = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_itruncate_finish()
1677 ASSERT(first_unmap_block <= last_block); in xfs_itruncate_finish()
1679 if (last_block == first_unmap_block) { in xfs_itruncate_finish()
[all …]
Dxfs_bmap.h227 xfs_fileoff_t *last_block, /* last block */
Dxfs_bmap.c4170 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_before() argument
4187 *last_block = 0; in xfs_bmap_last_before()
4194 bno = *last_block - 1; in xfs_bmap_last_before()
4199 *last_block = 0; in xfs_bmap_last_before()
4201 *last_block = prev.br_startoff + prev.br_blockcount; in xfs_bmap_last_before()
4218 xfs_fileoff_t *last_block, /* last block */ in xfs_bmap_last_offset() argument
4232 *last_block = 0; in xfs_bmap_last_offset()
4241 *last_block = 0; in xfs_bmap_last_offset()
4247 *last_block = xfs_bmbt_get_startoff(ep) + xfs_bmbt_get_blockcount(ep); in xfs_bmap_last_offset()
/linux-2.4.37.9/fs/fat/
Dcache.c297 int cluster, offset, last_block; in default_fat_bmap() local
306 last_block = (MSDOS_I(inode)->mmu_private + (sb->s_blocksize - 1)) in default_fat_bmap()
308 if (sector >= last_block) in default_fat_bmap()
/linux-2.4.37.9/drivers/ide/
Dide-cd.h485 unsigned long last_block; member
Dide-cd.c1871 if (IDE_LARGE_SEEK(info->last_block, block, IDECD_SEEK_THRESHOLD) && drive->dsc_overlap) in ide_do_rw_cdrom()
1879 info->last_block = block; in ide_do_rw_cdrom()
3004 info->last_block = 0; in ide_cdrom_setup()
Dide-tape.c1318 u32 last_block; /* Last Block Location (Optional) */ member
3324 tape->last_frame_position = ntohl(result->last_block); in idetape_read_position_callback()
/linux-2.4.37.9/drivers/scsi/
Dosst.h50 u32 last_block; /* Last Block Location (Optional) */ member
/linux-2.4.37.9/fs/ext3/
Dinode.c1881 long last_block; in ext3_truncate() local
1899 last_block = (inode->i_size + blocksize-1) in ext3_truncate()
1905 n = ext3_block_to_path(inode, last_block, offsets); in ext3_truncate()