/kernel/linux/linux-5.10/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 | 126 sector_t phys, last_block; in __fat_get_block() local 146 last_block = inode->i_blocks >> (sb->s_blocksize_bits - 9); in __fat_get_block() 153 if (!offset && !(iblock < last_block)) { in __fat_get_block() 172 (unsigned long long)last_block); in __fat_get_block()
|
/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
D | mantis_dma.c | 178 mantis->last_block = mantis->busy_block = 0; in mantis_dma_start() 208 while (mantis->last_block != mantis->busy_block) { in mantis_dma_xfer() 210 mantis->last_block, mantis->busy_block); in mantis_dma_xfer() 213 (&mantis->demux, &mantis->buf_cpu[mantis->last_block * MANTIS_BLOCK_BYTES], MANTIS_BLOCK_BYTES); in mantis_dma_xfer() 214 mantis->last_block = (mantis->last_block + 1) % MANTIS_BLOCK_COUNT; in mantis_dma_xfer()
|
D | mantis_common.h | 122 u32 last_block; member
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | data.c | 130 erofs_off_t *last_block, in erofs_read_raw_page() argument 149 *last_block + 1 != current_block) { in erofs_read_raw_page() 235 *last_block = current_block; in erofs_read_raw_page() 268 erofs_off_t last_block; in erofs_raw_access_readpage() local 274 page, &last_block, 1, false); in erofs_raw_access_readpage() 285 erofs_off_t last_block; in erofs_raw_access_readahead() local 295 bio = erofs_read_raw_page(bio, rac->mapping, page, &last_block, in erofs_raw_access_readahead()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | readpage.c | 235 sector_t last_block; in ext4_mpage_readpages() local 264 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages() 267 if (last_block > last_block_in_file) in ext4_mpage_readpages() 268 last_block = last_block_in_file; in ext4_mpage_readpages() 300 if (block_in_file < last_block) { in ext4_mpage_readpages() 302 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() 74 (lb->last_block+1 == lb->curr_block)) { in update_extent_range() 76 lb->last_block = lb->curr_block; in update_extent_range() 85 lb->first_block = lb->last_block = lb->curr_block; in update_extent_range()
|
D | indirect.c | 1124 ext4_lblk_t last_block, max_block; in ext4_ind_truncate() local 1127 last_block = (inode->i_size + blocksize-1) in ext4_ind_truncate() 1132 if (last_block != max_block) { in ext4_ind_truncate() 1133 n = ext4_block_to_path(inode, last_block, offsets, NULL); in ext4_ind_truncate() 1138 ext4_es_remove_extent(inode, last_block, EXT_MAX_BLOCKS - last_block); in ext4_ind_truncate() 1149 if (last_block == max_block) { in ext4_ind_truncate()
|
D | balloc.c | 944 ext4_fsblk_t last_block; in ext4_inode_to_goal_block() local 961 last_block = ext4_blocks_count(EXT4_SB(inode->i_sb)->s_es) - 1; in ext4_inode_to_goal_block() 970 if (bg_start + EXT4_BLOCKS_PER_GROUP(inode->i_sb) <= last_block) in ext4_inode_to_goal_block() 975 ((last_block - bg_start) / 16); in ext4_inode_to_goal_block()
|
D | super.c | 2855 ext4_fsblk_t last_block; in ext4_check_descriptors() local 2872 last_block = ext4_blocks_count(sbi->s_es) - 1; in ext4_check_descriptors() 2874 last_block = first_block + in ext4_check_descriptors() 2897 if (block_bitmap < first_block || block_bitmap > last_block) { in ext4_check_descriptors() 2919 if (inode_bitmap < first_block || inode_bitmap > last_block) { in ext4_check_descriptors() 2942 inode_table + sbi->s_itb_per_group - 1 > last_block) { in ext4_check_descriptors() 3851 ext4_fsblk_t first_block, last_block, b; in count_overhead() local 3863 last_block = first_block + EXT4_BLOCKS_PER_GROUP(sb) - 1; in count_overhead() 3867 if (b >= first_block && b <= last_block) { in count_overhead() 3872 if (b >= first_block && b <= last_block) { in count_overhead() [all …]
|
/kernel/linux/linux-5.10/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() 490 sector_t last_block; in __mpage_writepage() local 560 last_block = (i_size - 1) >> blkbits; in __mpage_writepage() 581 if (block_in_file == last_block) in __mpage_writepage()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | inftlmount.c | 536 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local 582 last_block = BLOCK_NIL; in INFTL_mount() 616 if (last_block != BLOCK_NIL) in INFTL_mount() 617 s->PUtable[last_block] = block; in INFTL_mount() 673 if (last_block != BLOCK_NIL) in INFTL_mount() 674 s->PUtable[last_block] = block; in INFTL_mount() 675 last_block = block; in INFTL_mount() 717 last_block = BLOCK_NIL; in INFTL_mount() 741 s->PUtable[last_block] = BLOCK_NIL; in INFTL_mount() 746 last_block = block; in INFTL_mount()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/mm/ |
D | page_io.c | 107 sector_t last_block; in generic_swapfile_activate() local 122 last_block = i_size_read(inode) >> blkbits; in generic_swapfile_activate() 123 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-mpc52xx-psc.c | 139 int last_block = 0; in mpc52xx_psc_spi_transfer_rxtx() local 149 last_block = 0; in mpc52xx_psc_spi_transfer_rxtx() 153 last_block = 1; in mpc52xx_psc_spi_transfer_rxtx() 159 if (send_at_once == 1 && last_block) in mpc52xx_psc_spi_transfer_rxtx()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
D | dp_panel.c | 267 struct edid *last_block; in dp_panel_get_edid_checksum() local 278 last_block = (struct edid *)raw_edid; in dp_panel_get_edid_checksum() 283 return last_block->checksum; in dp_panel_get_edid_checksum()
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
D | bt878.h | 108 volatile u32 last_block; member
|
D | dvb-bt8xx.c | 49 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_task() 52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task() 55 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_task()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | inode.c | 298 sector_t last_block; in exfat_get_block() local 303 last_block = EXFAT_B_TO_BLK_ROUND_UP(i_size_read(inode), sb); in exfat_get_block() 304 if (iblock >= last_block && !create) in exfat_get_block() 329 if (iblock < last_block) in exfat_get_block()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | crypto.c | 1763 unsigned char last_block[3]; in ecryptfs_encode_for_filename() local 1771 memcpy(last_block, (&src[src_size - 3]), 3); in ecryptfs_encode_for_filename() 1774 last_block[2] = 0x00; in ecryptfs_encode_for_filename() 1777 last_block[0] = src[src_size - 1]; in ecryptfs_encode_for_filename() 1778 last_block[1] = 0x00; in ecryptfs_encode_for_filename() 1781 last_block[0] = src[src_size - 2]; in ecryptfs_encode_for_filename() 1782 last_block[1] = src[src_size - 1]; in ecryptfs_encode_for_filename() 1793 src_block = last_block; in ecryptfs_encode_for_filename()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 818 *fio->last_block, in add_ipu_page() 916 if (bio && !page_is_mergeable(fio->sbi, bio, *fio->last_block, in f2fs_merge_page_bio() 938 *fio->last_block = fio->new_blkaddr; in f2fs_merge_page_bio() 2080 sector_t last_block; in f2fs_read_single_page() local 2086 last_block = block_in_file + nr_pages; in f2fs_read_single_page() 2089 if (last_block > last_block_in_file) in f2fs_read_single_page() 2090 last_block = last_block_in_file; in f2fs_read_single_page() 2093 if (block_in_file >= last_block) in f2fs_read_single_page() 2108 map->m_len = last_block - block_in_file; in f2fs_read_single_page() 2779 sector_t *last_block, in f2fs_write_single_data_page() argument [all …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_bmap.h | 199 xfs_fileoff_t *last_block, int whichfork);
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | super.c | 696 ext2_fsblk_t last_block = ext2_group_last_block_no(sb, i); in ext2_check_descriptors() local 699 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors() 708 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors() 718 last_block) in ext2_check_descriptors()
|
D | balloc.c | 756 ext2_fsblk_t last_block) in find_next_reservable_window() argument 783 if (cur > last_block) in find_next_reservable_window()
|