Home
last modified time | relevance | path

Searched refs:b_blocknr (Results 1 – 25 of 93) sorted by relevance

1234

/linux-6.1.9/fs/ocfs2/
Dbuffer_head_io.c43 trace_ocfs2_write_block((unsigned long long)bh->b_blocknr, ci); in ocfs2_write_block()
45 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO); in ocfs2_write_block()
120 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
130 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
140 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
274 (unsigned long long)bh->b_blocknr, in ocfs2_read_blocks()
281 trace_ocfs2_read_blocks_bh((unsigned long long)bh->b_blocknr, in ocfs2_read_blocks()
308 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks()
435 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); in ocfs2_write_super_or_backup()
Dinode.c1367 trace_ocfs2_validate_inode_block((unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1379 (unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1391 (unsigned long long)bh->b_blocknr, 7, in ocfs2_validate_inode_block()
1396 if (le64_to_cpu(di->i_blkno) != bh->b_blocknr) { in ocfs2_validate_inode_block()
1398 (unsigned long long)bh->b_blocknr, in ocfs2_validate_inode_block()
1406 (unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1414 (unsigned long long)bh->b_blocknr, in ocfs2_validate_inode_block()
1432 (unsigned long long)bh->b_blocknr); in ocfs2_filecheck_validate_inode_block()
1446 (unsigned long long)bh->b_blocknr); in ocfs2_filecheck_validate_inode_block()
1453 (unsigned long long)bh->b_blocknr, 7, di->i_signature); in ocfs2_filecheck_validate_inode_block()
[all …]
Duptodate.c237 (unsigned long long) bh->b_blocknr, in ocfs2_buffer_cached()
241 index = ocfs2_search_cache_array(ci, bh->b_blocknr); in ocfs2_buffer_cached()
243 item = ocfs2_search_cache_tree(ci, bh->b_blocknr); in ocfs2_buffer_cached()
479 (unsigned long long)bh->b_blocknr); in ocfs2_set_buffer_uptodate()
487 ocfs2_append_cache_array(ci, bh->b_blocknr); in ocfs2_set_buffer_uptodate()
499 __ocfs2_set_buffer_uptodate(ci, bh->b_blocknr, expand); in ocfs2_set_buffer_uptodate()
590 sector_t block = bh->b_blocknr; in ocfs2_remove_from_cache()
Dsuballoc.c165 (unsigned long long)bh->b_blocknr, 7, in ocfs2_validate_gd_self()
169 if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) { in ocfs2_validate_gd_self()
171 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
177 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
183 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
190 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
208 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
216 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
226 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
257 (unsigned long long)bh->b_blocknr); in ocfs2_check_group_descriptor()
[all …]
Ddir.c143 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer()
169 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
430 trace_ocfs2_validate_dir_block((unsigned long long)bh->b_blocknr); in ocfs2_validate_dir_block()
446 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dir_block()
466 (unsigned long long)bh->b_blocknr, 7, in ocfs2_check_dir_trailer()
470 if (le64_to_cpu(trailer->db_blkno) != bh->b_blocknr) { in ocfs2_check_dir_trailer()
473 (unsigned long long)bh->b_blocknr, in ocfs2_check_dir_trailer()
481 (unsigned long long)bh->b_blocknr, in ocfs2_check_dir_trailer()
576 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dx_root()
619 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dx_leaf()
[all …]
/linux-6.1.9/fs/reiserfs/
Dprints.c160 (unsigned long long)bh->b_blocknr, in scnprintf_buffer_head()
462 reiserfs_printk("INTERNAL NODE (%ld) contains %z\n", bh->b_blocknr, bh); in print_internal()
496 reiserfs_printk("LEAF NODE (%ld) contains %z\n", bh->b_blocknr, bh); in print_leaf()
565 (unsigned long long)bh->b_blocknr); in print_super_block()
575 skipped = bh->b_blocknr; in print_super_block()
605 (unsigned long long)bh->b_blocknr, get_desc_trans_id(desc), in print_desc_block()
632 (unsigned long long)bh->b_blocknr); in print_block()
672 (tbSh) ? (long long)(tbSh->b_blocknr) : (-1LL), in store_print_tb()
674 (tb->L[h]) ? (long long)(tb->L[h]->b_blocknr) : (-1LL), in store_print_tb()
676 (tb->R[h]) ? (long long)(tb->R[h]->b_blocknr) : (-1LL), in store_print_tb()
[all …]
Djournal.c622 bh->b_blocknr, bh->b_bdev); in reiserfs_end_buffer_io_sync()
1484 b_blocknr, was_dirty ? ' ' : '!', in flush_journal_list()
1495 BUG_ON(cn->blocknr != saved_bh->b_blocknr); in flush_journal_list()
1505 b_blocknr, __func__); in flush_journal_list()
2047 offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_transaction_is_valid()
2065 c_bh->b_blocknr - in journal_transaction_is_valid()
2085 d_bh->b_blocknr - in journal_transaction_is_valid()
2131 trans_offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_read_transaction()
2134 d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb), in journal_read_transaction()
2164 c_bh->b_blocknr - in journal_read_transaction()
[all …]
Dibalance.c159 put_dc_block_number(&new_dc[i], bh[i]->b_blocknr); in internal_insert_childs()
675 PUT_SB_ROOT_BLOCK(tb->tb_sb, new_root->b_blocknr); in balance_internal_when_delete()
911 put_dc_block_number(dc, insert_ptr[k]->b_blocknr); in balance_internal()
981 1]->b_blocknr); in balance_internal()
1018 put_dc_block_number(dc, tbSh_1->b_blocknr); in balance_internal()
1036 PUT_SB_ROOT_BLOCK(tb->tb_sb, tbSh->b_blocknr); in balance_internal()
1127 1]->b_blocknr); in balance_internal()
/linux-6.1.9/fs/
Dmpage.c105 page_bh->b_blocknr = bh->b_blocknr; in map_buffer_to_folio()
190 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
237 if (page_block && blocks[page_block-1] != map_bh->b_blocknr-1) in do_mpage_readpage()
246 blocks[page_block] = map_bh->b_blocknr+relative_block; in do_mpage_readpage()
498 if (bh->b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
501 blocks[page_block++] = bh->b_blocknr; in __mpage_writepage()
504 boundary_block = bh->b_blocknr; in __mpage_writepage()
538 boundary_block = map_bh.b_blocknr; in __mpage_writepage()
542 if (map_bh.b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
545 blocks[page_block++] = map_bh.b_blocknr; in __mpage_writepage()
Dbuffer.c131 bh->b_bdev, (unsigned long long)bh->b_blocknr, msg); in buffer_io_error()
214 else if (bh->b_blocknr == block) { in __find_get_block_slow()
233 (unsigned long long)bh->b_blocknr, in __find_get_block_slow()
834 bh->b_blocknr = -1; in alloc_page_buffers()
904 bh->b_blocknr = block; in init_page_buffers()
1276 if (bh && bh->b_blocknr == block && bh->b_bdev == bdev && in lookup_bh_lru()
1620 if (!buffer_mapped(bh) || (bh->b_blocknr < block)) in clean_bdev_aliases()
1622 if (bh->b_blocknr >= block + len) in clean_bdev_aliases()
1946 bh->b_blocknr = (iomap->addr + offset - iomap->offset) >> in iomap_to_bh()
2644 return tmp.b_blocknr; in generic_block_bmap()
[all …]
/linux-6.1.9/fs/nilfs2/
Dbtnode.c63 bh->b_blocknr = blocknr; in nilfs_btnode_create_block()
122 bh->b_blocknr = pblocknr; /* set block address for read */ in nilfs_btnode_submit_block()
126 bh->b_blocknr = blocknr; /* set back to the given block address */ in nilfs_btnode_submit_block()
260 opage->index = obh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
266 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
Dgcinode.c92 bh->b_blocknr = pbn; in nilfs_gccache_submit_read_data()
97 bh->b_blocknr = vbn; in nilfs_gccache_submit_read_data()
148 inode->i_ino, (unsigned long long)bh->b_blocknr); in nilfs_gccache_wait_and_mark_dirty()
Dpage.c87 bh->b_blocknr = -1; in nilfs_forget_buffer()
113 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
180 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_page_bug()
215 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_page()
412 (u64)bh->b_blocknr, bh->b_size); in nilfs_clear_dirty_page()
/linux-6.1.9/fs/affs/
Dfile.c125 blocknr = affs_alloc_block(inode, bh->b_blocknr); in affs_alloc_extblock()
324 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block()
332 if (bh_result->b_blocknr) in affs_get_block()
335 (unsigned long long)bh_result->b_blocknr); in affs_get_block()
338 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
339 bh_result->b_blocknr = blocknr; in affs_get_block()
475 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino()
494 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino()
513 bh = affs_getemptyblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getemptyblk_ino()
610 AFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr); in affs_extent_file_ofs()
[all …]
Damigaffs.c33 ino = bh->b_blocknr; in affs_insert_hash()
54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash()
84 rem_ino = rem_bh->b_blocknr; in affs_remove_hash()
98 if (dir->i_ino == bh->b_blocknr) in affs_remove_hash()
/linux-6.1.9/fs/ntfs/
Daops.c92 "0x%llx.", (unsigned long long)bh->b_blocknr); in ntfs_end_buffer_async_read()
261 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
301 bh->b_blocknr = -1; in ntfs_read_block()
318 bh->b_blocknr = -1UL; in ntfs_read_block()
719 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
743 bh->b_blocknr = -1; in ntfs_write_block()
775 bh->b_blocknr = -1; in ntfs_write_block()
785 bh->b_blocknr = -1; in ntfs_write_block()
1028 bh->b_blocknr = ((lcn << in ntfs_write_mst_block()
1060 bh->b_blocknr = -1; in ntfs_write_mst_block()
/linux-6.1.9/fs/jbd2/
Drevoke.c445 record = find_revoke_record(journal, bh->b_blocknr); in jbd2_journal_cancel_revoke()
448 "blocknr %llu\n", (unsigned long long)bh->b_blocknr); in jbd2_journal_cancel_revoke()
459 record = find_revoke_record(journal, bh->b_blocknr); in jbd2_journal_cancel_revoke()
469 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size); in jbd2_journal_cancel_revoke()
/linux-6.1.9/fs/ext4/
Dpage-io.c97 (unsigned long long)bh->b_blocknr); in buffer_io_error()
402 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio()
406 io->io_next_block = bh->b_blocknr; in io_submit_init_bio()
417 if (io->io_bio && (bh->b_blocknr != io->io_next_block || in io_submit_add_bh()
Dext4_jbd2.c365 bh->b_blocknr, in __ext4_handle_dirty_metadata()
384 bh->b_blocknr, EIO, in __ext4_handle_dirty_metadata()
/linux-6.1.9/fs/gfs2/
Dlops.c76 unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; in maybe_release_space()
644 if (bda->bd_bh->b_blocknr < bdb->bd_bh->b_blocknr) in blocknr_cmp()
646 if (bda->bd_bh->b_blocknr > bdb->bd_bh->b_blocknr) in blocknr_cmp()
679 *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); in gfs2_before_commit()
777 jd->jd_jid, bh_log->b_blocknr); in obsolete_rgrp()
Dutil.c507 (unsigned long long)bh->b_blocknr, type, in gfs2_meta_check_ii()
529 (unsigned long long)bh->b_blocknr, type, t, in gfs2_metatype_check_ii()
566 (unsigned long long)bh->b_blocknr, function, file, line); in gfs2_io_error_bh_i()
Dmeta_io.c227 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in gfs2_submit_bhs()
394 if (bh->b_blocknr < bstart || bh->b_blocknr >= end) in gfs2_ail1_wipe()
Dtrans.c267 (unsigned long long)bd->bd_bh->b_blocknr); in gfs2_trans_add_meta()
276 (unsigned long long)bd->bd_bh->b_blocknr); in gfs2_trans_add_meta()
/linux-6.1.9/fs/ext2/
Dxattr.c83 bh->b_bdev, (unsigned long) bh->b_blocknr); \
528 hash, bh->b_blocknr); in ext2_xattr_set()
671 bh->b_blocknr); in ext2_xattr_release_block()
685 ext2_free_blocks(inode, bh->b_blocknr, 1); in ext2_xattr_release_block()
777 EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext2_xattr_set2()
876 error = mb_cache_entry_create(cache, GFP_NOFS, hash, bh->b_blocknr, in ext2_xattr_cache_insert()
/linux-6.1.9/include/linux/
Dbuffer_head.h66 sector_t b_blocknr; /* start block number */ member
215 clean_bdev_aliases(bh->b_bdev, bh->b_blocknr, 1); in clean_bdev_bh_alias()
377 bh->b_blocknr = block; in map_bh()

1234