Home
last modified time | relevance | path

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

1234

/linux-4.19.296/fs/ocfs2/
Dbuffer_head_io.c59 trace_ocfs2_write_block((unsigned long long)bh->b_blocknr, ci); in ocfs2_write_block()
61 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO); in ocfs2_write_block()
136 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
146 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
156 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks_sync()
290 (unsigned long long)bh->b_blocknr, in ocfs2_read_blocks()
297 trace_ocfs2_read_blocks_bh((unsigned long long)bh->b_blocknr, in ocfs2_read_blocks()
324 (unsigned long long)bh->b_blocknr); in ocfs2_read_blocks()
451 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); in ocfs2_write_super_or_backup()
Dinode.c1383 trace_ocfs2_validate_inode_block((unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1395 (unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1407 (unsigned long long)bh->b_blocknr, 7, in ocfs2_validate_inode_block()
1412 if (le64_to_cpu(di->i_blkno) != bh->b_blocknr) { in ocfs2_validate_inode_block()
1414 (unsigned long long)bh->b_blocknr, in ocfs2_validate_inode_block()
1422 (unsigned long long)bh->b_blocknr); in ocfs2_validate_inode_block()
1430 (unsigned long long)bh->b_blocknr, in ocfs2_validate_inode_block()
1448 (unsigned long long)bh->b_blocknr); in ocfs2_filecheck_validate_inode_block()
1462 (unsigned long long)bh->b_blocknr); in ocfs2_filecheck_validate_inode_block()
1469 (unsigned long long)bh->b_blocknr, 7, di->i_signature); in ocfs2_filecheck_validate_inode_block()
[all …]
Duptodate.c253 (unsigned long long) bh->b_blocknr, in ocfs2_buffer_cached()
257 index = ocfs2_search_cache_array(ci, bh->b_blocknr); in ocfs2_buffer_cached()
259 item = ocfs2_search_cache_tree(ci, bh->b_blocknr); in ocfs2_buffer_cached()
495 (unsigned long long)bh->b_blocknr); in ocfs2_set_buffer_uptodate()
503 ocfs2_append_cache_array(ci, bh->b_blocknr); in ocfs2_set_buffer_uptodate()
515 __ocfs2_set_buffer_uptodate(ci, bh->b_blocknr, expand); in ocfs2_set_buffer_uptodate()
606 sector_t block = bh->b_blocknr; in ocfs2_remove_from_cache()
Dsuballoc.c181 (unsigned long long)bh->b_blocknr, 7, in ocfs2_validate_gd_self()
185 if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) { in ocfs2_validate_gd_self()
187 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
193 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
199 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
206 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_self()
224 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
232 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
242 (unsigned long long)bh->b_blocknr, in ocfs2_validate_gd_parent()
273 (unsigned long long)bh->b_blocknr); in ocfs2_check_group_descriptor()
[all …]
Ddir.c163 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer()
189 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
450 trace_ocfs2_validate_dir_block((unsigned long long)bh->b_blocknr); in ocfs2_validate_dir_block()
466 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dir_block()
486 (unsigned long long)bh->b_blocknr, 7, in ocfs2_check_dir_trailer()
490 if (le64_to_cpu(trailer->db_blkno) != bh->b_blocknr) { in ocfs2_check_dir_trailer()
493 (unsigned long long)bh->b_blocknr, in ocfs2_check_dir_trailer()
501 (unsigned long long)bh->b_blocknr, in ocfs2_check_dir_trailer()
596 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dx_root()
639 (unsigned long long)bh->b_blocknr); in ocfs2_validate_dx_leaf()
[all …]
/linux-4.19.296/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.c626 bh->b_blocknr, bh->b_bdev); in reiserfs_end_buffer_io_sync()
1488 b_blocknr, was_dirty ? ' ' : '!', in flush_journal_list()
1499 BUG_ON(cn->blocknr != saved_bh->b_blocknr); in flush_journal_list()
1509 b_blocknr, __func__); in flush_journal_list()
2057 offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_transaction_is_valid()
2075 c_bh->b_blocknr - in journal_transaction_is_valid()
2095 d_bh->b_blocknr - in journal_transaction_is_valid()
2141 trans_offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_read_transaction()
2144 d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb), in journal_read_transaction()
2174 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-4.19.296/fs/
Dmpage.c128 page_bh->b_blocknr = bh->b_blocknr; in map_buffer_to_page()
213 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
260 if (page_block && blocks[page_block-1] != map_bh->b_blocknr-1) in do_mpage_readpage()
269 blocks[page_block] = map_bh->b_blocknr+relative_block; in do_mpage_readpage()
547 if (bh->b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
550 blocks[page_block++] = bh->b_blocknr; in __mpage_writepage()
553 boundary_block = bh->b_blocknr; in __mpage_writepage()
587 boundary_block = map_bh.b_blocknr; in __mpage_writepage()
591 if (map_bh.b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
594 blocks[page_block++] = map_bh.b_blocknr; in __mpage_writepage()
Dbuffer.c135 bh->b_bdev, (unsigned long long)bh->b_blocknr, msg); in buffer_io_error()
218 else if (bh->b_blocknr == block) { in __find_get_block_slow()
237 (unsigned long long)bh->b_blocknr, in __find_get_block_slow()
835 bh->b_blocknr = -1; in alloc_page_buffers()
906 bh->b_blocknr = block; in init_page_buffers()
1264 if (bh && bh->b_blocknr == block && bh->b_bdev == bdev && in lookup_bh_lru()
1605 if (!buffer_mapped(bh) || (bh->b_blocknr < block)) in clean_bdev_aliases()
1607 if (bh->b_blocknr >= block + len) in clean_bdev_aliases()
1933 bh->b_blocknr = (iomap->addr + offset - iomap->offset) >> in iomap_to_bh()
2965 return tmp.b_blocknr; in generic_block_bmap()
[all …]
/linux-4.19.296/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()
268 opage->index = obh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
274 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
Dgcinode.c90 bh->b_blocknr = pbn; in nilfs_gccache_submit_read_data()
95 bh->b_blocknr = vbn; in nilfs_gccache_submit_read_data()
149 inode->i_ino, (unsigned long long)bh->b_blocknr); in nilfs_gccache_wait_and_mark_dirty()
Dpage.c88 bh->b_blocknr = -1; in nilfs_forget_buffer()
114 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
181 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_page_bug()
216 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_page()
424 (u64)bh->b_blocknr, bh->b_size); in nilfs_clear_dirty_page()
/linux-4.19.296/fs/affs/
Dfile.c124 blocknr = affs_alloc_block(inode, bh->b_blocknr); in affs_alloc_extblock()
323 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block()
331 if (bh_result->b_blocknr) in affs_get_block()
334 (unsigned long long)bh_result->b_blocknr); in affs_get_block()
337 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
338 bh_result->b_blocknr = blocknr; in affs_get_block()
472 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino()
491 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino()
510 bh = affs_getemptyblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getemptyblk_ino()
611 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-4.19.296/fs/gfs2/
Dutil.c208 (unsigned long long)bh->b_blocknr, type, in gfs2_meta_check_ii()
228 (unsigned long long)bh->b_blocknr, type, t, in gfs2_metatype_check_ii()
264 (unsigned long long)bh->b_blocknr, in gfs2_io_error_bh_i()
Dlops.c76 unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; in maybe_release_space()
409 if (bda->bd_bh->b_blocknr < bdb->bd_bh->b_blocknr) in blocknr_cmp()
411 if (bda->bd_bh->b_blocknr > bdb->bd_bh->b_blocknr) in blocknr_cmp()
444 *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); in gfs2_before_commit()
/linux-4.19.296/fs/ext4/
Dext4_jbd2.c285 bh->b_blocknr, in __ext4_handle_dirty_metadata()
306 cpu_to_le64(bh->b_blocknr); in __ext4_handle_dirty_metadata()
308 bh->b_blocknr, in __ext4_handle_dirty_metadata()
Dpage-io.c59 (unsigned long long)bh->b_blocknr); in buffer_io_error()
380 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio()
385 io->io_next_block = bh->b_blocknr; in io_submit_init_bio()
397 if (io->io_bio && bh->b_blocknr != io->io_next_block) { in io_submit_add_bh()
Dindirect.c231 return ind->bh->b_blocknr; in ext4_find_near()
398 branch[i].bh->b_blocknr); in ext4_alloc_branch()
986 (unsigned long long) this_bh->b_blocknr); in ext4_free_data()
1391 partial->bh->b_blocknr == partial2->bh->b_blocknr) { in ext4_ind_remove_space()
Dresize.c70 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin()
73 (unsigned long long)EXT4_SB(sb)->s_sbh->b_blocknr); in ext4_resize_begin()
782 const ext4_fsblk_t blk = primary->b_blocknr; in verify_reserved_gdb()
827 ext4_fsblk_t gdblock = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + gdb_num; in add_new_gdb()
1039 blk = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + EXT4_SB(sb)->s_gdb_count; in reserve_backup_gdb()
1090 data[gdbackups] = cpu_to_le32(blk + primary[i]->b_blocknr); in reserve_backup_gdb()
1577 if (old_gdb == gdb_bh->b_blocknr) in ext4_flex_group_add()
1579 update_backups(sb, gdb_bh->b_blocknr, gdb_bh->b_data, in ext4_flex_group_add()
1581 old_gdb = gdb_bh->b_blocknr; in ext4_flex_group_add()
/linux-4.19.296/fs/ntfs/
Daops.c106 "0x%llx.", (unsigned long long)bh->b_blocknr); in ntfs_end_buffer_async_read()
278 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
318 bh->b_blocknr = -1; in ntfs_read_block()
335 bh->b_blocknr = -1UL; in ntfs_read_block()
734 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
758 bh->b_blocknr = -1; in ntfs_write_block()
790 bh->b_blocknr = -1; in ntfs_write_block()
800 bh->b_blocknr = -1; in ntfs_write_block()
1043 bh->b_blocknr = ((lcn << in ntfs_write_mst_block()
1075 bh->b_blocknr = -1; in ntfs_write_mst_block()
/linux-4.19.296/fs/jbd2/
Drevoke.c439 record = find_revoke_record(journal, bh->b_blocknr); in jbd2_journal_cancel_revoke()
442 "blocknr %llu\n", (unsigned long long)bh->b_blocknr); in jbd2_journal_cancel_revoke()
453 record = find_revoke_record(journal, bh->b_blocknr); in jbd2_journal_cancel_revoke()
463 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size); in jbd2_journal_cancel_revoke()
/linux-4.19.296/fs/ext2/
Dxattr.c83 bh->b_bdev, (unsigned long) bh->b_blocknr); \
501 bh->b_blocknr); in ext2_xattr_set()
697 EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext2_xattr_set2()
729 old_bh->b_blocknr); in ext2_xattr_set2()
732 ext2_free_blocks(inode, old_bh->b_blocknr, 1); in ext2_xattr_set2()
803 bh->b_blocknr); in ext2_xattr_delete_inode()
839 error = mb_cache_entry_create(cache, GFP_NOFS, hash, bh->b_blocknr, 1); in ext2_xattr_cache_insert()
/linux-4.19.296/include/linux/
Dbuffer_head.h68 sector_t b_blocknr; /* start block number */ member
213 clean_bdev_aliases(bh->b_bdev, bh->b_blocknr, 1); in clean_bdev_bh_alias()
388 bh->b_blocknr = block; in map_bh()

1234