Lines Matching refs:pbd
2103 #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) argument
2108 struct dm_thin_endio_hook *pbd; in __thin_bio_rb_add() local
2115 pbd = thin_pbd(parent); in __thin_bio_rb_add()
2117 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
2123 pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); in __thin_bio_rb_add()
2124 rb_link_node(&pbd->rb_node, parent, rbp); in __thin_bio_rb_add()
2125 rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); in __thin_bio_rb_add()
2131 struct dm_thin_endio_hook *pbd; in __extract_sorted_bios() local
2135 pbd = thin_pbd(node); in __extract_sorted_bios()
2136 bio = thin_bio(pbd); in __extract_sorted_bios()
2139 rb_erase(&pbd->rb_node, &tc->sort_bio_list); in __extract_sorted_bios()