Lines Matching refs:lru_id
43 static int __bch2_lru_set(struct btree_trans *trans, u16 lru_id, in __bch2_lru_set() argument
48 lru_pos(lru_id, dev_bucket, time), set) in __bch2_lru_set()
52 int bch2_lru_del(struct btree_trans *trans, u16 lru_id, u64 dev_bucket, u64 time) in bch2_lru_del() argument
54 return __bch2_lru_set(trans, lru_id, dev_bucket, time, KEY_TYPE_deleted); in bch2_lru_del()
57 int bch2_lru_set(struct btree_trans *trans, u16 lru_id, u64 dev_bucket, u64 time) in bch2_lru_set() argument
59 return __bch2_lru_set(trans, lru_id, dev_bucket, time, KEY_TYPE_set); in bch2_lru_set()
63 u16 lru_id, u64 dev_bucket, in bch2_lru_change() argument
69 return bch2_lru_del(trans, lru_id, dev_bucket, old_time) ?: in bch2_lru_change()
70 bch2_lru_set(trans, lru_id, dev_bucket, new_time); in bch2_lru_change()
81 u16 lru_id, u64 time, in bch2_lru_check_set() argument
90 lru_pos(lru_id, in bch2_lru_check_set()
107 ret = bch2_lru_set(trans, lru_id, bucket_to_u64(referring_k.k->p), time); in bch2_lru_check_set()