• Home
  • Raw
  • Download

Lines Matching refs:gfs2_holder

59 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
274 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
276 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
295 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake()
309 struct gfs2_holder *gh, *tmp; in do_error()
339 struct gfs2_holder *gh, *tmp; in do_promote()
385 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
387 struct gfs2_holder *gh; in find_first_waiter()
445 struct gfs2_holder *gh; in finish_xmote()
528 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
578 static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl) in find_first_holder()
580 struct gfs2_holder *gh; in find_first_holder()
583 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in find_first_holder()
601 struct gfs2_holder *gh = NULL; in run_queue()
815 struct gfs2_holder *gh) in gfs2_holder_init()
838 void gfs2_holder_reinit(unsigned int state, unsigned flags, struct gfs2_holder *gh) in gfs2_holder_reinit()
855 void gfs2_holder_uninit(struct gfs2_holder *gh) in gfs2_holder_uninit()
884 static void wait_on_holder(struct gfs2_holder *gh) in wait_on_holder()
937 int gfs2_glock_wait(struct gfs2_holder *gh) in gfs2_glock_wait()
974 static inline void add_to_queue(struct gfs2_holder *gh) in add_to_queue()
981 struct gfs2_holder *gh2; in add_to_queue()
1024 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in add_to_queue()
1055 int gfs2_glock_nq(struct gfs2_holder *gh) in gfs2_glock_nq()
1088 int gfs2_glock_poll(struct gfs2_holder *gh) in gfs2_glock_poll()
1099 void gfs2_glock_dq(struct gfs2_holder *gh) in gfs2_glock_dq()
1140 void gfs2_glock_dq_wait(struct gfs2_holder *gh) in gfs2_glock_dq_wait()
1153 void gfs2_glock_dq_uninit(struct gfs2_holder *gh) in gfs2_glock_dq_uninit()
1173 unsigned int state, int flags, struct gfs2_holder *gh) in gfs2_glock_nq_num()
1196 const struct gfs2_holder *gh_a = *(const struct gfs2_holder **)arg_a; in glock_compare()
1197 const struct gfs2_holder *gh_b = *(const struct gfs2_holder **)arg_b; in glock_compare()
1218 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync()
1219 struct gfs2_holder **p) in nq_m_sync()
1227 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync()
1253 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m()
1255 struct gfs2_holder *tmp[4]; in gfs2_glock_nq_m()
1256 struct gfs2_holder **pph = tmp; in gfs2_glock_nq_m()
1268 pph = kmalloc(num_gh * sizeof(struct gfs2_holder *), GFP_NOFS); in gfs2_glock_nq_m()
1288 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_m()
1301 void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_uninit_m()
1343 const struct gfs2_holder *gh; in gfs2_should_freeze()
1627 static int dump_holder(struct seq_file *seq, const struct gfs2_holder *gh) in dump_holder()
1703 const struct gfs2_holder *gh; in __dump_glock()