Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Df2fs.h216 struct f2fs_rwsem { struct
966 struct f2fs_rwsem i_sem; /* protect fi info */
1001 struct f2fs_rwsem i_gc_rwsem[2];
1002 struct f2fs_rwsem i_xattr_sem; /* avoid racing between reading and changing EAs */
1090 struct f2fs_rwsem nat_tree_lock; /* protect nat entry tree */
1203 struct f2fs_rwsem curseg_lock; /* for preventing curseg change */
1396 struct f2fs_rwsem io_rwsem; /* blocking op for bio */
1400 struct f2fs_rwsem bio_list_lock; /* lock to protect bio entry list */
1789 struct f2fs_rwsem sb_lock; /* lock for raw super block */
1814 struct f2fs_rwsem io_order_lock;
[all …]
H A Dcheckpoint.c42 static inline void trace_lock_elapsed_time_start(struct f2fs_rwsem *sem, in trace_lock_elapsed_time_start()
52 static inline void trace_lock_elapsed_time_end(struct f2fs_rwsem *sem, in trace_lock_elapsed_time_end()
93 static bool need_uplift_priority(struct f2fs_rwsem *sem, bool is_write) in need_uplift_priority()
118 static void uplift_priority(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc, in uplift_priority()
139 static void restore_priority(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc, in restore_priority()
153 void f2fs_down_read_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_read_trace()
160 int f2fs_down_read_trylock_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_read_trylock_trace()
171 void f2fs_up_read_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_up_read_trace()
178 void f2fs_down_write_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_write_trace()
185 int f2fs_down_write_trylock_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_write_trylock_trace()
[all …]