/linux-master/fs/btrfs/tests/ |
H A D | inode-tests.c | 267 if (em->block_start != EXTENT_MAP_HOLE) { 268 test_err("expected a hole, got %llu", em->block_start); 286 if (em->block_start != EXTENT_MAP_INLINE) { 287 test_err("expected an inline, got %llu", em->block_start); 324 if (em->block_start != EXTENT_MAP_HOLE) { 325 test_err("expected a hole, got %llu", em->block_start); 347 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 348 test_err("expected a real extent, got %llu", em->block_start); 375 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 376 test_err("expected a real extent, got %llu", em->block_start); [all...] |
H A D | extent-map-tests.c | 28 "em leak: em (start %llu len %llu block_start %llu block_len %llu) refs %d", 29 em->start, em->len, em->block_start, 73 em->block_start = 0; 94 em->block_start = SZ_32K; /* avoid merging */ 115 em->block_start = start; 131 em->block_start != 0 || em->block_len != SZ_16K) { 133 "case1 [%llu %llu]: ret %d return a wrong em (start %llu len %llu block_start %llu block_len %llu", 135 em->block_start, em->block_len); 166 em->block_start = EXTENT_MAP_INLINE; 187 em->block_start 466 add_compressed_extent(struct btrfs_fs_info *fs_info, struct extent_map_tree *em_tree, u64 start, u64 len, u64 block_start) argument [all...] |
/linux-master/fs/isofs/ |
H A D | compress.c | 36 * Read data of @inode from @block_start to @block_end and uncompress 40 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, argument 49 int i, block_size = block_end - block_start; 54 int needblocks = (block_size + (block_start & bufmask) + bufmask) 77 blocknum = block_start >> bufshift; 138 (block_start & bufmask); 140 (block_start & bufmask), 143 block_start = 0; 210 loff_t block_start, block_end; local 246 block_start [all...] |
/linux-master/fs/btrfs/ |
H A D | extent_map.c | 182 if (em->block_start + em->block_len < em->block_start) 184 return em->block_start + em->block_len; 219 if (next->block_start < EXTENT_MAP_LAST_BYTE - 1) 220 return next->block_start == extent_map_block_end(prev); 223 return next->block_start == prev->block_start; 254 em->block_start = merge->block_start; 558 if (em->block_start < EXTENT_MAP_LAST_BYT [all...] |
H A D | extent_map.h | 54 u64 block_start; member in struct:extent_map
|
H A D | inode.c | 141 u64 len, u64 orig_start, u64 block_start, 1161 ins.objectid, /* block_start */ 1238 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 1241 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) 1242 alloc_hint = em->block_start; 1246 alloc_hint = em->block_start; 1423 ins.objectid, /* block_start */ 2155 nocow_args.disk_bytenr, /* block_start */ 2658 if (em->block_start != EXTENT_MAP_HOLE) 3218 * writepage where we do ASSERT(em->block_start ! 4744 u64 block_start; local 7006 btrfs_create_dio_extent(struct btrfs_inode *inode, struct btrfs_dio_data *dio_data, const u64 start, const u64 len, const u64 orig_start, const u64 block_start, const u64 block_len, const u64 orig_block_len, const u64 ram_bytes, const int type) argument 7310 create_io_em(struct btrfs_inode *inode, u64 start, u64 len, u64 orig_start, u64 block_start, u64 block_len, u64 orig_block_len, u64 ram_bytes, int compress_type, int type) argument 7363 u64 block_start, orig_start, orig_block_len, ram_bytes; local 10627 u64 block_start; member in struct:btrfs_swap_info [all...] |
H A D | defrag.c | 711 em->block_start = EXTENT_MAP_HOLE; 828 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) 995 if (em->block_start == EXTENT_MAP_INLINE && 1000 if (em->block_start == EXTENT_MAP_HOLE || 1065 if (em->block_start == EXTENT_MAP_INLINE)
|
/linux-master/kernel/sched/ |
H A D | stats.c | 50 u64 sleep_start, block_start; local 53 block_start = schedstat_val(stats->block_start); 73 if (block_start) { 74 u64 delta = rq_clock(rq) - block_start; 82 __schedstat_set(stats->block_start, 0);
|
/linux-master/fs/reiserfs/ |
H A D | file.c | 173 unsigned block_start, block_end; local 195 for (bh = head = page_buffers(page), block_start = 0; 196 bh != head || !block_start; 197 block_start = block_end, bh = bh->b_this_page) { 201 block_end = block_start + blocksize; 202 if (block_end <= from || block_start >= to) {
|
/linux-master/drivers/fpga/ |
H A D | microchip-spi.c | 110 u32 block_start, component_size; local 143 block_start = get_unaligned_le32(buf + block_start_offset); 147 bitstream_start = block_start; 148 info->header_size = block_start; 149 if (block_start > count) 154 components_size_start = block_start;
|
/linux-master/fs/cramfs/ |
H A D | inode.c | 827 u32 block_ptr, block_start, block_len; local 843 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; 852 cramfs_read(sb, block_start, 2); 853 block_start += 2; 863 block_start = OFFSET(inode) + maxblock * 4; 865 block_start = *(u32 *) 868 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { 870 u32 prev_start = block_start; 871 block_start = prev_start & ~CRAMFS_BLK_FLAGS; 872 block_start << [all...] |
/linux-master/fs/ocfs2/ |
H A D | aops.c | 419 unsigned block_start, block_end; local 424 for ( bh = head, block_start = 0; 425 ret == 0 && (bh != head || !block_start); 426 block_start = block_end, bh = next) 429 block_end = block_start + blocksize; 430 if (block_end <= from || block_start >= to) { 569 unsigned int block_start) 571 u64 offset = folio_pos(folio) + block_start; 596 unsigned int block_end, block_start; local 603 for (bh = head, block_start 568 ocfs2_should_read_blk(struct inode *inode, struct folio *folio, unsigned int block_start) argument 875 unsigned int block_start, block_end; local [all...] |
/linux-master/fs/nilfs2/ |
H A D | page.c | 438 unsigned int block_start, block_end; local 442 for (bh = head = page_buffers(page), block_start = 0; 443 bh != head || !block_start; 444 block_start = block_end, bh = bh->b_this_page) { 445 block_end = block_start + bh->b_size; 446 if (block_end > from && block_start < to && !buffer_dirty(bh))
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_buddy.c | 348 u64 block_start; local 362 block_start = drm_buddy_block_offset(block); 363 block_end = block_start + drm_buddy_block_size(mm, block) - 1; 365 if (!overlaps(start, end, block_start, block_end)) 371 if (block_start < start || block_end > end) { 372 u64 adjusted_start = max(block_start, start); 380 if (contains(start, end, block_start, block_end) && 506 u64 block_start; local 517 block_start = drm_buddy_block_offset(block); 518 block_end = block_start [all...] |
/linux-master/fs/ext4/ |
H A D | move_extent.c | 176 unsigned int blocksize, block_start, block_end; local 190 for (bh = head, block_start = 0; bh != head || !block_start; 191 block++, block_start = block_end, bh = bh->b_this_page) { 192 block_end = block_start + blocksize; 193 if (block_end <= from || block_start >= to) { 207 folio_zero_range(folio, block_start, blocksize);
|
H A D | page-io.c | 434 unsigned block_start; local 466 block_start = bh_offset(bh); 467 if (block_start >= len) {
|
/linux-master/lib/zlib_deflate/ |
H A D | deflate.c | 546 s->block_start = 0L; 775 s->block_start -= (long) wsize; 839 zlib_tr_flush_block(s, (s->block_start >= 0L ? \ 840 (char *)&s->window[(unsigned)s->block_start] : \ 842 (ulg)((long)s->strstart - s->block_start), \ 844 s->block_start = s->strstart; \ 885 s->block_start >= (long)s->w_size, "slide too late"); 892 Assert(s->block_start >= 0L, "block gone"); 898 max_start = s->block_start + max_block_size; 905 /* Flush if we may have to slide, otherwise block_start ma [all...] |
H A D | defutil.h | 126 long block_start; member in struct:deflate_state
|
/linux-master/fs/ |
H A D | buffer.c | 1966 size_t block_start, block_end; local 1975 block_start = 0; 1977 block_end = block_start + bh->b_size; 1980 if (block_end > from && block_start < to) { 1984 start = max(from, block_start); 1996 block_start = block_end; 2076 size_t block_start, block_end; local 2090 for (bh = head, block_start = 0; bh != head || !block_start; 2091 block++, block_start 2161 size_t block_start, block_end; local 2307 unsigned block_start, block_end, blocksize; local [all...] |
/linux-master/tools/net/ynl/ |
H A D | ynl-gen-c.py | 197 ri.cw.block_start(line=f"{kw} (type == {self.enum_name})") 1261 def block_start(self, line=''): member in class:CodeWriter 1350 self.block_start() 1512 cw.block_start(line=f'struct ynl_policy_attr {struct.render_name}_policy[{type_max} + 1] =') 1520 cw.block_start(line=f'struct ynl_policy_nest {struct.render_name}_nest =') 1532 cw.block_start() 1548 cw.block_start(line=f"static const char * const {map_name}[] =") 1574 cw.block_start(line=f"static const char * const {map_name}[] =") 1594 ri.cw.block_start() 1639 ri.cw.block_start() [all...] |
/linux-master/drivers/mtd/parsers/ |
H A D | afs.c | 227 u32 block_start; local 281 block_start = imginfo[20]; 287 block_start, block_end);
|
/linux-master/arch/arm/mm/ |
H A D | mmu.c | 1198 phys_addr_t block_start, block_end, memblock_limit = 0; local 1216 for_each_mem_range(i, &block_start, &block_end) { 1217 if (!IS_ALIGNED(block_start, PMD_SIZE)) { 1220 len = round_up(block_start, PMD_SIZE) - block_start; 1221 memblock_mark_nomap(block_start, len); 1226 for_each_mem_range(i, &block_start, &block_end) { 1227 if (block_start < vmalloc_limit) { 1253 if (!IS_ALIGNED(block_start, PMD_SIZE)) 1254 memblock_limit = block_start; [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs-io.c | 512 u64 block_start = round_up(offset, block_bytes(c)); local 525 if (block_start < block_end) { 529 block_start >> 9, block_end >> 9, 709 u64 block_start = round_down(offset, block_bytes(c)); local 729 block_start = round_up(offset, block_bytes(c)); 733 ret = __bchfs_fallocate(inode, mode, block_start >> 9, block_end >> 9);
|
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 659 static int iomap_read_folio_sync(loff_t block_start, struct folio *folio, argument 666 bio.bi_iter.bi_sector = iomap_sector(iomap, block_start); 677 loff_t block_start = round_down(pos, block_size); local 703 iomap_adjust_read_range(iter->inode, folio, &block_start, 704 block_end - block_start, &poff, &plen); 713 if (iomap_block_needs_zeroing(iter, block_start)) { 723 status = iomap_read_folio_sync(block_start, folio, 729 } while ((block_start += plen) < block_end);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_keys.h | 233 int block_start, int block_end);
|