Lines Matching refs:kaddr
71 void *kaddr, in nilfs_cpfile_block_add_valid_checkpoints() argument
74 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_add_valid_checkpoints()
85 void *kaddr, in nilfs_cpfile_block_sub_valid_checkpoints() argument
88 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_sub_valid_checkpoints()
100 void *kaddr) in nilfs_cpfile_block_get_header() argument
102 return kaddr + bh_offset(bh); in nilfs_cpfile_block_get_header()
108 void *kaddr) in nilfs_cpfile_block_get_checkpoint() argument
110 return kaddr + bh_offset(bh) + nilfs_cpfile_get_offset(cpfile, cno) * in nilfs_cpfile_block_get_checkpoint()
116 void *kaddr) in nilfs_cpfile_block_init() argument
118 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); in nilfs_cpfile_block_init()
223 void *kaddr; in nilfs_cpfile_get_checkpoint() local
238 kaddr = kmap(cp_bh->b_page); in nilfs_cpfile_get_checkpoint()
239 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_get_checkpoint()
251 kaddr, 1); in nilfs_cpfile_get_checkpoint()
254 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_get_checkpoint()
256 kaddr); in nilfs_cpfile_get_checkpoint()
258 kunmap_atomic(kaddr); in nilfs_cpfile_get_checkpoint()
320 void *kaddr; in nilfs_cpfile_delete_checkpoints() local
350 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_delete_checkpoints()
352 cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_delete_checkpoints()
369 cpfile, cp_bh, kaddr, nicps); in nilfs_cpfile_delete_checkpoints()
372 kunmap_atomic(kaddr); in nilfs_cpfile_delete_checkpoints()
387 kunmap_atomic(kaddr); in nilfs_cpfile_delete_checkpoints()
392 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_delete_checkpoints()
394 kaddr); in nilfs_cpfile_delete_checkpoints()
398 kunmap_atomic(kaddr); in nilfs_cpfile_delete_checkpoints()
432 void *kaddr; in nilfs_cpfile_do_get_cpinfo() local
450 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_cpinfo()
451 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); in nilfs_cpfile_do_get_cpinfo()
460 kunmap_atomic(kaddr); in nilfs_cpfile_do_get_cpinfo()
485 void *kaddr; in nilfs_cpfile_do_get_ssinfo() local
494 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
495 header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); in nilfs_cpfile_do_get_ssinfo()
497 kunmap_atomic(kaddr); in nilfs_cpfile_do_get_ssinfo()
515 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
517 cp = nilfs_cpfile_block_get_checkpoint(cpfile, curr, bh, kaddr); in nilfs_cpfile_do_get_ssinfo()
531 kunmap_atomic(kaddr); in nilfs_cpfile_do_get_ssinfo()
539 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
544 kunmap_atomic(kaddr); in nilfs_cpfile_do_get_ssinfo()
601 void *kaddr) in nilfs_cpfile_block_get_snapshot_list() argument
608 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); in nilfs_cpfile_block_get_snapshot_list()
611 header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); in nilfs_cpfile_block_get_snapshot_list()
625 void *kaddr; in nilfs_cpfile_set_snapshot() local
635 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_set_snapshot()
636 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_set_snapshot()
639 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
644 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
647 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
652 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_set_snapshot()
653 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_set_snapshot()
664 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
670 kaddr = kmap_atomic(curr_bh->b_page); in nilfs_cpfile_set_snapshot()
674 cpfile, curr, curr_bh, kaddr); in nilfs_cpfile_set_snapshot()
678 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
690 kaddr = kmap_atomic(curr_bh->b_page); in nilfs_cpfile_set_snapshot()
692 cpfile, curr, curr_bh, kaddr); in nilfs_cpfile_set_snapshot()
694 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
696 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_set_snapshot()
697 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_set_snapshot()
701 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
703 kaddr = kmap_atomic(prev_bh->b_page); in nilfs_cpfile_set_snapshot()
705 cpfile, prev, prev_bh, kaddr); in nilfs_cpfile_set_snapshot()
707 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
709 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_set_snapshot()
710 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_set_snapshot()
712 kunmap_atomic(kaddr); in nilfs_cpfile_set_snapshot()
743 void *kaddr; in nilfs_cpfile_clear_snapshot() local
753 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_clear_snapshot()
754 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_clear_snapshot()
757 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
762 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
769 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
793 kaddr = kmap_atomic(next_bh->b_page); in nilfs_cpfile_clear_snapshot()
795 cpfile, next, next_bh, kaddr); in nilfs_cpfile_clear_snapshot()
797 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
799 kaddr = kmap_atomic(prev_bh->b_page); in nilfs_cpfile_clear_snapshot()
801 cpfile, prev, prev_bh, kaddr); in nilfs_cpfile_clear_snapshot()
803 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
805 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_clear_snapshot()
806 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, cp_bh, kaddr); in nilfs_cpfile_clear_snapshot()
810 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
812 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_clear_snapshot()
813 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_clear_snapshot()
815 kunmap_atomic(kaddr); in nilfs_cpfile_clear_snapshot()
860 void *kaddr; in nilfs_cpfile_is_snapshot() local
874 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_is_snapshot()
875 cp = nilfs_cpfile_block_get_checkpoint(cpfile, cno, bh, kaddr); in nilfs_cpfile_is_snapshot()
880 kunmap_atomic(kaddr); in nilfs_cpfile_is_snapshot()
949 void *kaddr; in nilfs_cpfile_get_stat() local
957 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_get_stat()
958 header = nilfs_cpfile_block_get_header(cpfile, bh, kaddr); in nilfs_cpfile_get_stat()
962 kunmap_atomic(kaddr); in nilfs_cpfile_get_stat()