Home
last modified time | relevance | path

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

/fs/bcachefs/
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 …]
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()
349 enum six_lock_type type) in six_optimistic_spin()
399 enum six_lock_type type) in six_optimistic_spin()
540 int six_lock_ip_waiter(struct six_lock *lock, enum six_lock_type type, in six_lock_ip_waiter()
697 enum six_lock_type from, in six_trylock_convert()
698 enum six_lock_type to) in six_trylock_convert()
[all …]
A Dbtree_locking.h98 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want()
229 enum six_lock_type type, in __btree_node_lock_nopath()
250 enum six_lock_type type, in btree_node_lock_nopath()
258 enum six_lock_type type) in btree_node_lock_nopath_nofail()
280 six_lock_increment(&b->lock, (enum six_lock_type) want); in btree_node_lock_increment()
291 enum six_lock_type type, in btree_node_lock()
A Dbtree_io.h160 enum six_lock_type, unsigned);
162 enum six_lock_type, unsigned);
165 enum six_lock_type lock_held) in btree_node_write_if_need()
A Dbtree_cache.h39 enum six_lock_type, unsigned long);
A Dbtree_locking.c61 enum six_lock_type lock_want;
288 static bool lock_type_conflicts(enum six_lock_type t1, enum six_lock_type t2) in lock_type_conflicts()
A Dbtree_key_cache.c286 enum six_lock_type lock_want = __btree_lock_want(ck_path, 0); in btree_key_cache_create()
369 enum six_lock_type lock_want = __btree_lock_want(path, 0); in btree_path_traverse_cached_fast()
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()
A Dbtree_iter.c692 six_lock_increment(&b->c.lock, (enum six_lock_type) t); in bch2_trans_node_add()
739 enum six_lock_type lock_type; in btree_path_lock_root()
953 enum six_lock_type lock_type = __btree_lock_want(path, level); in btree_path_down()
A Dbtree_io.c2637 enum six_lock_type lock_type_held, in bch2_btree_node_write()
2663 enum six_lock_type lock_type_held, in bch2_btree_node_write_trans()

Completed in 48 milliseconds