Home
last modified time | relevance | path

Searched refs:b_page (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.4/fs/nilfs2/
Dcpfile.c238 kaddr = kmap(cp_bh->b_page); in nilfs_cpfile_get_checkpoint()
242 kunmap(cp_bh->b_page); in nilfs_cpfile_get_checkpoint()
254 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_get_checkpoint()
288 kunmap(bh->b_page); in nilfs_cpfile_put_checkpoint()
350 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_delete_checkpoints()
392 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_delete_checkpoints()
450 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_cpinfo()
494 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
515 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
539 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
[all …]
Dalloc.c527 desc_kaddr = kmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
539 bitmap_kaddr = kmap(bitmap_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
550 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
551 kunmap(bitmap_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
557 kunmap(bitmap_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
564 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
572 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
608 desc_kaddr = kmap(req->pr_desc_bh->b_page); in nilfs_palloc_commit_free_entry()
611 bitmap_kaddr = kmap(req->pr_bitmap_bh->b_page); in nilfs_palloc_commit_free_entry()
623 kunmap(req->pr_bitmap_bh->b_page); in nilfs_palloc_commit_free_entry()
[all …]
Dbtnode.c50 unlock_page(bh->b_page); in nilfs_btnode_create_block()
51 put_page(bh->b_page); in nilfs_btnode_create_block()
69 page = bh->b_page; in nilfs_btnode_submit_block()
131 struct page *page = bh->b_page; in nilfs_btnode_delete()
171 struct page *opage = obh->b_page; in nilfs_btnode_prepare_change_key()
211 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
230 opage = obh->b_page; in nilfs_btnode_commit_change_key()
270 unlock_page(ctxt->bh->b_page); in nilfs_btnode_abort_change_key()
Ddat.c81 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_alloc()
105 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_free()
132 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
155 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
180 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_end()
205 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_abort_end()
340 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_move()
404 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_translate()
435 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_get_vinfo()
Dsufile.c110 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_mod_counter()
319 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
356 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_alloc()
369 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
410 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_cancel_free()
437 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_scrap()
468 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_free()
532 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_segment_usage()
579 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_get_stat()
605 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_set_error()
[all …]
Dgcinode.c103 unlock_page(bh->b_page); in nilfs_gccache_submit_read_data()
104 put_page(bh->b_page); in nilfs_gccache_submit_read_data()
143 struct inode *inode = bh->b_page->mapping->host; in nilfs_gccache_wait_and_mark_dirty()
Difile.h24 void *kaddr = kmap(ibh->b_page); in nilfs_ifile_map_inode()
32 kunmap(ibh->b_page); in nilfs_ifile_unmap_inode()
Dmdt.c50 kaddr = kmap_atomic(bh->b_page); in nilfs_mdt_insert_new_block()
54 flush_dcache_page(bh->b_page); in nilfs_mdt_insert_new_block()
100 unlock_page(bh->b_page); in nilfs_mdt_create_block()
101 put_page(bh->b_page); in nilfs_mdt_create_block()
160 unlock_page(bh->b_page); in nilfs_mdt_submit_block()
161 put_page(bh->b_page); in nilfs_mdt_submit_block()
550 page = grab_cache_page(&shadow->frozen_data, bh->b_page->index); in nilfs_mdt_freeze_buffer()
582 page = find_lock_page(&shadow->frozen_data, bh->b_page->index); in nilfs_mdt_get_frozen_buffer()
Dsegment.c1575 inode = bh->b_page->mapping->host; in nilfs_segctor_update_payload_blocknr()
1653 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1660 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1668 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1673 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1677 if (bh->b_page != fs_page) { in nilfs_segctor_prepare_write()
1679 fs_page = bh->b_page; in nilfs_segctor_prepare_write()
1752 if (bh->b_page != bd_page) { in nilfs_abort_logs()
1755 bd_page = bh->b_page; in nilfs_abort_logs()
1763 if (bh->b_page != bd_page) { in nilfs_abort_logs()
[all …]
Dpage.c77 struct page *page = bh->b_page; in nilfs_forget_buffer()
104 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
Difile.c118 kaddr = kmap_atomic(req.pr_entry_bh->b_page); in nilfs_ifile_delete_inode()
Dbmap.c448 key = page_index(bh->b_page) << (PAGE_SHIFT - in nilfs_bmap_data_get_key()
450 for (pbh = page_buffers(bh->b_page); pbh != bh; pbh = pbh->b_this_page) in nilfs_bmap_data_get_key()
Dsegbuf.c217 kaddr = kmap_atomic(bh->b_page); in nilfs_segbuf_fill_in_data_crc()
427 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
/Linux-v5.4/fs/reiserfs/
Dtail_conversion.c133 if (!unbh->b_page || buffer_uptodate(unbh) in direct2indirect()
134 || PageUptodate(unbh->b_page)) { in direct2indirect()
156 char *kaddr = kmap_atomic(up_to_date_bh->b_page); in direct2indirect()
179 if ((!list_empty(&bh->b_assoc_buffers) || bh->b_private) && bh->b_page) { in reiserfs_unmap_buffer()
180 struct inode *inode = bh->b_page->mapping->host; in reiserfs_unmap_buffer()
Dinode.c309 kunmap(bh_result->b_page); in _get_block_create_0()
318 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
350 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
356 kunmap(bh_result->b_page); in _get_block_create_0()
367 kunmap(bh_result->b_page); in _get_block_create_0()
385 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) { in _get_block_create_0()
400 p = (char *)kmap(bh_result->b_page); in _get_block_create_0()
450 flush_dcache_page(bh_result->b_page); in _get_block_create_0()
451 kunmap(bh_result->b_page); in _get_block_create_0()
521 bh_result->b_page = NULL; in reiserfs_get_blocks_direct_io()
[all …]
/Linux-v5.4/fs/gfs2/
Dtrans.c206 lock_page(bh->b_page); in gfs2_trans_add_meta()
211 unlock_page(bh->b_page); in gfs2_trans_add_meta()
Dmeta_io.c224 if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) { in gfs2_submit_bhs()
331 struct address_space *mapping = bh->b_page->mapping; in gfs2_remove_from_journal()
Dglops.c38 bh->b_page->mapping, bh->b_page->flags); in gfs2_ail_error()
Dlops.c354 gfs2_log_write(sdp, bh->b_page, bh->b_size, bh_offset(bh), in gfs2_log_write_bh()
597 kaddr = kmap_atomic(bh->b_page); in gfs2_check_magic()
669 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
/Linux-v5.4/fs/
Dbuffer.c60 mark_page_accessed(bh->b_page); in touch_buffer()
263 page = bh->b_page; in end_buffer_async_read()
323 page = bh->b_page; in end_buffer_async_write()
548 struct address_space *buffer_mapping = bh->b_page->mapping; in mark_buffer_dirty_inode()
1105 struct page *page = bh->b_page; in mark_buffer_dirty()
1125 if (bh->b_page && bh->b_page->mapping) in mark_buffer_write_io_error()
1126 mapping_set_error(bh->b_page->mapping, -EIO); in mark_buffer_write_io_error()
1157 struct address_space *buffer_mapping = bh->b_page->mapping; in __bforget()
1403 bh->b_page = page; in set_bh_page()
3075 bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); in submit_bh_wbc()
[all …]
Dmpage.c224 map_bh->b_page = page; in do_mpage_readpage()
577 map_bh.b_page = page; in __mpage_writepage()
/Linux-v5.4/fs/jbd2/
Dcommit.c71 page = bh->b_page; in release_buffer_page()
305 struct page *page = bh->b_page; in jbd2_checksum_data()
329 struct page *page = bh->b_page; in jbd2_block_tag_csum_set()
Djournal.c377 new_page = jh2bh(jh_in)->b_page; in jbd2_journal_write_metadata_buffer()
2481 (bh->b_page && bh->b_page->mapping)); in jbd2_journal_add_journal_head()
/Linux-v5.4/include/linux/
Dbuffer_head.h66 struct page *b_page; /* the page this bh is mapped to */ member
/Linux-v5.4/fs/ufs/
Dinode.c436 &err, bh_result->b_page)) in ufs_getfrag_block()
443 &err, &new, bh_result->b_page); in ufs_getfrag_block()
452 fragment, &err, &new, bh_result->b_page); in ufs_getfrag_block()

12