Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dsix.h130 enum six_lock_type { enum
153 enum six_lock_type lock_want;
212 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type,
231 static inline int six_lock_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_waiter()
249 static inline int six_lock_ip(struct six_lock *lock, enum six_lock_type type, in six_lock_ip()
268 static inline int six_lock_type(struct six_lock *lock, enum six_lock_type type, in six_lock_type() function
276 bool six_relock_ip(struct six_lock *lock, enum six_lock_type type,
288 static inline bool six_relock_type(struct six_lock *lock, enum six_lock_type type, in six_relock_type()
374 bool six_trylock_convert(struct six_lock *, enum six_lock_type,
375 enum six_lock_type);
[all …]
H A Dsix.c27 static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type);
48 enum six_lock_type unlock_wakeup;
117 static int __do_six_trylock(struct six_lock *lock, enum six_lock_type type, in __do_six_trylock()
266 enum six_lock_type lock_type) in six_lock_wakeup()
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()
402 enum six_lock_type type) in six_optimistic_spin()
543 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_ip_waiter()
700 enum six_lock_type from, in six_trylock_convert()
701 enum six_lock_type to) in six_trylock_convert()
[all …]
H A Dbtree_locking.h90 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want()
221 enum six_lock_type type, in __btree_node_lock_nopath()
242 enum six_lock_type type, in btree_node_lock_nopath()
250 enum six_lock_type type) in btree_node_lock_nopath_nofail()
272 six_lock_increment(&b->lock, (enum six_lock_type) want); in btree_node_lock_increment()
283 enum six_lock_type type, in btree_node_lock()
H A Dbtree_io.h150 enum six_lock_type, unsigned);
152 enum six_lock_type, unsigned);
155 enum six_lock_type lock_held) in btree_node_write_if_need()
H A Dbtree_cache.h38 enum six_lock_type, unsigned long);
H A Dbtree_locking.c60 enum six_lock_type lock_want;
284 static bool lock_type_conflicts(enum six_lock_type t1, enum six_lock_type t2) in lock_type_conflicts()
H A Dbtree_key_cache.c277 enum six_lock_type lock_want = __btree_lock_want(ck_path, 0); in btree_key_cache_create()
360 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_path_traverse_cached_fast()
H A Dbtree_cache.c902 enum six_lock_type lock_type, in bch2_btree_node_fill()
1041 enum six_lock_type lock_type, in __bch2_btree_node_get()
1165 enum six_lock_type lock_type, in bch2_btree_node_get()
H A Dbtree_iter.c678 six_lock_increment(&b->c.lock, (enum six_lock_type) t); in bch2_trans_node_add()
725 enum six_lock_type lock_type; in btree_path_lock_root()
924 enum six_lock_type lock_type = __btree_lock_want(path, level); in btree_path_down()
H A Dbtree_io.c2545 enum six_lock_type lock_type_held, in bch2_btree_node_write()
2571 enum six_lock_type lock_type_held, in bch2_btree_node_write_trans()