Lines Matching refs:pbd
1928 #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) argument
1933 struct dm_thin_endio_hook *pbd; in __thin_bio_rb_add() local
1940 pbd = thin_pbd(parent); in __thin_bio_rb_add()
1942 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
1948 pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); in __thin_bio_rb_add()
1949 rb_link_node(&pbd->rb_node, parent, rbp); in __thin_bio_rb_add()
1950 rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); in __thin_bio_rb_add()
1956 struct dm_thin_endio_hook *pbd; in __extract_sorted_bios() local
1960 pbd = thin_pbd(node); in __extract_sorted_bios()
1961 bio = thin_bio(pbd); in __extract_sorted_bios()
1964 rb_erase(&pbd->rb_node, &tc->sort_bio_list); in __extract_sorted_bios()