Home
last modified time | relevance | path

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

/linux-4.1.27/fs/nilfs2/
Dalloc.c195 struct nilfs_palloc_group_desc *desc = kaddr + bh_offset(bh); in nilfs_palloc_desc_block_init()
310 return (struct nilfs_palloc_group_desc *)(kaddr + bh_offset(bh)) + in nilfs_palloc_block_get_group_desc()
329 return kaddr + bh_offset(bh) + in nilfs_palloc_block_get_entry()
511 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_prepare_alloc_entry()
582 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_commit_free_entry()
620 bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh); in nilfs_palloc_abort_alloc_entry()
728 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_freev()
Dsufile.c87 return kaddr + bh_offset(bh) + in nilfs_sufile_block_get_segment_usage()
121 header = kaddr + bh_offset(header_bh); in nilfs_sufile_mod_counter()
329 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
379 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
582 header = kaddr + bh_offset(header_bh); in nilfs_sufile_get_stat()
782 header = kaddr + bh_offset(header_bh); in nilfs_sufile_resize()
1207 header = kaddr + bh_offset(header_bh); in nilfs_sufile_read()
Dmdt.c62 memset(kaddr + bh_offset(bh), 0, 1 << inode->i_blkbits); in nilfs_mdt_insert_new_block()
562 bh_frozen = nilfs_page_get_nth_block(page, bh_offset(bh) >> blkbits); in nilfs_mdt_freeze_buffer()
590 n = bh_offset(bh) >> inode->i_blkbits; in nilfs_mdt_get_frozen_buffer()
Dcpfile.c86 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()
Dsegbuf.c231 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc()
451 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
Dpage.c123 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
Drecovery.c497 memcpy(kaddr + bh_offset(bh_org), bh_org->b_data, bh_org->b_size); in nilfs_recovery_copy_block()
/linux-4.1.27/fs/ext4/
Dpage-io.c103 if (bh_offset(bh) < bio_start || in ext4_finish_bio()
104 bh_offset(bh) + bh->b_size > bio_end) { in ext4_finish_bio()
410 ret = bio_add_page(io->io_bio, page, bh->b_size, bh_offset(bh)); in io_submit_add_bh()
462 block_start = bh_offset(bh); in ext4_bio_write_page()
/linux-4.1.27/fs/ntfs/
Daops.c78 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()
Dfile.c702 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.1.27/fs/gfs2/
Dlops.c181 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh()
357 gfs2_log_write(sdp, bh->b_page, bh->b_size, bh_offset(bh)); in gfs2_log_write_bh()
400 ptr = kaddr + bh_offset(bh); in gfs2_check_magic()
472 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
/linux-4.1.27/include/linux/
Dbuffer_head.h134 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) macro
/linux-4.1.27/mm/
Dmigrate.c619 set_bh_page(bh, newpage, bh_offset(bh)); in buffer_migrate_page()
/linux-4.1.27/fs/xfs/
Dxfs_aops.c440 return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in xfs_bio_add_buffer()
/linux-4.1.27/fs/
Dbuffer.c3027 bio->bi_io_vec[0].bv_offset = bh_offset(bh); in _submit_bh()