Lines Matching defs:gl

54 	struct gfs2_glock *gl;		/* current glock struct        */  member
117 static void wake_up_glock(struct gfs2_glock *gl) in wake_up_glock()
127 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() local
149 static bool glock_blocked_by_withdraw(struct gfs2_glock *gl) in glock_blocked_by_withdraw()
163 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free()
182 void gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold()
195 static int demote_ok(const struct gfs2_glock *gl) in demote_ok()
215 void gfs2_glock_add_to_lru(struct gfs2_glock *gl) in gfs2_glock_add_to_lru()
232 static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl) in gfs2_glock_remove_from_lru()
250 static void __gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in __gfs2_glock_queue_work()
263 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work()
269 static void __gfs2_glock_put(struct gfs2_glock *gl) in __gfs2_glock_put()
291 void gfs2_glock_queue_put(struct gfs2_glock *gl) in gfs2_glock_queue_put()
302 void gfs2_glock_put(struct gfs2_glock *gl) in gfs2_glock_put()
327 static inline bool may_grant(struct gfs2_glock *gl, in may_grant()
387 static void do_error(struct gfs2_glock *gl, const int ret) in do_error()
411 static void demote_incompat_holders(struct gfs2_glock *gl, in demote_incompat_holders()
445 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
465 find_first_strong_holder(struct gfs2_glock *gl) in find_first_strong_holder()
487 struct gfs2_glock *gl = gh->gh_gl; in gfs2_instantiate() local
527 static int do_promote(struct gfs2_glock *gl) in do_promote()
593 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
610 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change()
632 static void gfs2_set_demote(struct gfs2_glock *gl) in gfs2_set_demote()
641 static void gfs2_demote_wake(struct gfs2_glock *gl) in gfs2_demote_wake()
656 static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) in finish_xmote()
735 static bool is_system_glock(struct gfs2_glock *gl) in is_system_glock()
753 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
883 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue()
934 void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation) in gfs2_inode_remember_delete()
944 bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation) in gfs2_inode_already_deleted()
953 static void gfs2_glock_poke(struct gfs2_glock *gl) in gfs2_glock_poke()
966 static bool gfs2_try_evict(struct gfs2_glock *gl) in gfs2_try_evict()
1015 struct gfs2_glock *gl = container_of(dwork, struct gfs2_glock, gl_delete); in delete_work_func() local
1062 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() local
1111 struct gfs2_glock *gl; in find_insert_glock() local
1161 struct gfs2_glock *gl, *tmp; in gfs2_glock_get() local
1256 void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, in __gfs2_holder_init()
1304 static void gfs2_glock_update_hold_time(struct gfs2_glock *gl, in gfs2_glock_update_hold_time()
1428 static void handle_callback(struct gfs2_glock *gl, unsigned int state, in handle_callback()
1480 struct gfs2_glock *gl = gh->gh_gl; in add_to_queue() local
1562 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_nq() local
1600 static inline bool needs_demote(struct gfs2_glock *gl) in needs_demote()
1608 struct gfs2_glock *gl = gh->gh_gl; in __gfs2_glock_dq() local
1694 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq() local
1703 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq_wait() local
1737 struct gfs2_glock *gl; in gfs2_glock_nq_num() local
1858 void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) in gfs2_glock_cb()
1917 static int gfs2_should_freeze(const struct gfs2_glock *gl) in gfs2_should_freeze()
1945 void gfs2_glock_complete(struct gfs2_glock *gl, int ret) in gfs2_glock_complete()
2000 struct gfs2_glock *gl; in gfs2_dispose_glock_lru() local
2040 struct gfs2_glock *gl; in gfs2_scan_glock_lru() local
2099 struct gfs2_glock *gl; in glock_hash_walk() local
2118 bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay) in gfs2_queue_delete_work()
2131 void gfs2_cancel_delete_work(struct gfs2_glock *gl) in gfs2_cancel_delete_work()
2139 bool gfs2_delete_work_queued(const struct gfs2_glock *gl) in gfs2_delete_work_queued()
2144 static void flush_delete_work(struct gfs2_glock *gl) in flush_delete_work()
2166 static void thaw_glock(struct gfs2_glock *gl) in thaw_glock()
2182 static void clear_glock(struct gfs2_glock *gl) in clear_glock()
2207 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) in dump_glock()
2214 static void dump_glock_func(struct gfs2_glock *gl) in dump_glock_func()
2240 struct gfs2_glock *gl = ip->i_gl; in gfs2_glock_finish_truncate() local
2327 static const char *gflags2str(char *buf, const struct gfs2_glock *gl) in gflags2str()
2390 void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) in gfs2_dump_glock()
2433 struct gfs2_glock *gl = iter_ptr; in gfs2_glstats_seq_show() local
2550 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next() local