Searched refs:fssh_rw_lock (Results 1 – 3 of 3) sorted by relevance
33 typedef struct fssh_rw_lock { struct37 } fssh_rw_lock; argument66 extern void fssh_rw_lock_init(fssh_rw_lock* lock, const char* name);68 extern void fssh_rw_lock_init_etc(fssh_rw_lock* lock, const char* name, uint32_t flags);69 extern void fssh_rw_lock_destroy(fssh_rw_lock* lock);70 extern fssh_status_t fssh_rw_lock_read_lock(fssh_rw_lock* lock);71 extern fssh_status_t fssh_rw_lock_read_unlock(fssh_rw_lock* lock);72 extern fssh_status_t fssh_rw_lock_write_lock(fssh_rw_lock* lock);73 extern fssh_status_t fssh_rw_lock_write_unlock(fssh_rw_lock* lock);125 inline bool Lock(fssh_rw_lock *lockable) in Lock()[all …]
1016 #define rw_lock fssh_rw_lock
211 fssh_rw_lock_init(fssh_rw_lock *lock, const char *name) in fssh_rw_lock_init()229 fssh_rw_lock_init_etc(fssh_rw_lock *lock, const char *name, uint32_t flags) in fssh_rw_lock_init_etc()236 fssh_rw_lock_destroy(fssh_rw_lock *lock) in fssh_rw_lock_destroy()246 fssh_rw_lock_read_lock(fssh_rw_lock *lock) in fssh_rw_lock_read_lock()258 fssh_rw_lock_read_unlock(fssh_rw_lock *lock) in fssh_rw_lock_read_unlock()268 fssh_rw_lock_write_lock(fssh_rw_lock *lock) in fssh_rw_lock_write_lock()286 fssh_rw_lock_write_unlock(fssh_rw_lock *lock) in fssh_rw_lock_write_unlock()