Home
last modified time | relevance | path

Searched refs:six_lock_type (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsix.h130 enum six_lock_type { enum
152 enum six_lock_type lock_want;
196 bool six_trylock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip);
205 static inline bool six_trylock_type(struct six_lock *lock, enum six_lock_type type) in six_trylock_type()
210 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type,
229 static inline int six_lock_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_waiter()
247 static inline int six_lock_ip(struct six_lock *lock, enum six_lock_type type, in six_lock_ip()
266 static inline int six_lock_type(struct six_lock *lock, enum six_lock_type type, in six_lock_type() function
274 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type,
286 static inline bool six_relock_type(struct six_lock *lock, enum six_lock_type type, in six_relock_type()
[all …]
Dsix.c27 static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type);
48 enum six_lock_type unlock_wakeup;
84 static inline void six_set_owner(struct six_lock *lock, enum six_lock_type type, in six_set_owner()
117 static int __do_six_trylock(struct six_lock *lock, enum six_lock_type type, in __do_six_trylock()
212 static void __six_lock_wakeup(struct six_lock *lock, enum six_lock_type lock_type) in __six_lock_wakeup()
266 enum six_lock_type lock_type) in six_lock_wakeup()
278 static bool do_six_trylock(struct six_lock *lock, enum six_lock_type type, bool try) in do_six_trylock()
297 bool six_trylock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip) in six_trylock_ip()
318 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type, in six_relock_ip()
352 enum six_lock_type type) in six_optimistic_spin()
[all …]
Dbtree_locking.h96 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want()
217 enum six_lock_type type, in __btree_node_lock_nopath()
238 enum six_lock_type type, in btree_node_lock_nopath()
246 enum six_lock_type type) in btree_node_lock_nopath_nofail()
268 six_lock_increment(&b->lock, (enum six_lock_type) want); in btree_node_lock_increment()
279 enum six_lock_type type, in btree_node_lock()
Dbtree_io.h146 enum six_lock_type, unsigned);
149 enum six_lock_type lock_held) in btree_node_write_if_need()
Dbtree_cache.h38 enum six_lock_type, unsigned long);
Dbtree_locking.c59 enum six_lock_type lock_want;
269 static bool lock_type_conflicts(enum six_lock_type t1, enum six_lock_type t2) in lock_type_conflicts()
Dbtree_key_cache.c268 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_key_cache_create()
330 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_path_traverse_cached_fast()
Dbtree_cache.c899 enum six_lock_type lock_type, in bch2_btree_node_fill()
1040 enum six_lock_type lock_type, in __bch2_btree_node_get()
1164 enum six_lock_type lock_type, in bch2_btree_node_get()
Dbtree_iter.c690 six_lock_increment(&b->c.lock, (enum six_lock_type) t); in bch2_trans_node_add()
724 enum six_lock_type lock_type; in btree_path_lock_root()
918 enum six_lock_type lock_type = __btree_lock_want(path, level); in btree_path_down()
Dbtree_io.c2278 enum six_lock_type lock_type_held, in bch2_btree_node_write()