Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/fs/btrfs/tests/
H A Dinode-tests.c270 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
271 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
289 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
290 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
311 if (em->block_start != EXTENT_MAP_INLINE) { in test_btrfs_get_extent()
312 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent()
339 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
340 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
362 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent()
363 test_err("expected a real extent, got %llu", em->block_start); in test_btrfs_get_extent()
[all …]
H A Dextent-map-tests.c27 em->start, em->len, em->block_start, in free_extent_map_tree()
70 em->block_start = 0; in test_case_1()
91 em->block_start = SZ_32K; /* avoid merging */ in test_case_1()
112 em->block_start = start; in test_case_1()
123 em->block_start != 0 || em->block_len != SZ_16K)) { in test_case_1()
127 em->block_start, em->block_len); in test_case_1()
158 em->block_start = EXTENT_MAP_INLINE; in test_case_2()
179 em->block_start = SZ_4K; in test_case_2()
200 em->block_start = EXTENT_MAP_INLINE; in test_case_2()
211 em->block_start != EXTENT_MAP_INLINE || em->block_len != (u64)-1)) { in test_case_2()
[all …]
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A Ddfu_mtd.c18 u64 block_start, block_len; in dfu_write_medium_mtd() local
37 block_start = dfu->data.mtd.start >> 9; in dfu_write_medium_mtd()
40 ret = blk_derase(dev_desc, block_start, block_len); in dfu_write_medium_mtd()
45 block_start = (dfu->data.mtd.start + offset) >> 9; in dfu_write_medium_mtd()
48 ret = blk_dwrite(dev_desc, block_start, block_len, buf); in dfu_write_medium_mtd()
70 u64 block_start, block_len; in dfu_read_medium_mtd() local
87 block_start = (dfu->data.mtd.start + offset) >> 9; in dfu_read_medium_mtd()
90 ret = blk_dread(dev_desc, block_start, block_len, buf); in dfu_read_medium_mtd()
/OK3568_Linux_fs/kernel/fs/isofs/
H A Dcompress.c40 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument
49 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
54 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block()
78 blocknum = block_start >> bufshift; in zisofs_uncompress_block()
139 (block_start & bufmask); in zisofs_uncompress_block()
141 (block_start & bufmask), in zisofs_uncompress_block()
144 block_start = 0; in zisofs_uncompress_block()
205 loff_t block_start, block_end; in zisofs_fill_pages() local
241 block_start = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
257 if (block_start > block_end) { in zisofs_fill_pages()
[all …]
/OK3568_Linux_fs/kernel/fs/cramfs/
H A Dinode.c833 u32 block_ptr, block_start, block_len; in cramfs_readpage() local
849 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_readpage()
858 cramfs_read(sb, block_start, 2); in cramfs_readpage()
859 block_start += 2; in cramfs_readpage()
869 block_start = OFFSET(inode) + maxblock * 4; in cramfs_readpage()
871 block_start = *(u32 *) in cramfs_readpage()
874 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { in cramfs_readpage()
876 u32 prev_start = block_start; in cramfs_readpage()
877 block_start = prev_start & ~CRAMFS_BLK_FLAGS; in cramfs_readpage()
878 block_start <<= CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_readpage()
[all …]
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dfile.c173 unsigned block_start, block_end; in reiserfs_commit_page() local
195 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page()
196 bh != head || !block_start; in reiserfs_commit_page()
197 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
201 block_end = block_start + blocksize; in reiserfs_commit_page()
202 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dextent_map.c214 ASSERT(next->block_start != EXTENT_MAP_DELALLOC && in mergable_maps()
215 prev->block_start != EXTENT_MAP_DELALLOC); in mergable_maps()
224 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps()
225 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps()
226 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps()
227 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps()
228 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps()
229 next->block_start == extent_map_block_end(prev)))) { in mergable_maps()
260 em->block_start = merge->block_start; in try_merge_map()
568 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping()
[all …]
H A Dextent_map.h41 u64 block_start; member
72 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
74 return em->block_start + em->block_len; in extent_map_block_end()
H A Dinode.c89 u64 len, u64 orig_start, u64 block_start,
947 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint()
950 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint()
951 alloc_hint = em->block_start; in get_extent_allocation_hint()
955 alloc_hint = em->block_start; in get_extent_allocation_hint()
2273 if (em->block_start != EXTENT_MAP_HOLE) in btrfs_find_new_delalloc_bytes()
4588 u64 block_start; in btrfs_truncate_block() local
4595 block_start = round_down(from, blocksize); in btrfs_truncate_block()
4596 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4599 block_start, blocksize); in btrfs_truncate_block()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools/
H A DCVE-2021-41072-requisite-3.patch30 @@ -254,7 +254,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
39 @@ -267,7 +267,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
48 @@ -351,20 +351,20 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int of…
110 @@ -347,7 +347,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
119 @@ -360,7 +360,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
128 @@ -444,19 +444,20 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int of…
165 @@ -381,7 +381,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
174 @@ -394,7 +394,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
183 @@ -478,19 +478,20 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int of…
220 @@ -331,7 +331,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
[all …]
H A DCVE-2021-41072-requisite-1.patch27 @@ -373,8 +373,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
67 @@ -465,8 +465,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
81 @@ -499,8 +499,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
95 @@ -436,8 +436,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
H A DCVE-2021-41072-requisite-2.patch29 @@ -360,7 +360,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
58 @@ -452,7 +452,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
71 @@ -486,7 +486,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
84 @@ -423,7 +423,7 @@ static struct dir *squashfs_opendir(unsigned int block_start, unsigned int offse
/OK3568_Linux_fs/kernel/fs/
H A Dbuffer.c1911 unsigned int block_start, block_end; in page_zero_new_buffers() local
1919 block_start = 0; in page_zero_new_buffers()
1921 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1924 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1928 start = max(from, block_start); in page_zero_new_buffers()
1940 block_start = block_end; in page_zero_new_buffers()
2007 unsigned block_start, block_end; in __block_write_begin_int() local
2024 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin_int()
2025 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
2026 block_end = block_start + blocksize; in __block_write_begin_int()
[all …]
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Daops.c425 unsigned block_start, block_end; in walk_page_buffers() local
430 for ( bh = head, block_start = 0; in walk_page_buffers()
431 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
432 block_start = block_end, bh = next) in walk_page_buffers()
435 block_end = block_start + blocksize; in walk_page_buffers()
436 if (block_end <= from || block_start >= to) { in walk_page_buffers()
575 unsigned int block_start) in ocfs2_should_read_blk() argument
577 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
601 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
608 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Dteamcity.py74 def block_start(self, name): member in TeamCityUI
278 ui.block_start("{0} task log".format(rt))
309 ui.block_start(event.processname)
319 ui.block_start("Loading cache")
327 ui.block_start("Parsing recipes and checking upstream revisions")
352 ui.block_start("Running tasks")
359 ui.block_start("Running tasks")
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/vendor/nunicode/src/libnu/
H A Dtounaccent.c12 uint32_t block_start; in nu_tounaccent() member
29 if (codepoint >= blocks[i].block_start && codepoint <= blocks[i].block_end) { in nu_tounaccent()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_buddy.c367 u64 block_start; in i915_buddy_alloc_range() local
378 block_start = i915_buddy_block_offset(block); in i915_buddy_alloc_range()
379 block_end = block_start + i915_buddy_block_size(mm, block) - 1; in i915_buddy_alloc_range()
381 if (!overlaps(start, end, block_start, block_end)) in i915_buddy_alloc_range()
389 if (contains(start, end, block_start, block_end)) { in i915_buddy_alloc_range()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dmove_extent.c172 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
186 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
187 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
188 block_end = block_start + blocksize; in mext_page_mkuptodate()
189 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
203 zero_user(page, block_start, blocksize); in mext_page_mkuptodate()
/OK3568_Linux_fs/kernel/lib/zlib_deflate/
H A Ddeflate.c539 s->block_start = 0L; in lm_init()
768 s->block_start -= (long) wsize; in fill_window()
832 zlib_tr_flush_block(s, (s->block_start >= 0L ? \
833 (char *)&s->window[(unsigned)s->block_start] : \
835 (ulg)((long)s->strstart - s->block_start), \
837 s->block_start = s->strstart; \
878 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
885 Assert(s->block_start >= 0L, "block gone"); in deflate_stored()
891 max_start = s->block_start + max_block_size; in deflate_stored()
901 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { in deflate_stored()
/OK3568_Linux_fs/kernel/fs/nilfs2/
H A Dpage.c425 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
429 for (bh = head = page_buffers(page), block_start = 0; in nilfs_page_count_clean_buffers()
430 bh != head || !block_start; in nilfs_page_count_clean_buffers()
431 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
432 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
433 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/OK3568_Linux_fs/u-boot/cmd/
H A Darmflash.c121 u32 block_start, block_end; in parse_bank() local
132 block_start = readl((void *)imginfo+0x54); in parse_bank()
134 afi->flash_mem_start = afi->flinfo->start[block_start]; in parse_bank()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dmmu.c1177 phys_addr_t block_start, block_end, memblock_limit = 0; in adjust_lowmem_bounds() local
1194 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1195 if (!IS_ALIGNED(block_start, PMD_SIZE)) { in adjust_lowmem_bounds()
1198 len = round_up(block_start, PMD_SIZE) - block_start; in adjust_lowmem_bounds()
1199 memblock_mark_nomap(block_start, len); in adjust_lowmem_bounds()
1204 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1205 if (block_start < vmalloc_limit) { in adjust_lowmem_bounds()
1231 if (!IS_ALIGNED(block_start, PMD_SIZE)) in adjust_lowmem_bounds()
1232 memblock_limit = block_start; in adjust_lowmem_bounds()
/OK3568_Linux_fs/kernel/drivers/mtd/parsers/
H A Dafs.c227 u32 block_start; in afs_parse_v2_partition() local
281 block_start = imginfo[20]; in afs_parse_v2_partition()
287 block_start, block_end); in afs_parse_v2_partition()
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Ddeflate.c337 s->block_start = (long)length;
850 s->block_start = 0L;
1035 s->block_start = 0L;
1335 s->block_start -= (long) wsize;
1435 _tr_flush_block(s, (s->block_start >= 0L ? \
1436 (charf *)&s->window[(unsigned)s->block_start] : \
1438 (ulg)((long)s->strstart - s->block_start), \
1440 s->block_start = s->strstart; \
1480 s->block_start >= (long)s->w_size, "slide too late");
1487 Assert(s->block_start >= 0L, "block gone");
[all …]
/OK3568_Linux_fs/kernel/fs/ntfs/
H A Dmft.c464 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
513 block_start = 0; in ntfs_sync_mft_mirror()
517 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
521 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror()
532 (block_start - m_start); in ntfs_sync_mft_mirror()
568 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
572 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
670 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
693 block_start = 0; in write_mft_record_nolock()
697 block_end = block_start + blocksize; in write_mft_record_nolock()
[all …]

123