• Home
  • Raw
  • Download

Lines Matching refs:pb

612 	struct per_bio_data *pb = dm_per_bio_data(bio, sizeof(struct per_bio_data));  in get_per_bio_data()  local
613 BUG_ON(!pb); in get_per_bio_data()
614 return pb; in get_per_bio_data()
619 struct per_bio_data *pb = get_per_bio_data(bio); in init_per_bio_data() local
621 pb->tick = false; in init_per_bio_data()
622 pb->req_nr = dm_bio_get_target_bio_nr(bio); in init_per_bio_data()
623 pb->cell = NULL; in init_per_bio_data()
624 pb->len = 0; in init_per_bio_data()
626 return pb; in init_per_bio_data()
659 struct per_bio_data *pb; in bio_detain_shared() local
679 pb = get_per_bio_data(bio); in bio_detain_shared()
680 pb->cell = cell; in bio_detain_shared()
831 struct per_bio_data *pb; in check_if_tick_bio_needed() local
836 pb = get_per_bio_data(bio); in check_if_tick_bio_needed()
837 pb->tick = true; in check_if_tick_bio_needed()
890 struct per_bio_data *pb; in accounted_begin() local
893 pb = get_per_bio_data(bio); in accounted_begin()
894 pb->len = bio_sectors(bio); in accounted_begin()
895 iot_io_begin(&cache->tracker, pb->len); in accounted_begin()
901 struct per_bio_data *pb = get_per_bio_data(bio); in accounted_complete() local
903 iot_io_end(&cache->tracker, pb->len); in accounted_complete()
1207 struct per_bio_data *pb = get_per_bio_data(bio); in bio_drop_shared_lock() local
1209 if (pb->cell && dm_cell_put_v2(cache->prison, pb->cell)) in bio_drop_shared_lock()
1210 free_prison_cell(cache, pb->cell); in bio_drop_shared_lock()
1211 pb->cell = NULL; in bio_drop_shared_lock()
1218 struct per_bio_data *pb = get_per_bio_data(bio); in overwrite_endio() local
1220 dm_unhook_bio(&pb->hook_info, bio); in overwrite_endio()
1232 struct per_bio_data *pb = get_per_bio_data(bio); in overwrite() local
1234 dm_hook_bio(&pb->hook_info, bio, overwrite_endio, mg); in overwrite()
1749 struct per_bio_data *pb = get_per_bio_data(bio); in map_bio() local
1755 if (pb->req_nr == 0) { in map_bio()
1855 struct per_bio_data *pb = get_per_bio_data(bio); in process_flush_bio() local
1857 if (!pb->req_nr) in process_flush_bio()
2757 struct per_bio_data *pb = get_per_bio_data(bio); in cache_end_io() local
2759 if (pb->tick) { in cache_end_io()