Lines Matching refs:ptrs

108 	struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
118 bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
453 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
460 bkey_for_each_crc(k.k, ptrs, crc, i)
478 struct bkey_ptrs ptrs = bch2_bkey_ptrs(bkey_i_to_s(k));
486 bkey_for_each_crc(&k->k, ptrs, u, i)
501 ptrs = bch2_bkey_ptrs(bkey_i_to_s(k));
503 bkey_for_each_ptr_decode(&k->k, ptrs, p, i)
553 struct bkey_ptrs ptrs = bch2_bkey_ptrs(bkey_i_to_s(k));
554 union bch_extent_crc *crc = (void *) ptrs.end;
574 k->k.u64s += extent_entry_u64s(ptrs.end);
600 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
604 bkey_for_each_ptr_decode(k.k, ptrs, p, entry)
613 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
618 bkey_for_each_ptr_decode(k.k, ptrs, p, entry)
627 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
631 bkey_for_each_crc(k.k, ptrs, crc, entry)
639 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
644 bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
687 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
692 bkey_for_each_ptr_decode(k.k, ptrs, p, entry)
700 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
705 bkey_for_each_ptr_decode(k.k, ptrs, p, entry)
724 struct bkey_ptrs ptrs = bch2_bkey_ptrs(bkey_i_to_s(k));
730 pos = ptrs.start;
734 bkey_for_each_crc(&k->k, ptrs, crc, pos)
752 static union bch_extent_entry *extent_entry_prev(struct bkey_ptrs ptrs,
755 union bch_extent_entry *i = ptrs.start;
771 struct bkey_ptrs ptrs = bch2_bkey_ptrs(k);
776 EBUG_ON(ptr < &ptrs.start->ptr ||
777 ptr >= &ptrs.end->ptr);
781 next != ptrs.end;
793 while ((entry = extent_entry_prev(ptrs, entry))) {
851 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
853 bkey_for_each_ptr(ptrs, ptr)
862 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
864 bkey_for_each_ptr(ptrs, ptr)
876 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
880 bkey_for_each_ptr_decode(k.k, ptrs, p, entry)
941 struct bkey_ptrs ptrs = bch2_bkey_ptrs(k);
945 bkey_extent_entry_for_each(ptrs, entry) {
1011 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
1018 bkey_extent_entry_for_each(ptrs, entry) {
1078 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
1098 bkey_for_each_ptr(ptrs, ptr2)
1123 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
1135 bkey_extent_entry_for_each(ptrs, entry) {
1224 "no ptrs");
1227 "too many ptrs: %u > %u", nr_ptrs, BCH_BKEY_PTRS_MAX);
1230 "extent with unwritten and written ptrs");
1233 "has unwritten ptrs");
1246 struct bkey_ptrs ptrs = bch2_bkey_ptrs(k);
1250 for (d = (u64 *) ptrs.start;
1251 d != (u64 *) ptrs.end;
1255 for (entry = ptrs.start;
1256 entry < ptrs.end;
1284 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
1287 bkey_extent_entry_for_each(ptrs, entry)
1297 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k);
1306 bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
1322 bkey_for_each_ptr(ptrs, ptr) {
1428 struct bkey_ptrs ptrs = bch2_bkey_ptrs(k);
1432 bkey_extent_entry_for_each(ptrs, entry) {