Lines Matching refs:inum

140 	bool		(*is_visible)(subvol_inum inum, struct bkey_s_c);
143 static inline bool is_visible_key(struct bch_hash_desc desc, subvol_inum inum, struct bkey_s_c k) in is_visible_key() argument
147 !inum.inum || in is_visible_key()
148 desc.is_visible(inum, k)); in is_visible_key()
156 subvol_inum inum, const void *key, in bch2_hash_lookup_in_snapshot() argument
164 SPOS(inum.inum, desc.hash_key(info, key), snapshot), in bch2_hash_lookup_in_snapshot()
165 POS(inum.inum, U64_MAX), in bch2_hash_lookup_in_snapshot()
167 if (is_visible_key(desc, inum, k)) { in bch2_hash_lookup_in_snapshot()
187 subvol_inum inum, const void *key, in bch2_hash_lookup() argument
191 int ret = bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot); in bch2_hash_lookup()
195 return bch2_hash_lookup_in_snapshot(trans, iter, desc, info, inum, key, flags, snapshot); in bch2_hash_lookup()
203 subvol_inum inum, const void *key) in bch2_hash_hole() argument
209 ret = bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot); in bch2_hash_hole()
214 SPOS(inum.inum, desc.hash_key(info, key), snapshot), in bch2_hash_hole()
215 POS(inum.inum, U64_MAX), in bch2_hash_hole()
217 if (!is_visible_key(desc, inum, k)) in bch2_hash_hole()
259 subvol_inum inum, u32 snapshot, in bch2_hash_set_or_get_in_snapshot() argument
274 if (is_visible_key(desc, inum, k)) { in bch2_hash_set_or_get_in_snapshot()
318 subvol_inum inum, u32 snapshot, in bch2_hash_set_in_snapshot() argument
323 struct bkey_s_c k = bch2_hash_set_or_get_in_snapshot(trans, &iter, desc, info, inum, in bch2_hash_set_in_snapshot()
340 subvol_inum inum, in bch2_hash_set() argument
344 insert->k.p.inode = inum.inum; in bch2_hash_set()
347 return bch2_subvolume_get_snapshot(trans, inum.subvol, &snapshot) ?: in bch2_hash_set()
348 bch2_hash_set_in_snapshot(trans, desc, info, inum, in bch2_hash_set()
382 subvol_inum inum, const void *key) in bch2_hash_delete() argument
385 struct bkey_s_c k = bch2_hash_lookup(trans, &iter, desc, info, inum, key, in bch2_hash_delete()