Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.c67 unlock_page(bh->b_page); in nilfs_btnode_create_block()
68 put_page(bh->b_page); in nilfs_btnode_create_block()
86 page = bh->b_page; in nilfs_btnode_submit_block()
148 struct page *page = bh->b_page; in nilfs_btnode_delete()
188 struct page *opage = obh->b_page; in nilfs_btnode_prepare_change_key()
228 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
247 opage = obh->b_page; in nilfs_btnode_commit_change_key()
287 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()
139 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
162 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
187 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_end()
212 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_abort_end()
347 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_move()
411 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_translate()
442 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()
318 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
355 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_alloc()
368 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
409 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_cancel_free()
435 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_scrap()
466 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_free()
507 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_mark_dirty()
537 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_segment_usage()
584 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_get_stat()
[all …]
Difile.h24 void *kaddr = kmap(ibh->b_page); in nilfs_ifile_map_inode()
32 kunmap(ibh->b_page); in nilfs_ifile_unmap_inode()
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()
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()
161 unlock_page(bh->b_page); in nilfs_mdt_submit_block()
162 put_page(bh->b_page); in nilfs_mdt_submit_block()
566 page = grab_cache_page(shadow->inode->i_mapping, bh->b_page->index); in nilfs_mdt_freeze_buffer()
598 page = find_lock_page(shadow->inode->i_mapping, bh->b_page->index); in nilfs_mdt_get_frozen_buffer()
Dsegment.c1584 inode = bh->b_page->mapping->host; in nilfs_segctor_update_payload_blocknr()
1662 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1669 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1677 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1682 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1686 if (bh->b_page != fs_page) { in nilfs_segctor_prepare_write()
1688 fs_page = bh->b_page; in nilfs_segctor_prepare_write()
1761 if (bh->b_page != bd_page) { in nilfs_abort_logs()
1764 bd_page = bh->b_page; in nilfs_abort_logs()
1772 if (bh->b_page != bd_page) { in nilfs_abort_logs()
[all …]
Dpage.c76 struct page *page = bh->b_page; in nilfs_forget_buffer()
103 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()
382 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); in nilfs_segbuf_submit_bh()
/Linux-v6.1/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.c316 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
348 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
379 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) { in _get_block_create_0()
393 p = (char *)kmap(bh_result->b_page); in _get_block_create_0()
442 flush_dcache_page(bh_result->b_page); in _get_block_create_0()
443 kunmap(bh_result->b_page); in _get_block_create_0()
513 bh_result->b_page = NULL; in reiserfs_get_blocks_direct_io()
576 struct page *hole_page = bh_result->b_page; in convert_tail_for_hole()
974 if (unbh->b_page) { in reiserfs_get_block()
2386 kmap(bh_result->b_page); in map_block_for_writepage()
[all …]
/Linux-v6.1/fs/
Dbuffer.c63 mark_page_accessed(bh->b_page); in touch_buffer()
254 page = bh->b_page; in end_buffer_async_read()
310 err = fscrypt_decrypt_pagecache_blocks(bh->b_page, bh->b_size, in decrypt_bh()
324 fscrypt_inode_uses_fs_layer_crypto(bh->b_page->mapping->host)) { in end_buffer_async_read_io()
351 page = bh->b_page; in end_buffer_async_write()
573 struct address_space *buffer_mapping = bh->b_page->mapping; in mark_buffer_dirty_inode()
1098 struct page *page = bh->b_page; in mark_buffer_dirty()
1120 if (bh->b_page && bh->b_page->mapping) in mark_buffer_write_io_error()
1121 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()
[all …]
Dmpage.c201 map_bh->b_page = &folio->page; in do_mpage_readpage()
528 map_bh.b_page = page; in __mpage_writepage()
/Linux-v6.1/fs/gfs2/
Dtrans.c248 lock_page(bh->b_page); in gfs2_trans_add_meta()
253 unlock_page(bh->b_page); in gfs2_trans_add_meta()
Dmeta_io.c230 if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) { in gfs2_submit_bhs()
337 struct address_space *mapping = bh->b_page->mapping; in gfs2_remove_from_journal()
Dlops.c362 gfs2_log_write(sdp, sdp->sd_jdesc, bh->b_page, bh->b_size, in gfs2_log_write_bh()
629 kaddr = kmap_atomic(bh->b_page); in gfs2_check_magic()
702 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
Dglops.c42 bh->b_page->mapping, bh->b_page->flags); in gfs2_ail_error()
/Linux-v6.1/fs/jbd2/
Dcommit.c72 page = bh->b_page; in release_buffer_page()
331 struct page *page = bh->b_page; in jbd2_checksum_data()
355 struct page *page = bh->b_page; in jbd2_block_tag_csum_set()
1044 mapping = READ_ONCE(bh->b_page->mapping); in jbd2_journal_commit_transaction()
/Linux-v6.1/fs/crypto/
Dinline_crypt.c289 struct page *page = bh->b_page; in bh_get_inode_and_lblk_num()
/Linux-v6.1/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()
/Linux-v6.1/include/linux/
Dbuffer_head.h64 struct page *b_page; /* the page this bh is mapped to */ member

12