Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dmrlock.h19 #define mrinit(mrp, name) \ argument
20 do { (mrp)->mr_writer = 0; init_rwsem(&(mrp)->mr_lock); } while (0)
22 #define mrinit(mrp, name) \ argument
23 do { init_rwsem(&(mrp)->mr_lock); } while (0)
26 #define mrlock_init(mrp, t,n,s) mrinit(mrp, n) argument
27 #define mrfree(mrp) do { } while (0) argument
29 static inline void mraccess_nested(mrlock_t *mrp, int subclass) in mraccess_nested() argument
31 down_read_nested(&mrp->mr_lock, subclass); in mraccess_nested()
34 static inline void mrupdate_nested(mrlock_t *mrp, int subclass) in mrupdate_nested() argument
36 down_write_nested(&mrp->mr_lock, subclass); in mrupdate_nested()
[all …]