Lines Matching defs:gl

57 	struct gfs2_glock *gl;		/* current glock struct        */  member
119 static void wake_up_glock(struct gfs2_glock *gl) in wake_up_glock()
129 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() local
153 static bool glock_blocked_by_withdraw(struct gfs2_glock *gl) in glock_blocked_by_withdraw()
167 static void __gfs2_glock_free(struct gfs2_glock *gl) in __gfs2_glock_free()
175 void gfs2_glock_free(struct gfs2_glock *gl) { in gfs2_glock_free()
183 void gfs2_glock_free_later(struct gfs2_glock *gl) { in gfs2_glock_free_later()
198 struct gfs2_glock *gl; in gfs2_free_dead_glocks() local
212 struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold()
219 static 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()
247 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work()
262 static void __gfs2_glock_put(struct gfs2_glock *gl) in __gfs2_glock_put()
280 static bool __gfs2_glock_put_or_lock(struct gfs2_glock *gl) in __gfs2_glock_put_or_lock()
300 void gfs2_glock_put(struct gfs2_glock *gl) in gfs2_glock_put()
315 void gfs2_glock_put_async(struct gfs2_glock *gl) in gfs2_glock_put_async()
338 static inline bool may_grant(struct gfs2_glock *gl, in may_grant()
398 static void do_error(struct gfs2_glock *gl, const int ret) in do_error()
422 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
443 struct gfs2_glock *gl = gh->gh_gl; in gfs2_instantiate() local
488 static bool do_promote(struct gfs2_glock *gl) in do_promote()
522 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
540 static inline struct gfs2_holder *find_last_waiter(const struct gfs2_glock *gl) in find_last_waiter()
556 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change()
566 static void gfs2_set_demote(int nr, struct gfs2_glock *gl) in gfs2_set_demote()
575 static void gfs2_demote_wake(struct gfs2_glock *gl) in gfs2_demote_wake()
590 static void finish_xmote(struct gfs2_glock *gl, unsigned int ret) in finish_xmote()
667 static bool is_system_glock(struct gfs2_glock *gl) in is_system_glock()
685 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, in do_xmote()
842 static void run_queue(struct gfs2_glock *gl, const int nonblock) in run_queue()
893 void glock_set_object(struct gfs2_glock *gl, void *object) in glock_set_object()
914 void glock_clear_object(struct gfs2_glock *gl, void *object) in glock_clear_object()
930 void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation) in gfs2_inode_remember_delete()
940 bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation) in gfs2_inode_already_deleted()
949 static void gfs2_glock_poke(struct gfs2_glock *gl) in gfs2_glock_poke()
962 static void gfs2_try_evict(struct gfs2_glock *gl) in gfs2_try_evict()
1012 bool gfs2_queue_try_to_evict(struct gfs2_glock *gl) in gfs2_queue_try_to_evict()
1021 bool gfs2_queue_verify_delete(struct gfs2_glock *gl, bool later) in gfs2_queue_verify_delete()
1035 struct gfs2_glock *gl = container_of(dwork, struct gfs2_glock, gl_delete); in delete_work_func() local
1065 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() local
1115 struct gfs2_glock *gl; in find_insert_glock() local
1167 struct gfs2_glock *gl, *tmp; in gfs2_glock_get() local
1258 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()
1426 static void request_demote(struct gfs2_glock *gl, unsigned int state, in request_demote()
1484 struct gfs2_glock *gl = gh->gh_gl; in add_to_queue() local
1563 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_nq() local
1621 struct gfs2_glock *gl = gh->gh_gl; in __gfs2_glock_dq() local
1663 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq() local
1708 struct gfs2_glock *gl = gh->gh_gl; in gfs2_glock_dq_wait() local
1742 struct gfs2_glock *gl; in gfs2_glock_nq_num() local
1859 void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) in gfs2_glock_cb()
1893 static int gfs2_should_freeze(const struct gfs2_glock *gl) in gfs2_should_freeze()
1921 void gfs2_glock_complete(struct gfs2_glock *gl, int ret) in gfs2_glock_complete()
1958 static bool can_free_glock(struct gfs2_glock *gl) in can_free_glock()
1986 struct gfs2_glock *gl; in gfs2_dispose_glock_lru() local
2027 struct gfs2_glock *gl, *next; in gfs2_scan_glock_lru() local
2073 struct gfs2_glock *gl; in glock_hash_walk() local
2092 void gfs2_cancel_delete_work(struct gfs2_glock *gl) in gfs2_cancel_delete_work()
2100 static void flush_delete_work(struct gfs2_glock *gl) in flush_delete_work()
2124 static void thaw_glock(struct gfs2_glock *gl) in thaw_glock()
2144 static void clear_glock(struct gfs2_glock *gl) in clear_glock()
2169 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) in dump_glock()
2176 static void dump_glock_func(struct gfs2_glock *gl) in dump_glock_func()
2181 static void withdraw_dq(struct gfs2_glock *gl) in withdraw_dq()
2307 static const char *gflags2str(char *buf, const struct gfs2_glock *gl) in gflags2str()
2372 void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid) in gfs2_dump_glock()
2415 struct gfs2_glock *gl = iter_ptr; in gfs2_glstats_seq_show() local
2518 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next() local
2825 struct gfs2_glock *gl; in gfs2_glockfd_seq_show() local