Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/fs/
Dbuffer.c1847 unsigned int block_start, block_end; in page_zero_new_buffers() local
1857 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1860 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1865 size = min(to, block_end) - start; in page_zero_new_buffers()
1876 block_start = block_end; in page_zero_new_buffers()
1888 unsigned block_start, block_end; in __block_write_begin() local
1906 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin()
1907 block_end = block_start + blocksize; in __block_write_begin()
1908 if (block_end <= from || block_start >= to) { in __block_write_begin()
1931 if (block_end > to || block_start < from) in __block_write_begin()
[all …]
/linux-4.1.27/sound/soc/intel/common/
Dsst-firmware.c711 u32 end = ba->offset + ba->size, block_end; in block_alloc_fixed() local
725 block_end = block->offset + block->size; in block_alloc_fixed()
728 if (ba->offset >= block->offset && end <= block_end) in block_alloc_fixed()
732 if (ba->offset >= block->offset && ba->offset < block_end) { in block_alloc_fixed()
735 ba_tmp.size -= block_end - ba->offset; in block_alloc_fixed()
736 ba_tmp.offset = block_end; in block_alloc_fixed()
748 block_end = block->offset + block->size; in block_alloc_fixed()
755 if (ba->offset >= block->offset && end <= block_end) { in block_alloc_fixed()
766 if (ba->offset >= block->offset && ba->offset < block_end) { in block_alloc_fixed()
772 ba_tmp.size -= block_end - ba->offset; in block_alloc_fixed()
[all …]
/linux-4.1.27/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()
1071 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
1080 block_end = block_start + bsize; in ocfs2_map_page_blocks()
1088 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
1112 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
1139 block_end = block_start + bsize; in ocfs2_map_page_blocks()
1140 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c772 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
806 block_start = block_end) { in ocfs2_write_zero_page()
807 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page()
/linux-4.1.27/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.1.27/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.1.27/fs/ext4/
Dmove_extent.c185 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
200 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
201 block_end = block_start + blocksize; in mext_page_mkuptodate()
202 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c838 unsigned block_start, block_end; in ext4_walk_page_buffers() local
845 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
847 block_end = block_start + blocksize; in ext4_walk_page_buffers()
848 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
919 unsigned block_start, block_end; in ext4_block_write_begin() local
939 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
940 block_end = block_start + blocksize; in ext4_block_write_begin()
941 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
964 if (block_end > to || block_start < from) in ext4_block_write_begin()
965 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/linux-4.1.27/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.c121 key->block_end = b + 1ULL; in build_data_key()
130 key->block_end = b + 1ULL; in build_virtual_key()
Ddm-cache-target.c469 key->block_end = from_oblock(end); in build_key()
/linux-4.1.27/arch/arm/mm/
Dmmu.c1078 phys_addr_t block_end = reg->base + reg->size; in sanity_check_meminfo() local
1091 &block_start, &block_end); in sanity_check_meminfo()
1100 &block_start, &block_end, &vmalloc_limit); in sanity_check_meminfo()
1102 block_end = vmalloc_limit; in sanity_check_meminfo()
1107 if (block_end > arm_lowmem_limit) { in sanity_check_meminfo()
1111 arm_lowmem_limit = block_end; in sanity_check_meminfo()
1130 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in sanity_check_meminfo()
/linux-4.1.27/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.1.27/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.1.27/fs/xfs/
Dxfs_aops.c1674 loff_t block_end; in xfs_vm_write_failed() local
1697 bh = bh->b_this_page, block_start = block_end, in xfs_vm_write_failed()
1699 block_end = block_start + bh->b_size; in xfs_vm_write_failed()
1702 if (block_end <= from) in xfs_vm_write_failed()
/linux-4.1.27/fs/ext3/
Dinode.c1158 unsigned block_start, block_end; in walk_page_buffers() local
1165 block_start = block_end, bh = next) in walk_page_buffers()
1168 block_end = block_start + blocksize; in walk_page_buffers()
1169 if (block_end <= from || block_start >= to) { in walk_page_buffers()
/linux-4.1.27/fs/btrfs/
Dinode.c4735 u64 block_end = ALIGN(size, root->sectorsize); in btrfs_cont_expand() local
4756 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand()
4759 block_end - hole_start); in btrfs_cont_expand()
4762 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
4771 block_end - cur_offset, 0); in btrfs_cont_expand()
4777 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4823 if (cur_offset >= block_end) in btrfs_cont_expand()
4827 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbnx2.c8007 unsigned int block_end, rosize, len; in bnx2_read_vpd_fw_ver() local
8035 block_end = i + rosize; in bnx2_read_vpd_fw_ver()
8037 if (block_end > BNX2_VPD_LEN) in bnx2_read_vpd_fw_ver()
8048 if (j + len > block_end || len != 4 || in bnx2_read_vpd_fw_ver()
8060 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.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11917 int cnt, i, block_end, rodi; in bnx2x_read_fwinfo() local
11939 block_end = i + PCI_VPD_LRDT_TAG_SIZE + in bnx2x_read_fwinfo()
11944 if (block_end > BNX2X_VPD_LEN) { in bnx2x_read_fwinfo()
11945 vpd_extended_data = kmalloc(block_end, GFP_KERNEL); in bnx2x_read_fwinfo()
11952 block_end - BNX2X_VPD_LEN, in bnx2x_read_fwinfo()
11954 if (cnt < (block_end - BNX2X_VPD_LEN)) in bnx2x_read_fwinfo()
11962 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
11980 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()