Searched refs:bh_offset (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 195 struct nilfs_palloc_group_desc *desc = kaddr + bh_offset(bh); in nilfs_palloc_desc_block_init() 360 return (struct nilfs_palloc_group_desc *)(kaddr + bh_offset(bh)) + in nilfs_palloc_block_get_group_desc() 379 return kaddr + bh_offset(bh) + in nilfs_palloc_block_get_entry() 550 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_prepare_alloc_entry() 622 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_commit_free_entry() 663 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_abort_alloc_entry() 768 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_freev()
|
D | sufile.c | 89 return kaddr + bh_offset(bh) + in nilfs_sufile_block_get_segment_usage() 123 header = kaddr + bh_offset(header_bh); in nilfs_sufile_mod_counter() 331 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc() 381 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc() 589 header = kaddr + bh_offset(header_bh); in nilfs_sufile_get_stat() 789 header = kaddr + bh_offset(header_bh); in nilfs_sufile_resize() 1214 header = kaddr + bh_offset(header_bh); in nilfs_sufile_read()
|
D | mdt.c | 63 memset(kaddr + bh_offset(bh), 0, 1 << inode->i_blkbits); in nilfs_mdt_insert_new_block() 568 bh_frozen = nilfs_page_get_nth_block(page, bh_offset(bh) >> blkbits); in nilfs_mdt_freeze_buffer() 596 n = bh_offset(bh) >> inode->i_blkbits; in nilfs_mdt_get_frozen_buffer()
|
D | cpfile.c | 86 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_add_valid_checkpoints() 100 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_sub_valid_checkpoints() 114 return kaddr + bh_offset(bh); in nilfs_cpfile_block_get_header() 122 return kaddr + bh_offset(bh) + nilfs_cpfile_get_offset(cpfile, cno) * in nilfs_cpfile_block_get_checkpoint() 130 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_init()
|
D | page.c | 123 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
|
D | segbuf.c | 231 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc() 438 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
|
D | recovery.c | 497 memcpy(kaddr + bh_offset(bh_org), bh_org->b_data, bh_org->b_size); in nilfs_recovery_copy_block()
|
/linux-4.4.14/fs/ext4/ |
D | page-io.c | 102 if (bh_offset(bh) < bio_start || in ext4_finish_bio() 103 bh_offset(bh) + bh->b_size > bio_end) { in ext4_finish_bio() 408 ret = bio_add_page(io->io_bio, page, bh->b_size, bh_offset(bh)); in io_submit_add_bh() 461 block_start = bh_offset(bh); in ext4_bio_write_page()
|
/linux-4.4.14/fs/ntfs/ |
D | aops.c | 78 bh_offset(bh); in ntfs_end_buffer_async_read() 97 memset(kaddr + bh_offset(bh) + ofs, 0, in ntfs_end_buffer_async_read() 749 bpos = (unsigned long *)(kaddr + bh_offset(bh)); in ntfs_write_block() 795 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()
|
D | file.c | 703 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write() 779 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write() 798 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write() 838 zero_user(page, bh_offset(bh), blocksize); in ntfs_prepare_pages_for_non_resident_write() 962 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write() 1212 bh_offset(bh); in ntfs_prepare_pages_for_non_resident_write() 1222 zero_user_segment(page, bh_offset(bh) + ofs, in ntfs_prepare_pages_for_non_resident_write() 1354 bh_offset(bh) >= end) in ntfs_prepare_pages_for_non_resident_write() 1363 zero_user(page, bh_offset(bh), in ntfs_prepare_pages_for_non_resident_write()
|
/linux-4.4.14/fs/gfs2/ |
D | lops.c | 181 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh() 350 gfs2_log_write(sdp, bh->b_page, bh->b_size, bh_offset(bh)); in gfs2_log_write_bh() 393 ptr = kaddr + bh_offset(bh); in gfs2_check_magic() 465 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
|
/linux-4.4.14/include/linux/ |
D | buffer_head.h | 134 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) macro
|
/linux-4.4.14/mm/ |
D | migrate.c | 649 set_bh_page(bh, newpage, bh_offset(bh)); in buffer_migrate_page()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_aops.c | 445 return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in xfs_bio_add_buffer()
|
/linux-4.4.14/fs/ |
D | buffer.c | 3030 bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in submit_bh_wbc()
|