Home
last modified time | relevance | path

Searched refs:lru_k (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dlru.c91 struct bkey_s_c lru_k = in bch2_lru_check_set() local
94 int ret = bkey_err(lru_k); in bch2_lru_check_set()
98 if (lru_k.k->type != KEY_TYPE_set) { in bch2_lru_check_set()
105 bch2_lru_types[lru_type(lru_k)], in bch2_lru_check_set()
119 static struct bbpos lru_pos_to_bp(struct bkey_s_c lru_k) in lru_pos_to_bp() argument
121 enum bch_lru_type type = lru_type(lru_k); in lru_pos_to_bp()
167 struct bkey_s_c lru_k, in bch2_check_lru_key() argument
174 struct bbpos bp = lru_pos_to_bp(lru_k); in bch2_check_lru_key()
182 enum bch_lru_type type = lru_type(lru_k); in bch2_check_lru_key()
185 if (lru_pos_time(lru_k.k->p) != idx) { in bch2_check_lru_key()
[all …]
H A Dec.c1009 0, lru_k, in ec_stripe_delete_work()
1012 ec_stripe_delete(trans, lru_k.k->p.offset); in ec_stripe_delete_work()
1900 struct bkey_s_c lru_k; in __bch2_ec_stripe_head_reuse() local
1906 0, lru_k, ret) { in __bch2_ec_stripe_head_reuse()
1907 ret = __get_existing_stripe(trans, h, &s->existing_stripe, lru_k.k->p.offset); in __bch2_ec_stripe_head_reuse()
H A Dalloc_background.c2135 struct bkey_s_c lru_k, in invalidate_one_bucket() argument
2141 struct bpos bucket = u64_to_bucket(lru_k.k->p.offset); in invalidate_one_bucket()