/linux-6.3-rc2/fs/jbd2/ |
A D | revoke.c | 106 unsigned long long blocknr; member 150 record->blocknr = blocknr; in insert_revoke_hash() 161 unsigned long long blocknr) in find_revoke_record() argument 171 if (record->blocknr == blocknr) { in find_revoke_record() 402 err = insert_revoke_hash(journal, blocknr, in jbd2_journal_revoke() 499 record->blocknr, in jbd2_clear_buffer_revoked_flags() 625 cpu_to_be64(record->blocknr); in write_one_revoke_record() 628 cpu_to_be32(record->blocknr); in write_one_revoke_record() 684 unsigned long long blocknr, in jbd2_journal_set_revoke() argument 689 record = find_revoke_record(journal, blocknr); in jbd2_journal_set_revoke() [all …]
|
A D | recovery.c | 70 unsigned long long blocknr; in do_readahead() local 86 err = jbd2_journal_bmap(journal, next, &blocknr); in do_readahead() 132 unsigned long long blocknr; in jread() local 142 err = jbd2_journal_bmap(journal, offset, &blocknr); in jread() 150 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread() 637 unsigned long long blocknr; in do_one_pass() local 640 blocknr = read_tag_block(journal, in do_one_pass() 647 (journal, blocknr, in do_one_pass() 663 "log\n", blocknr); in do_one_pass() 671 blocknr, in do_one_pass() [all …]
|
A D | journal.c | 337 sector_t blocknr) in jbd2_journal_write_metadata_buffer() argument 449 new_bh->b_blocknr = blocknr; in jbd2_journal_write_metadata_buffer() 854 unsigned long blocknr; in jbd2_journal_next_log_block() local 859 blocknr = journal->j_head; in jbd2_journal_next_log_block() 872 unsigned long blocknr; in jbd2_fc_get_buf() local 972 sector_t block = blocknr; in jbd2_journal_bmap() 1012 unsigned long long blocknr; in jbd2_journal_get_descriptor_buffer() local 1493 sector_t blocknr; in jbd2_journal_init_inode() local 1497 blocknr = 0; in jbd2_journal_init_inode() 1498 err = bmap(inode, &blocknr); in jbd2_journal_init_inode() [all …]
|
A D | checkpoint.c | 385 unsigned long blocknr; in jbd2_cleanup_journal_tail() local 390 if (!jbd2_journal_get_log_tail(journal, &first_tid, &blocknr)) in jbd2_cleanup_journal_tail() 392 J_ASSERT(blocknr != 0); in jbd2_cleanup_journal_tail() 405 return __jbd2_update_log_tail(journal, first_tid, blocknr); in jbd2_cleanup_journal_tail()
|
/linux-6.3-rc2/fs/nilfs2/ |
A D | dat.c | 143 sector_t blocknr) in nilfs_dat_commit_start() argument 152 entry->de_blocknr = cpu_to_le64(blocknr); in nilfs_dat_commit_start() 162 sector_t blocknr; in nilfs_dat_prepare_end() local 177 if (blocknr == 0) { in nilfs_dat_prepare_end() 202 sector_t blocknr; in nilfs_dat_commit_end() local 217 if (blocknr == 0) in nilfs_dat_commit_end() 227 sector_t blocknr; in nilfs_dat_abort_end() local 377 WARN_ON(blocknr == 0); in nilfs_dat_move() 412 sector_t blocknr; in nilfs_dat_translate() local 432 if (blocknr == 0) { in nilfs_dat_translate() [all …]
|
A D | direct.c | 56 sector_t blocknr; in nilfs_direct_lookup_contig() local 67 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_direct_lookup_contig() 70 ptr = blocknr; in nilfs_direct_lookup_contig() 80 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_direct_lookup_contig() 83 ptr2 = blocknr; in nilfs_direct_lookup_contig() 290 sector_t blocknr, in nilfs_direct_assign_v() argument 300 nilfs_dat_commit_start(dat, &req.bpr_req, blocknr); in nilfs_direct_assign_v() 310 sector_t blocknr, in nilfs_direct_assign_p() argument 313 nilfs_direct_set_ptr(direct, key, blocknr); in nilfs_direct_assign_p() 323 sector_t blocknr, in nilfs_direct_assign() argument [all …]
|
A D | btnode.c | 47 nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr) in nilfs_btnode_create_block() argument 52 bh = nilfs_grab_buffer(inode, btnc, blocknr, BIT(BH_NILFS_Node)); in nilfs_btnode_create_block() 63 bh->b_blocknr = blocknr; in nilfs_btnode_create_block() 72 int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr, in nilfs_btnode_submit_block() argument 81 bh = nilfs_grab_buffer(inode, btnc, blocknr, BIT(BH_NILFS_Node)); in nilfs_btnode_submit_block() 92 pblocknr = blocknr; in nilfs_btnode_submit_block() 97 err = nilfs_dat_translate(nilfs->ns_dat, blocknr, in nilfs_btnode_submit_block() 126 bh->b_blocknr = blocknr; /* set back to the given block address */ in nilfs_btnode_submit_block()
|
A D | recovery.c | 41 sector_t blocknr; /* block number */ member 247 sector_t blocknr; in nilfs_read_summary_info() local 251 blocknr = (*pbh)->b_blocknr; in nilfs_read_summary_info() 253 *pbh = __bread(nilfs->ns_bdev, blocknr + 1, in nilfs_read_summary_info() 283 sector_t blocknr = (*pbh)->b_blocknr; in nilfs_skip_summary_info() local 292 *pbh = __bread(nilfs->ns_bdev, blocknr + bcnt, in nilfs_skip_summary_info() 311 sector_t blocknr; in nilfs_scan_dsync_log() local 320 blocknr = start_blocknr + DIV_ROUND_UP(sumbytes, nilfs->ns_blocksize); in nilfs_scan_dsync_log() 355 rb->blocknr = blocknr++; in nilfs_scan_dsync_log() 363 blocknr += nnodeblk; /* always 0 for data sync logs */ in nilfs_scan_dsync_log() [all …]
|
A D | bmap.c | 65 sector_t blocknr; in nilfs_bmap_lookup_at_level() local 76 &blocknr); in nilfs_bmap_lookup_at_level() 78 *ptrp = blocknr; in nilfs_bmap_lookup_at_level() 376 unsigned long blocknr, in nilfs_bmap_assign() argument 382 ret = bmap->b_ops->bop_assign(bmap, bh, blocknr, binfo); in nilfs_bmap_assign()
|
A D | btnode.h | 36 __u64 blocknr);
|
A D | btree.c | 341 sector_t blocknr) in nilfs_btree_node_broken() argument 710 sector_t blocknr; in nilfs_btree_lookup_contig() local 725 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_btree_lookup_contig() 728 ptr = blocknr; in nilfs_btree_lookup_contig() 747 ptr2 = blocknr; in nilfs_btree_lookup_contig() 2189 sector_t blocknr, in nilfs_btree_assign_p() argument 2202 path[level].bp_ctxt.newkey = blocknr; in nilfs_btree_assign_p() 2230 sector_t blocknr, in nilfs_btree_assign_v() argument 2259 sector_t blocknr, in nilfs_btree_assign() argument 2298 sector_t blocknr, in nilfs_btree_assign_gc() argument [all …]
|
A D | the_nilfs.h | 325 nilfs_get_segnum_of_block(struct the_nilfs *nilfs, sector_t blocknr) in nilfs_get_segnum_of_block() argument 327 sector_t segnum = blocknr; in nilfs_get_segnum_of_block()
|
A D | segbuf.c | 27 sector_t blocknr; member 364 wi->blocknr = segbuf->sb_pseg_start; in nilfs_segbuf_prepare_write() 378 wi->bio->bi_iter.bi_sector = (wi->blocknr + wi->end) << in nilfs_segbuf_submit_bh()
|
/linux-6.3-rc2/fs/fat/ |
A D | fatent.c | 77 bhs[0] = sb_bread(sb, blocknr); in fat12_ent_bread() 85 blocknr++; in fat12_ent_bread() 86 bhs[1] = sb_bread(sb, blocknr); in fat12_ent_bread() 98 (llu)blocknr); in fat12_ent_bread() 103 int offset, sector_t blocknr) in fat_ent_bread() argument 112 (llu)blocknr); in fat_ent_bread() 355 sector_t blocknr; in fat_ent_read() local 440 sector_t blocknr; in fat_ent_read_block() local 652 sector_t blocknr, block_end; in fat_ra_init() local 693 sector_t blocknr, diff; in fat_ent_reada() local [all …]
|
A D | nfs.c | 68 sector_t blocknr; in __fat_nfs_get_inode() local 70 fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset); in __fat_nfs_get_inode() 71 bh = sb_bread(sb, blocknr); in __fat_nfs_get_inode() 75 (llu)blocknr); in __fat_nfs_get_inode()
|
/linux-6.3-rc2/drivers/md/persistent-data/ |
A D | dm-space-map-common.h | 34 __le64 blocknr; member 44 __le64 blocknr; member 113 __le64 blocknr; member
|
A D | dm-space-map-common.c | 31 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write() 44 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check() 46 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check() 81 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write() 94 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check() 96 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check() 265 idx.blocknr = cpu_to_le64(dm_block_location(b)); in sm_ll_extend() 297 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap() 365 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block() 438 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_insert() [all …]
|
A D | dm-btree-spine.c | 26 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write() 42 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check() 44 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
|
/linux-6.3-rc2/fs/affs/ |
A D | file.c | 123 u32 blocknr, tmp; in affs_alloc_extblock() local 125 blocknr = affs_alloc_block(inode, bh->b_blocknr); in affs_alloc_extblock() 126 if (!blocknr) in affs_alloc_extblock() 129 new_bh = affs_getzeroblk(sb, blocknr); in affs_alloc_extblock() 131 affs_free_block(sb, blocknr); in affs_alloc_extblock() 136 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock() 146 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); in affs_alloc_extblock() 147 affs_adjust_checksum(bh, blocknr - tmp); in affs_alloc_extblock() 325 if (!blocknr) in affs_get_block() 339 bh_result->b_blocknr = blocknr; in affs_get_block() [all …]
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | journal.c | 1173 b_blocknr_t blocknr = cn->blocknr; in find_newer_jl_for_cn() local 1177 if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist) { in find_newer_jl_for_cn() 1209 if (cn->blocknr != 0) { in remove_all_from_journal_list() 1417 if (cn->blocknr == 0) { in flush_journal_list() 1647 if (cn->blocknr == 0) { in write_one_transaction() 1864 cur->blocknr = 0; in remove_journal_hash() 3488 b_blocknr_t blocknr = cn->blocknr; in can_dirty() local 3499 cur->blocknr == blocknr) { in can_dirty() 3512 cur->blocknr && cur->sb == sb && cur->blocknr == blocknr) { in can_dirty() 3787 blocknr); in journal_mark_freed() [all …]
|
/linux-6.3-rc2/fs/cramfs/ |
A D | inode.c | 188 unsigned i, blocknr, buffer; in cramfs_blkdev_read() local 194 blocknr = offset >> PAGE_SHIFT; in cramfs_blkdev_read() 203 if (blocknr < buffer_blocknr[i]) in cramfs_blkdev_read() 205 blk_offset = (blocknr - buffer_blocknr[i]) << PAGE_SHIFT; in cramfs_blkdev_read() 217 page_cache_sync_readahead(mapping, &ra, NULL, blocknr, BLKS_PER_BUF); in cramfs_blkdev_read() 222 if (blocknr + i < devsize) { in cramfs_blkdev_read() 223 page = read_mapping_page(mapping, blocknr + i, NULL); in cramfs_blkdev_read() 233 buffer_blocknr[buffer] = blocknr; in cramfs_blkdev_read()
|
/linux-6.3-rc2/fs/sysv/ |
A D | super.c | 356 unsigned long blocknr; in sysv_fill_super() local 390 blocknr = bh->b_blocknr << 1; in sysv_fill_super() 393 bh1 = sb_bread(sb, blocknr); in sysv_fill_super() 394 bh = sb_bread(sb, blocknr + 1); in sysv_fill_super() 400 blocknr = bh->b_blocknr >> 1; in sysv_fill_super() 403 bh1 = bh = sb_bread(sb, blocknr); in sysv_fill_super()
|
/linux-6.3-rc2/fs/jffs2/ |
A D | nodemgmt.c | 582 int blocknr; in jffs2_mark_node_obsolete() local 597 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete() 598 if (blocknr >= c->nr_blocks) { in jffs2_mark_node_obsolete() 603 jeb = &c->blocks[blocknr]; in jffs2_mark_node_obsolete() 623 freed_len, blocknr, in jffs2_mark_node_obsolete() 634 freed_len, blocknr, in jffs2_mark_node_obsolete()
|
/linux-6.3-rc2/fs/ext4/ |
A D | ext4_jbd2.c | 267 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget() argument 273 trace_ext4_forget(inode, is_metadata, blocknr); in __ext4_forget() 308 err = jbd2_journal_revoke(handle, blocknr, bh); in __ext4_forget()
|
A D | balloc.c | 53 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset() argument 59 blocknr = blocknr - le32_to_cpu(es->s_first_data_block); in ext4_get_group_no_and_offset() 60 offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >> in ext4_get_group_no_and_offset() 65 *blockgrpp = blocknr; in ext4_get_group_no_and_offset()
|