Lines Matching refs:pbd
2093 #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) argument
2098 struct dm_thin_endio_hook *pbd; in __thin_bio_rb_add() local
2105 pbd = thin_pbd(parent); in __thin_bio_rb_add()
2107 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
2113 pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); in __thin_bio_rb_add()
2114 rb_link_node(&pbd->rb_node, parent, rbp); in __thin_bio_rb_add()
2115 rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); in __thin_bio_rb_add()
2121 struct dm_thin_endio_hook *pbd; in __extract_sorted_bios() local
2125 pbd = thin_pbd(node); in __extract_sorted_bios()
2126 bio = thin_bio(pbd); in __extract_sorted_bios()
2129 rb_erase(&pbd->rb_node, &tc->sort_bio_list); in __extract_sorted_bios()