Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dlru.c88 struct bkey_s_c lru_k = in bch2_lru_check_set() local
93 int ret = bkey_err(lru_k); in bch2_lru_check_set()
97 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()
121 struct bkey_s_c lru_k, in bch2_check_lru_key() argument
131 enum bch_lru_type type = lru_type(lru_k); in bch2_check_lru_key()
132 struct bpos alloc_pos = u64_to_bucket(lru_k.k->p.offset); in bch2_check_lru_key()
160 if (lru_k.k->type != KEY_TYPE_set || in bch2_check_lru_key()
161 lru_pos_time(lru_k.k->p) != idx) { in bch2_check_lru_key()
162 ret = bch2_btree_write_buffer_maybe_flush(trans, lru_k, last_flushed); in bch2_check_lru_key()
[all …]
Dalloc_background.c2019 struct bkey_s_c lru_k, in invalidate_one_bucket() argument
2025 struct bpos bucket = u64_to_bucket(lru_k.k->p.offset); in invalidate_one_bucket()
2079 bch2_bkey_val_to_text(&buf, c, lru_k); in invalidate_one_bucket()