Home
last modified time | relevance | path

Searched refs:block_start (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/fs/btrfs/tests/
Dinode-tests.c281 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
282 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
304 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
305 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
325 if (em->block_start != EXTENT_MAP_INLINE) { in test_btrfs_get_extent()
326 test_msg("Expected an inline, got %llu\n", em->block_start); in test_btrfs_get_extent()
351 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
352 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
373 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent()
374 test_msg("Expected a real extent, got %llu\n", em->block_start); in test_btrfs_get_extent()
[all …]
/linux-4.1.27/fs/isofs/
Dcompress.c43 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument
52 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
57 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block()
81 blocknum = block_start >> bufshift; in zisofs_uncompress_block()
138 (block_start & bufmask); in zisofs_uncompress_block()
140 (block_start & bufmask), in zisofs_uncompress_block()
143 block_start = 0; in zisofs_uncompress_block()
203 loff_t block_start, block_end; in zisofs_fill_pages() local
239 block_start = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
255 if (block_start > block_end) { in zisofs_fill_pages()
[all …]
/linux-4.1.27/fs/btrfs/
Dextent_map.h31 u64 block_start; member
61 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
63 return em->block_start + em->block_len; in extent_map_block_end()
Dextent_map.c212 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps()
213 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps()
214 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps()
215 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps()
216 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps()
217 prev->block_start == EXTENT_MAP_DELALLOC) || in mergable_maps()
218 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps()
219 next->block_start == extent_map_block_end(prev)))) { in mergable_maps()
239 em->block_start = merge->block_start; in try_merge_map()
Dfile.c594 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache()
596 split->block_start = em->block_start; in btrfs_drop_extent_cache()
608 split->block_start = em->block_start; in btrfs_drop_extent_cache()
632 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache()
639 split->block_start = em->block_start; in btrfs_drop_extent_cache()
643 split->block_start = em->block_start in btrfs_drop_extent_cache()
651 split->block_start = em->block_start; in btrfs_drop_extent_cache()
2204 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes()
2247 if (em->block_start == EXTENT_MAP_HOLE) { in find_first_non_hole()
2662 if (em->block_start == EXTENT_MAP_HOLE || in btrfs_fallocate()
[all …]
Dextent_io.c2246 logical = em->block_start + logical; in btrfs_get_io_failure_record()
2248 logical = em->block_start; in btrfs_get_io_failure_record()
2921 u64 block_start; in __do_readpage() local
3002 sector = em->block_start >> 9; in __do_readpage()
3004 sector = (em->block_start + extent_offset) >> 9; in __do_readpage()
3008 block_start = em->block_start; in __do_readpage()
3010 block_start = EXTENT_MAP_HOLE; in __do_readpage()
3058 if (block_start == EXTENT_MAP_HOLE) { in __do_readpage()
3088 if (block_start == EXTENT_MAP_INLINE) { in __do_readpage()
3377 u64 block_start; in __extent_writepage_io() local
[all …]
Dfile-item.c918 em->block_start = EXTENT_MAP_HOLE; in btrfs_extent_item_to_extent_map()
924 em->block_start = bytenr; in btrfs_extent_item_to_extent_map()
928 em->block_start = bytenr; in btrfs_extent_item_to_extent_map()
934 em->block_start = EXTENT_MAP_INLINE; in btrfs_extent_item_to_extent_map()
Dinode.c106 u64 block_start, u64 block_len,
775 em->block_start = ins.objectid; in submit_compressed_extents()
881 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint()
884 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint()
885 alloc_hint = em->block_start; in get_extent_allocation_hint()
889 alloc_hint = em->block_start; in get_extent_allocation_hint()
992 em->block_start = ins.objectid; in cow_file_range()
1413 em->block_start = disk_bytenr; in run_delalloc_nocow()
4799 hole_em->block_start = EXTENT_MAP_HOLE; in btrfs_cont_expand()
6623 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping()
[all …]
Dtree-log.c3800 em->block_start == EXTENT_MAP_HOLE) in wait_ordered_extents()
3910 em->block_start + csum_offset, in wait_ordered_extents()
3911 em->block_start + csum_offset + in wait_ordered_extents()
3993 em->block_start, in log_one_extent()
3997 } else if (em->block_start < EXTENT_MAP_LAST_BYTE) { in log_one_extent()
3999 em->block_start - in log_one_extent()
Dioctl.c1019 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) in defrag_check_next_extent()
1021 else if ((em->block_start + em->block_len == next->block_start) && in defrag_check_next_extent()
1051 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in should_defrag_range()
3149 em->block_start = EXTENT_MAP_HOLE; in clone_update_extent_map()
Dcompression.c514 (em->block_start >> 9) != cb->orig_bio->bi_iter.bi_sector) { in add_ra_bio_pages()
Drelocation.c3060 u64 block_start) argument
3074 em->block_start = block_start;
Dscrub.c4054 if (em->block_start > logical || in check_extent_to_block()
4055 em->block_start + em->block_len < logical + len) { in check_extent_to_block()
Dvolumes.c4458 em->block_start = 0; in __btrfs_alloc_chunk()
6051 em->block_start = 0; in read_one_chunk()
Ddisk-io.c243 em->block_start = 0; in btree_get_extent()
/linux-4.1.27/fs/reiserfs/
Dfile.c179 unsigned block_start, block_end; in reiserfs_commit_page() local
201 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page()
202 bh != head || !block_start; in reiserfs_commit_page()
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
1855 block_start = 0; in page_zero_new_buffers()
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()
1864 start = max(from, block_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
1905 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin()
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()
[all …]
/linux-4.1.27/fs/ocfs2/
Daops.c434 unsigned block_start, block_end; in walk_page_buffers() local
439 for ( bh = head, block_start = 0; in walk_page_buffers()
440 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
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()
1045 unsigned int block_start) in ocfs2_should_read_blk() argument
1047 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
1071 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
1078 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
[all …]
Dfile.c772 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
805 for (block_start = zero_from; block_start < zero_to; in ocfs2_write_zero_page()
806 block_start = block_end) { in ocfs2_write_zero_page()
807 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page()
814 ret = __block_write_begin(page, block_start + 1, 0, in ocfs2_write_zero_page()
823 ret = block_commit_write(page, block_start + 1, in ocfs2_write_zero_page()
824 block_start + 1); in ocfs2_write_zero_page()
/linux-4.1.27/fs/ext4/
Dmove_extent.c185 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
199 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
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()
216 zero_user(page, block_start, blocksize); in mext_page_mkuptodate()
Dpage-io.c425 unsigned block_start, blocksize; in ext4_bio_write_page() local
462 block_start = bh_offset(bh); in ext4_bio_write_page()
463 if (block_start >= len) { in ext4_bio_write_page()
Dinode.c838 unsigned block_start, block_end; in ext4_walk_page_buffers() local
843 for (bh = head, block_start = 0; in ext4_walk_page_buffers()
844 ret == 0 && (bh != head || !block_start); in ext4_walk_page_buffers()
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
938 for (bh = head, block_start = 0; bh != head || !block_start; in ext4_block_write_begin()
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()
[all …]
/linux-4.1.27/fs/nilfs2/
Dpage.c446 unsigned block_start, block_end; in nilfs_page_count_clean_buffers() local
450 for (bh = head = page_buffers(page), block_start = 0; in nilfs_page_count_clean_buffers()
451 bh != head || !block_start; in nilfs_page_count_clean_buffers()
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/lib/zlib_deflate/
Ddeflate.c535 s->block_start = 0L; in lm_init()
764 s->block_start -= (long) wsize; in fill_window()
828 zlib_tr_flush_block(s, (s->block_start >= 0L ? \
829 (char *)&s->window[(unsigned)s->block_start] : \
831 (ulg)((long)s->strstart - s->block_start), \
833 s->block_start = s->strstart; \
874 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
881 Assert(s->block_start >= 0L, "block gone"); in deflate_stored()
887 max_start = s->block_start + max_block_size; in deflate_stored()
897 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { in deflate_stored()
Ddefutil.h124 long block_start; member
Ddeftree.c996 ulg in_length = (ulg)((long)s->strstart - s->block_start);
/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
522 block_start = 0; in ntfs_sync_mft_mirror()
526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
530 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror()
541 (block_start - m_start); in ntfs_sync_mft_mirror()
577 BUG_ON(!nr_bhs && (m_start != block_start)); 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
698 block_start = 0; in write_mft_record_nolock()
702 block_end = block_start + blocksize; in write_mft_record_nolock()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_aops.c1673 loff_t block_start; in xfs_vm_write_failed() local
1695 block_start = 0; in xfs_vm_write_failed()
1696 for (bh = head; bh != head || !block_start; in xfs_vm_write_failed()
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()
1706 if (block_start >= to) in xfs_vm_write_failed()
/linux-4.1.27/arch/arm/mm/
Dmmu.c1077 phys_addr_t block_start = reg->base; 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()
1128 if (!IS_ALIGNED(block_start, PMD_SIZE)) in sanity_check_meminfo()
1129 memblock_limit = block_start; in sanity_check_meminfo()
/linux-4.1.27/include/trace/events/
Dbtrfs.h182 __field( u64, block_start )
194 __entry->block_start = map->block_start;
209 show_map_type(__entry->block_start),
/linux-4.1.27/kernel/sched/
Ddebug.c85 PN(se->statistics.block_start); in print_cfs_group_stats()
587 PN(se.statistics.block_start); in proc_sched_show_task()
Dfair.c2980 if (se->statistics.block_start) { in enqueue_sleeper()
2981 u64 delta = rq_clock(rq_of(cfs_rq)) - se->statistics.block_start; in enqueue_sleeper()
2989 se->statistics.block_start = 0; in enqueue_sleeper()
3164 se->statistics.block_start = rq_clock(rq_of(cfs_rq)); in dequeue_entity()
Dcore.c7386 p->se.statistics.block_start = 0; in normalize_rt_tasks()
/linux-4.1.27/sound/soc/intel/common/
Dsst-firmware.c580 u32 block_start = SST_HSW_BLOCK_ANY; in block_alloc_contiguous() local
603 if (block->offset < block_start) in block_alloc_contiguous()
604 block_start = block->offset; in block_alloc_contiguous()
/linux-4.1.27/fs/ext3/
Dinode.c1158 unsigned block_start, block_end; in walk_page_buffers() local
1163 for ( bh = head, block_start = 0; in walk_page_buffers()
1164 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
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/include/linux/
Dsched.h1157 u64 block_start; member