Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
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()
563 page = grab_cache_page(shadow->inode->i_mapping, bh->b_page->index); in nilfs_mdt_freeze_buffer()
595 page = find_lock_page(shadow->inode->i_mapping, bh->b_page->index); in nilfs_mdt_get_frozen_buffer()
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()
144 struct inode *inode = bh->b_page->mapping->host; in nilfs_gccache_wait_and_mark_dirty()
Dsegment.c1609 inode = bh->b_page->mapping->host; in nilfs_segctor_update_payload_blocknr()
1687 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1694 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1702 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1707 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1711 if (bh->b_page != fs_page) { in nilfs_segctor_prepare_write()
1713 fs_page = bh->b_page; in nilfs_segctor_prepare_write()
1786 if (bh->b_page != bd_page) { in nilfs_abort_logs()
1789 bd_page = bh->b_page; in nilfs_abort_logs()
1797 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.c456 key = page_index(bh->b_page) << (PAGE_SHIFT - in nilfs_bmap_data_get_key()
458 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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
1130 struct page *page = bh->b_page; in mark_buffer_dirty()
1152 if (bh->b_page && bh->b_page->mapping) in mark_buffer_write_io_error()
1153 mapping_set_error(bh->b_page->mapping, -EIO); in mark_buffer_write_io_error()
1189 struct address_space *buffer_mapping = bh->b_page->mapping; in __bforget()
[all …]
Dmpage.c224 map_bh->b_page = page; in do_mpage_readpage()
561 map_bh.b_page = page; in __mpage_writepage()
/kernel/linux/linux-5.10/fs/gfs2/
Dtrans.c213 lock_page(bh->b_page); in gfs2_trans_add_meta()
218 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()
332 struct address_space *mapping = bh->b_page->mapping; in gfs2_remove_from_journal()
Dlops.c358 gfs2_log_write(sdp, bh->b_page, bh->b_size, bh_offset(bh), dblock); in gfs2_log_write_bh()
623 kaddr = kmap_atomic(bh->b_page); in gfs2_check_magic()
696 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
Dglops.c40 bh->b_page->mapping, bh->b_page->flags); in gfs2_ail_error()
/kernel/linux/linux-5.10/fs/jbd2/
Dcommit.c71 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()
1057 mapping = READ_ONCE(bh->b_page->mapping); in jbd2_journal_commit_transaction()
/kernel/linux/linux-5.10/fs/crypto/
Dinline_crypt.c262 struct page *page = bh->b_page; in bh_get_inode_and_lblk_num()
/kernel/linux/linux-5.10/include/linux/
Dbuffer_head.h63 struct page *b_page; /* the page this bh is mapped to */ member
/kernel/linux/linux-5.10/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