Home
last modified time | relevance | path

Searched refs:bh_offset (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/fs/nilfs2/
Dalloc.c185 struct nilfs_palloc_group_desc *desc = kaddr + bh_offset(bh); in nilfs_palloc_desc_block_init()
351 return (struct nilfs_palloc_group_desc *)(kaddr + bh_offset(bh)) + in nilfs_palloc_block_get_group_desc()
370 return kaddr + bh_offset(bh) + in nilfs_palloc_block_get_entry()
541 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_prepare_alloc_entry()
613 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_commit_free_entry()
654 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_abort_alloc_entry()
759 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_freev()
Dsufile.c77 return kaddr + bh_offset(bh) + in nilfs_sufile_block_get_segment_usage()
111 header = kaddr + bh_offset(header_bh); in nilfs_sufile_mod_counter()
319 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
369 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
613 header = kaddr + bh_offset(header_bh); in nilfs_sufile_get_stat()
822 header = kaddr + bh_offset(header_bh); in nilfs_sufile_resize()
1245 header = kaddr + bh_offset(header_bh); in nilfs_sufile_read()
Dcpfile.c74 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_add_valid_checkpoints()
88 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_sub_valid_checkpoints()
102 return kaddr + bh_offset(bh); in nilfs_cpfile_block_get_header()
110 return kaddr + bh_offset(bh) + nilfs_cpfile_get_offset(cpfile, cno) * in nilfs_cpfile_block_get_checkpoint()
118 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_init()
Dmdt.c51 memset(kaddr + bh_offset(bh), 0, i_blocksize(inode)); in nilfs_mdt_insert_new_block()
573 bh_frozen = nilfs_page_get_nth_block(page, bh_offset(bh) >> blkbits); in nilfs_mdt_freeze_buffer()
601 n = bh_offset(bh) >> inode->i_blkbits; in nilfs_mdt_get_frozen_buffer()
Dpage.c108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
Dsegbuf.c224 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc()
388 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
/linux-6.6.21/fs/ntfs/
Daops.c65 bh_offset(bh); in ntfs_end_buffer_async_read()
83 memset(kaddr + bh_offset(bh) + ofs, 0, in ntfs_end_buffer_async_read()
731 bpos = (unsigned long *)(kaddr + bh_offset(bh)); in ntfs_write_block()
777 zero_user(page, bh_offset(bh), blocksize); in ntfs_write_block()
1115 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1208 page->index, bh_offset(tbh)); in ntfs_write_mst_block()
1235 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1254 bh_offset(tbh))); in ntfs_write_mst_block()
1743 bh_ofs = bh_offset(bh); in mark_ntfs_record_dirty()
Dfile.c682 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
757 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
776 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
816 zero_user(page, bh_offset(bh), blocksize); in ntfs_prepare_pages_for_non_resident_write()
940 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
1190 bh_offset(bh); in ntfs_prepare_pages_for_non_resident_write()
1200 zero_user_segment(page, bh_offset(bh) + ofs, in ntfs_prepare_pages_for_non_resident_write()
1332 bh_offset(bh) >= end) in ntfs_prepare_pages_for_non_resident_write()
1341 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
/linux-6.6.21/fs/ext4/
Dpage-io.c130 if (bh_offset(bh) < bio_start || in ext4_finish_bio()
131 bh_offset(bh) + bh->b_size > bio_end) { in ext4_finish_bio()
423 if (!bio_add_folio(io->io_bio, io_folio, bh->b_size, bh_offset(bh))) in io_submit_add_bh()
466 block_start = bh_offset(bh); in ext4_bio_write_folio()
Dinode.c1098 blocksize, bh_offset(wait[i])); in ext4_block_write_begin()
3697 bh_offset(bh)); in __ext4_block_zero_page_range()
/linux-6.6.21/fs/gfs2/
Dmeta_io.c204 while (bh_offset(bh) < bvec->bv_offset) in gfs2_meta_read_endio()
230 if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) { in gfs2_submit_bhs()
Dlops.c179 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh()
363 bh_offset(bh), dblock); in gfs2_log_write_bh()
630 ptr = kaddr + bh_offset(bh); in gfs2_check_magic()
703 memcpy_from_page(p, page, bh_offset(bd2->bd_bh), bd2->bd_bh->b_size); in gfs2_before_commit()
/linux-6.6.21/fs/crypto/
Dinline_crypt.c300 (bh_offset(bh) >> inode->i_blkbits); in bh_get_inode_and_lblk_num()
/linux-6.6.21/fs/jbd2/
Dcommit.c305 addr = kmap_local_folio(bh->b_folio, bh_offset(bh)); in jbd2_checksum_data()
332 addr = kmap_local_folio(bh->b_folio, bh_offset(bh)); in jbd2_block_tag_csum_set()
Dtransaction.c942 source = kmap_local_folio(bh->b_folio, bh_offset(bh)); in jbd2_freeze_jh_data()
/linux-6.6.21/include/linux/
Dbuffer_head.h174 static inline unsigned long bh_offset(const struct buffer_head *bh) in bh_offset() function
/linux-6.6.21/fs/
Dbuffer.c311 valid = fsverity_verify_blocks(bh->b_folio, bh->b_size, bh_offset(bh)); in verify_bh()
334 bh_offset(bh)); in decrypt_bh()
2813 __bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in submit_bh_wbc()
/linux-6.6.21/mm/
Dmigrate.c786 folio_set_bh(bh, dst, bh_offset(bh)); in __buffer_migrate_folio()