Home
last modified time | relevance | path

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

/linux-4.19.296/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()
320 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
370 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
588 header = kaddr + bh_offset(header_bh); in nilfs_sufile_get_stat()
797 header = kaddr + bh_offset(header_bh); in nilfs_sufile_resize()
1220 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()
570 bh_frozen = nilfs_page_get_nth_block(page, bh_offset(bh) >> blkbits); in nilfs_mdt_freeze_buffer()
598 n = bh_offset(bh) >> inode->i_blkbits; in nilfs_mdt_get_frozen_buffer()
Dpage.c109 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()
433 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
Drecovery.c485 memcpy(kaddr + bh_offset(bh_org), bh_org->b_data, bh_org->b_size); in nilfs_recovery_copy_block()
/linux-4.19.296/fs/ext4/
Dpage-io.c101 if (bh_offset(bh) < bio_start || in ext4_finish_bio()
102 bh_offset(bh) + bh->b_size > bio_end) { in ext4_finish_bio()
408 bh->b_size, bh_offset(bh)); in io_submit_add_bh()
459 block_start = bh_offset(bh); in ext4_bio_write_page()
/linux-4.19.296/fs/ntfs/
Daops.c79 bh_offset(bh); in ntfs_end_buffer_async_read()
97 memset(kaddr + bh_offset(bh) + ofs, 0, in ntfs_end_buffer_async_read()
746 bpos = (unsigned long *)(kaddr + bh_offset(bh)); in ntfs_write_block()
792 zero_user(page, bh_offset(bh), blocksize); in ntfs_write_block()
1130 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1223 page->index, bh_offset(tbh)); in ntfs_write_mst_block()
1250 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1269 bh_offset(tbh))); in ntfs_write_mst_block()
1759 bh_ofs = bh_offset(bh); in mark_ntfs_record_dirty()
Dfile.c703 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
778 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
797 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
837 zero_user(page, bh_offset(bh), blocksize); in ntfs_prepare_pages_for_non_resident_write()
961 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
1211 bh_offset(bh); in ntfs_prepare_pages_for_non_resident_write()
1221 zero_user_segment(page, bh_offset(bh) + ofs, in ntfs_prepare_pages_for_non_resident_write()
1353 bh_offset(bh) >= end) in ntfs_prepare_pages_for_non_resident_write()
1362 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
/linux-4.19.296/fs/gfs2/
Dlops.c180 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh()
351 gfs2_log_write(sdp, bh->b_page, bh->b_size, bh_offset(bh), in gfs2_log_write_bh()
396 ptr = kaddr + bh_offset(bh); in gfs2_check_magic()
468 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
Dmeta_io.c199 while (bh_offset(bh) < bvec->bv_offset) in gfs2_meta_read_endio()
227 if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) { in gfs2_submit_bhs()
/linux-4.19.296/include/linux/
Dbuffer_head.h172 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) macro
/linux-4.19.296/fs/
Dbuffer.c3075 bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in submit_bh_wbc()