Home
last modified time | relevance | path

Searched refs:block_end (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/fs/isofs/
Dcompress.c44 loff_t block_end, int pcount, in zisofs_uncompress_block() argument
52 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
203 loff_t block_start, block_end; in zisofs_fill_pages() local
253 block_end = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
255 if (block_start > block_end) { in zisofs_fill_pages()
260 ret = zisofs_uncompress_block(inode, block_start, block_end, in zisofs_fill_pages()
279 block_start = block_end; in zisofs_fill_pages()
/linux-4.4.14/fs/reiserfs/
Dfile.c179 unsigned block_start, block_end; in reiserfs_commit_page() local
203 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
207 block_end = block_start + blocksize; in reiserfs_commit_page()
208 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/linux-4.4.14/fs/
Dbuffer.c1870 unsigned int block_start, block_end; in page_zero_new_buffers() local
1880 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1883 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1888 size = min(to, block_end) - start; in page_zero_new_buffers()
1899 block_start = block_end; in page_zero_new_buffers()
1911 unsigned block_start, block_end; in __block_write_begin() local
1929 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin()
1930 block_end = block_start + blocksize; in __block_write_begin()
1931 if (block_end <= from || block_start >= to) { in __block_write_begin()
1954 if (block_end > to || block_start < from) in __block_write_begin()
[all …]
/linux-4.4.14/sound/soc/intel/common/
Dsst-firmware.c705 u32 end = ba->offset + ba->size, block_end; in block_alloc_fixed() local
719 block_end = block->offset + block->size; in block_alloc_fixed()
722 if (ba->offset >= block->offset && end <= block_end) in block_alloc_fixed()
726 if (ba->offset >= block->offset && ba->offset < block_end) { in block_alloc_fixed()
729 ba_tmp.size -= block_end - ba->offset; in block_alloc_fixed()
730 ba_tmp.offset = block_end; in block_alloc_fixed()
742 block_end = block->offset + block->size; in block_alloc_fixed()
749 if (ba->offset >= block->offset && end <= block_end) { in block_alloc_fixed()
760 if (ba->offset >= block->offset && ba->offset < block_end) { in block_alloc_fixed()
766 ba_tmp.size -= block_end - ba->offset; in block_alloc_fixed()
[all …]
/linux-4.4.14/fs/ocfs2/
Daops.c434 unsigned block_start, block_end; in walk_page_buffers() local
441 block_start = block_end, bh = next) in walk_page_buffers()
444 block_end = block_start + blocksize; in walk_page_buffers()
445 if (block_end <= from || block_start >= to) { in walk_page_buffers()
1105 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
1114 block_end = block_start + bsize; in ocfs2_map_page_blocks()
1122 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
1146 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
1173 block_end = block_start + bsize; in ocfs2_map_page_blocks()
1174 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c776 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
810 block_start = block_end) { in ocfs2_write_zero_page()
811 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page()
/linux-4.4.14/fs/nilfs2/
Dpage.c446 unsigned block_start, block_end; in nilfs_page_count_clean_buffers() local
452 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
453 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
454 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/linux-4.4.14/fs/minix/
Ditree_common.c24 static inline block_t *block_end(struct buffer_head *bh) in block_end() function
284 block_end(bh), depth); in free_branches()
329 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()
/linux-4.4.14/fs/ext4/
Dmove_extent.c182 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
197 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
198 block_end = block_start + blocksize; in mext_page_mkuptodate()
199 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c839 unsigned block_start, block_end; in ext4_walk_page_buffers() local
846 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
848 block_end = block_start + blocksize; in ext4_walk_page_buffers()
849 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
920 unsigned block_start, block_end; in ext4_block_write_begin() local
940 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
941 block_end = block_start + blocksize; in ext4_block_write_begin()
942 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
965 if (block_end > to || block_start < from) in ext4_block_write_begin()
966 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/linux-4.4.14/drivers/md/
Ddm-bio-prison.h33 dm_block_t block_begin, block_end; member
Ddm-bio-prison.c98 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
101 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
Ddm-thin.c126 key->block_end = e; in build_key()
988 r = dm_thin_remove_range(tc->td, m->cell->key.block_begin, m->cell->key.block_end); in process_prepared_discard_no_passdown()
1479 m->virt_end = virt_cell->key.block_end; in process_discard_cell_no_passdown()
1572 break_up_discard_bio(tc, virt_cell->key.block_begin, virt_cell->key.block_end, bio); in process_discard_cell_passdown()
Ddm-cache-target.c518 key->block_end = from_oblock(end); in build_key()
/linux-4.4.14/arch/arm/mm/
Dmmu.c1121 phys_addr_t block_end = reg->base + reg->size; in sanity_check_meminfo() local
1134 &block_start, &block_end); in sanity_check_meminfo()
1144 &block_start, &block_end, &vmalloc_limit); in sanity_check_meminfo()
1146 block_end = vmalloc_limit; in sanity_check_meminfo()
1152 if (block_end > arm_lowmem_limit) { in sanity_check_meminfo()
1156 arm_lowmem_limit = block_end; in sanity_check_meminfo()
1175 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in sanity_check_meminfo()
/linux-4.4.14/fs/sysv/
Ditree.c79 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
354 block_end(bh), depth); in free_branches()
404 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
/linux-4.4.14/fs/ntfs/
Dmft.c475 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
528 if (block_end <= m_start) in ntfs_sync_mft_mirror()
580 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
581 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
679 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
702 block_end = block_start + blocksize; in write_mft_record_nolock()
704 if (block_end <= m_start) in write_mft_record_nolock()
763 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
764 } while (block_start = block_end, (bh = bh->b_this_page) != head); in write_mft_record_nolock()
/linux-4.4.14/fs/xfs/
Dxfs_aops.c1751 loff_t block_end; in xfs_vm_write_failed() local
1774 bh = bh->b_this_page, block_start = block_end, in xfs_vm_write_failed()
1776 block_end = block_start + bh->b_size; in xfs_vm_write_failed()
1779 if (block_end <= from) in xfs_vm_write_failed()
/linux-4.4.14/fs/btrfs/
Dinode.c4777 u64 block_end = ALIGN(size, root->sectorsize); in btrfs_cont_expand() local
4798 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand()
4801 block_end - hole_start); in btrfs_cont_expand()
4804 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
4813 block_end - cur_offset, 0); in btrfs_cont_expand()
4819 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4865 if (cur_offset >= block_end) in btrfs_cont_expand()
4869 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c8025 unsigned int block_end, rosize, len; in bnx2_read_vpd_fw_ver() local
8053 block_end = i + rosize; in bnx2_read_vpd_fw_ver()
8055 if (block_end > BNX2_VPD_LEN) in bnx2_read_vpd_fw_ver()
8066 if (j + len > block_end || len != 4 || in bnx2_read_vpd_fw_ver()
8078 if (j + len > block_end || len > BNX2_MAX_VER_SLEN) in bnx2_read_vpd_fw_ver()
Dtg3.c15566 unsigned int block_end, rosize, len; in tg3_read_vpd() local
15579 block_end = i + PCI_VPD_LRDT_TAG_SIZE + rosize; in tg3_read_vpd()
15582 if (block_end > vpdlen) in tg3_read_vpd()
15591 if (j + len > block_end || len != 4 || in tg3_read_vpd()
15603 if (j + len > block_end) in tg3_read_vpd()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12148 int cnt, i, block_end, rodi; in bnx2x_read_fwinfo() local
12170 block_end = i + PCI_VPD_LRDT_TAG_SIZE + in bnx2x_read_fwinfo()
12175 if (block_end > BNX2X_VPD_LEN) { in bnx2x_read_fwinfo()
12176 vpd_extended_data = kmalloc(block_end, GFP_KERNEL); in bnx2x_read_fwinfo()
12183 block_end - BNX2X_VPD_LEN, in bnx2x_read_fwinfo()
12185 if (cnt < (block_end - BNX2X_VPD_LEN)) in bnx2x_read_fwinfo()
12193 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
12211 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()