Lines Matching refs:pbd
1710 #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) argument
1715 struct dm_thin_endio_hook *pbd; in __thin_bio_rb_add() local
1722 pbd = thin_pbd(parent); in __thin_bio_rb_add()
1724 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
1730 pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); in __thin_bio_rb_add()
1731 rb_link_node(&pbd->rb_node, parent, rbp); in __thin_bio_rb_add()
1732 rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); in __thin_bio_rb_add()
1738 struct dm_thin_endio_hook *pbd; in __extract_sorted_bios() local
1742 pbd = thin_pbd(node); in __extract_sorted_bios()
1743 bio = thin_bio(pbd); in __extract_sorted_bios()
1746 rb_erase(&pbd->rb_node, &tc->sort_bio_list); in __extract_sorted_bios()