Lines Matching refs:kaddr

75 				     struct buffer_head *bh, void *kaddr)  in nilfs_sufile_block_get_segment_usage()  argument
77 return kaddr + bh_offset(bh) + in nilfs_sufile_block_get_segment_usage()
108 void *kaddr; in nilfs_sufile_mod_counter() local
110 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_mod_counter()
111 header = kaddr + bh_offset(header_bh); in nilfs_sufile_mod_counter()
114 kunmap_atomic(kaddr); in nilfs_sufile_mod_counter()
309 void *kaddr; in nilfs_sufile_alloc() local
318 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
319 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
321 kunmap_atomic(kaddr); in nilfs_sufile_alloc()
355 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_alloc()
357 sufile, segnum, su_bh, kaddr); in nilfs_sufile_alloc()
366 kunmap_atomic(kaddr); in nilfs_sufile_alloc()
368 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
369 header = kaddr + bh_offset(header_bh); in nilfs_sufile_alloc()
373 kunmap_atomic(kaddr); in nilfs_sufile_alloc()
387 kunmap_atomic(kaddr); in nilfs_sufile_alloc()
407 void *kaddr; in nilfs_sufile_do_cancel_free() local
409 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_cancel_free()
410 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); in nilfs_sufile_do_cancel_free()
414 kunmap_atomic(kaddr); in nilfs_sufile_do_cancel_free()
418 kunmap_atomic(kaddr); in nilfs_sufile_do_cancel_free()
432 void *kaddr; in nilfs_sufile_do_scrap() local
435 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_scrap()
436 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); in nilfs_sufile_do_scrap()
439 kunmap_atomic(kaddr); in nilfs_sufile_do_scrap()
449 kunmap_atomic(kaddr); in nilfs_sufile_do_scrap()
463 void *kaddr; in nilfs_sufile_do_free() local
466 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_free()
467 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); in nilfs_sufile_do_free()
471 kunmap_atomic(kaddr); in nilfs_sufile_do_free()
479 kunmap_atomic(kaddr); in nilfs_sufile_do_free()
498 void *kaddr; in nilfs_sufile_mark_dirty() local
507 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_mark_dirty()
508 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, bh, kaddr); in nilfs_sufile_mark_dirty()
510 kunmap_atomic(kaddr); in nilfs_sufile_mark_dirty()
529 void *kaddr; in nilfs_sufile_set_segment_usage() local
537 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_segment_usage()
538 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, bh, kaddr); in nilfs_sufile_set_segment_usage()
543 kunmap_atomic(kaddr); in nilfs_sufile_set_segment_usage()
575 void *kaddr; in nilfs_sufile_get_stat() local
584 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_get_stat()
585 header = kaddr + bh_offset(header_bh); in nilfs_sufile_get_stat()
594 kunmap_atomic(kaddr); in nilfs_sufile_get_stat()
607 void *kaddr; in nilfs_sufile_do_set_error() local
610 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_set_error()
611 su = nilfs_sufile_block_get_segment_usage(sufile, segnum, su_bh, kaddr); in nilfs_sufile_do_set_error()
613 kunmap_atomic(kaddr); in nilfs_sufile_do_set_error()
618 kunmap_atomic(kaddr); in nilfs_sufile_do_set_error()
656 void *kaddr; in nilfs_sufile_truncate_range() local
687 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_truncate_range()
689 sufile, segnum, su_bh, kaddr); in nilfs_sufile_truncate_range()
696 kunmap_atomic(kaddr); in nilfs_sufile_truncate_range()
708 kunmap_atomic(kaddr); in nilfs_sufile_truncate_range()
755 void *kaddr; in nilfs_sufile_resize() local
784 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_resize()
785 header = kaddr + bh_offset(header_bh); in nilfs_sufile_resize()
787 kunmap_atomic(kaddr); in nilfs_sufile_resize()
825 void *kaddr; in nilfs_sufile_get_suinfo() local
852 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_get_suinfo()
854 sufile, segnum, su_bh, kaddr); in nilfs_sufile_get_suinfo()
865 kunmap_atomic(kaddr); in nilfs_sufile_get_suinfo()
902 void *kaddr; in nilfs_sufile_set_suinfo() local
934 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_suinfo()
936 sufile, sup->sup_segnum, bh, kaddr); in nilfs_sufile_set_suinfo()
971 kunmap_atomic(kaddr); in nilfs_sufile_set_suinfo()
1027 void *kaddr; in nilfs_sufile_trim_fs() local
1076 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_trim_fs()
1078 su_bh, kaddr); in nilfs_sufile_trim_fs()
1106 kunmap_atomic(kaddr); in nilfs_sufile_trim_fs()
1118 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_trim_fs()
1120 sufile, segnum, su_bh, kaddr); in nilfs_sufile_trim_fs()
1127 kunmap_atomic(kaddr); in nilfs_sufile_trim_fs()
1172 void *kaddr; in nilfs_sufile_read() local
1207 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_read()
1208 header = kaddr + bh_offset(header_bh); in nilfs_sufile_read()
1210 kunmap_atomic(kaddr); in nilfs_sufile_read()