/Linux-v4.19/fs/fat/ |
D | cache.c | 311 sector_t last_block, in fat_get_mapped_cluster() argument 326 if (*mapped_blocks > last_block - sector) in fat_get_mapped_cluster() 327 *mapped_blocks = last_block - sector; in fat_get_mapped_cluster() 334 sector_t *last_block, int create) in is_exceed_eof() argument 340 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof() 341 if (sector >= *last_block) { in is_exceed_eof() 349 *last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) in is_exceed_eof() 351 if (sector >= *last_block) in is_exceed_eof() 362 sector_t last_block; in fat_bmap() local 375 if (is_exceed_eof(inode, sector, &last_block, create)) in fat_bmap() [all …]
|
D | inode.c | 119 sector_t phys, last_block; in __fat_get_block() local 139 last_block = inode->i_blocks >> (sb->s_blocksize_bits - 9); in __fat_get_block() 146 if (!offset && !(iblock < last_block)) { in __fat_get_block() 165 (unsigned long long)last_block); in __fat_get_block()
|
/Linux-v4.19/drivers/media/pci/mantis/ |
D | mantis_dma.c | 190 mantis->last_block = mantis->busy_block = 0; in mantis_dma_start() 220 while (mantis->last_block != mantis->busy_block) { in mantis_dma_xfer() 222 mantis->last_block, mantis->busy_block); in mantis_dma_xfer() 225 (&mantis->demux, &mantis->buf_cpu[mantis->last_block * MANTIS_BLOCK_BYTES], MANTIS_BLOCK_BYTES); in mantis_dma_xfer() 226 mantis->last_block = (mantis->last_block + 1) % MANTIS_BLOCK_COUNT; in mantis_dma_xfer()
|
D | mantis_common.h | 134 u32 last_block; member
|
/Linux-v4.19/fs/ext4/ |
D | readpage.c | 111 sector_t last_block; in ext4_mpage_readpages() local 142 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages() 144 if (last_block > last_block_in_file) in ext4_mpage_readpages() 145 last_block = last_block_in_file; in ext4_mpage_readpages() 177 if (block_in_file < last_block) { in ext4_mpage_readpages() 179 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
|
D | migrate.c | 17 ext4_lblk_t first_block, last_block, curr_block; member 33 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range() 51 lb->last_block - lb->first_block + 1, path); in finish_range() 94 (lb->last_block+1 == lb->curr_block)) { in update_extent_range() 96 lb->last_block = lb->curr_block; in update_extent_range() 105 lb->first_block = lb->last_block = lb->curr_block; in update_extent_range()
|
D | indirect.c | 1111 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local 1114 last_block = (inode->i_size + blocksize-1) in ext4_ind_truncate() 1119 if (last_block != max_block) { in ext4_ind_truncate() 1120 n = ext4_block_to_path(inode, last_block, offsets, NULL); in ext4_ind_truncate() 1125 ext4_es_remove_extent(inode, last_block, EXT_MAX_BLOCKS - last_block); in ext4_ind_truncate() 1136 if (last_block == max_block) { in ext4_ind_truncate()
|
D | balloc.c | 869 ext4_fsblk_t last_block; in ext4_inode_to_goal_block() local 886 last_block = ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es) - 1; in ext4_inode_to_goal_block() 895 if (bg_start + EXT4_BLOCKS_PER_GROUP(inode->i_sb) <= last_block) in ext4_inode_to_goal_block() 899 colour = (current->pid % 16) * ((last_block - bg_start) / 16); in ext4_inode_to_goal_block()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | data.c | 185 erofs_off_t *last_block, in erofs_read_raw_page() argument 209 *last_block + 1 != current_block) { in erofs_read_raw_page() 289 *last_block = current_block; in erofs_read_raw_page() 323 erofs_off_t last_block; in erofs_raw_access_readpage() local 329 page, &last_block, 1, false); in erofs_raw_access_readpage() 342 erofs_off_t last_block; in erofs_raw_access_readpages() local 357 &last_block, nr_pages, true); in erofs_raw_access_readpages()
|
/Linux-v4.19/drivers/mtd/ |
D | inftlmount.c | 549 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local 595 last_block = BLOCK_NIL; in INFTL_mount() 629 if (last_block != BLOCK_NIL) in INFTL_mount() 630 s->PUtable[last_block] = block; in INFTL_mount() 686 if (last_block != BLOCK_NIL) in INFTL_mount() 687 s->PUtable[last_block] = block; in INFTL_mount() 688 last_block = block; in INFTL_mount() 730 last_block = BLOCK_NIL; in INFTL_mount() 754 s->PUtable[last_block] = BLOCK_NIL; in INFTL_mount() 759 last_block = block; in INFTL_mount()
|
/Linux-v4.19/fs/ |
D | mpage.c | 165 sector_t last_block; in do_mpage_readpage() local 190 last_block = block_in_file + args->nr_pages * blocks_per_page; in do_mpage_readpage() 192 if (last_block > last_block_in_file) in do_mpage_readpage() 193 last_block = last_block_in_file; in do_mpage_readpage() 229 if (block_in_file < last_block) { in do_mpage_readpage() 230 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() 506 sector_t last_block; in __mpage_writepage() local 576 last_block = (i_size - 1) >> blkbits; in __mpage_writepage() 597 if (block_in_file == last_block) in __mpage_writepage()
|
/Linux-v4.19/drivers/s390/cio/ |
D | cmf.c | 119 void *last_block; /* Last changed block copied from hardware block */ member 288 memcpy(cmb_data->last_block, hw_block, cmb_data->size); in cmf_copy_block() 356 memset(cmb_data->last_block, 0, cmb_data->size); in cmf_generic_reset() 489 cmb_data->last_block = kzalloc(sizeof(struct cmb), GFP_KERNEL); in alloc_cmb() 490 if (!cmb_data->last_block) { in alloc_cmb() 527 kfree(cmb_data->last_block); in alloc_cmb() 545 kfree(cmb_data->last_block); in free_cmb() 667 cmb = cmb_data->last_block; in readall_cmb() 773 cmb_data->last_block = kzalloc(sizeof(struct cmbe), GFP_KERNEL); in alloc_cmbe() 774 if (!cmb_data->last_block) in alloc_cmbe() [all …]
|
/Linux-v4.19/fs/udf/ |
D | truncate.c | 34 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() local 42 last_block); in extent_trunc() 51 if (last_block > first_block) { in extent_trunc() 58 last_block - first_block); in extent_trunc()
|
/Linux-v4.19/drivers/spi/ |
D | spi-mpc52xx-psc.c | 143 int last_block = 0; in mpc52xx_psc_spi_transfer_rxtx() local 153 last_block = 0; in mpc52xx_psc_spi_transfer_rxtx() 157 last_block = 1; in mpc52xx_psc_spi_transfer_rxtx() 163 if (send_at_once == 1 && last_block) in mpc52xx_psc_spi_transfer_rxtx()
|
/Linux-v4.19/mm/ |
D | page_io.c | 157 sector_t last_block; in generic_swapfile_activate() local 172 last_block = i_size_read(inode) >> blkbits; in generic_swapfile_activate() 173 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_iomap.c | 659 xfs_fileoff_t offset_fsb, last_block; in xfs_iomap_write_allocate() local 743 error = xfs_bmap_last_offset(ip, &last_block, in xfs_iomap_write_allocate() 748 last_block = XFS_FILEOFF_MAX(last_block, end_fsb); in xfs_iomap_write_allocate() 749 if ((map_start_fsb + count_fsb) > last_block) { in xfs_iomap_write_allocate() 750 count_fsb = last_block - map_start_fsb; in xfs_iomap_write_allocate()
|
D | xfs_inode.c | 1527 xfs_fileoff_t last_block; in xfs_itruncate_extents_flags() local 1555 last_block = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_itruncate_extents_flags() 1556 if (first_unmap_block == last_block) in xfs_itruncate_extents_flags() 1559 ASSERT(first_unmap_block < last_block); in xfs_itruncate_extents_flags() 1560 unmap_len = last_block - first_unmap_block + 1; in xfs_itruncate_extents_flags() 1584 first_unmap_block, last_block, true); in xfs_itruncate_extents_flags()
|
/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | bt878.h | 120 volatile u32 last_block; member
|
D | dvb-bt8xx.c | 58 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_task() 61 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task() 64 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_task()
|
/Linux-v4.19/fs/ecryptfs/ |
D | crypto.c | 1784 unsigned char last_block[3]; in ecryptfs_encode_for_filename() local 1792 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename() 1795 last_block[2] = 0x00; in ecryptfs_encode_for_filename() 1798 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename() 1799 last_block[1] = 0x00; in ecryptfs_encode_for_filename() 1802 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename() 1803 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename() 1814 src_block = last_block; in ecryptfs_encode_for_filename()
|
/Linux-v4.19/fs/ext2/ |
D | super.c | 715 ext2_fsblk_t last_block; in ext2_check_descriptors() local 718 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors() 720 last_block = first_block + in ext2_check_descriptors() 724 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors() 733 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors() 743 last_block) in ext2_check_descriptors()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_bmap.h | 194 xfs_fileoff_t *last_block, int whichfork);
|
/Linux-v4.19/fs/f2fs/ |
D | data.c | 1467 sector_t last_block; in f2fs_mpage_readpages() local 1493 last_block = block_in_file + nr_pages; in f2fs_mpage_readpages() 1496 if (last_block > last_block_in_file) in f2fs_mpage_readpages() 1497 last_block = last_block_in_file; in f2fs_mpage_readpages() 1513 if (block_in_file < last_block) { in f2fs_mpage_readpages() 1515 map.m_len = last_block - block_in_file; in f2fs_mpage_readpages()
|
/Linux-v4.19/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 2072 u64 last_block; in pqi_raid_bypass_submit_scsi_cmd() local 2156 last_block = first_block + block_cnt - 1; in pqi_raid_bypass_submit_scsi_cmd() 2160 if (last_block >= get_unaligned_le64(&raid_map->volume_blk_cnt) || in pqi_raid_bypass_submit_scsi_cmd() 2161 last_block < first_block) in pqi_raid_bypass_submit_scsi_cmd() 2174 tmpdiv = last_block; in pqi_raid_bypass_submit_scsi_cmd() 2178 last_row_offset = (u32)(last_block - (last_row * blocks_per_row)); in pqi_raid_bypass_submit_scsi_cmd() 2187 last_row = last_block / blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd() 2189 last_row_offset = (u32)(last_block - (last_row * blocks_per_row)); in pqi_raid_bypass_submit_scsi_cmd() 2272 tmpdiv = last_block; in pqi_raid_bypass_submit_scsi_cmd() 2279 last_group = (last_block % stripesize) / r5or6_blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd() [all …]
|
/Linux-v4.19/drivers/scsi/ |
D | osst.h | 48 u32 last_block; /* Last Block Location (Optional) */ member
|