• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/

Lines Matching refs:gfs2_holder

60 static void gfs2_glock_xmote_th(struct gfs2_glock *gl, struct gfs2_holder *gh);
369 * gfs2_holder_init - initialize a struct gfs2_holder in the default way
378 struct gfs2_holder *gh)
392 * gfs2_holder_reinit - reinitialize a struct gfs2_holder so we can requeue it
401 void gfs2_holder_reinit(unsigned int state, unsigned flags, struct gfs2_holder *gh)
415 void gfs2_holder_uninit(struct gfs2_holder *gh)
422 static void gfs2_holder_wake(struct gfs2_holder *gh)
435 static void wait_on_holder(struct gfs2_holder *gh)
448 static int rq_mutex(struct gfs2_holder *gh)
471 static int rq_promote(struct gfs2_holder *gh)
499 struct gfs2_holder *next_gh;
502 next_gh = list_entry(gl->gl_holders.next, struct gfs2_holder,
553 struct gfs2_holder *gh;
562 struct gfs2_holder, gh_list);
573 struct gfs2_holder, gh_list);
597 struct gfs2_holder gh;
716 struct gfs2_holder *gh = gl->gl_req_gh;
797 void gfs2_glock_xmote_th(struct gfs2_glock *gl, struct gfs2_holder *gh)
835 * Doesn't wake up the process waiting on the struct gfs2_holder (if any)
844 struct gfs2_holder *gh = gl->gl_req_gh;
916 static void do_cancels(struct gfs2_holder *gh)
948 static int glock_wait_internal(struct gfs2_holder *gh)
1005 static inline struct gfs2_holder *
1008 struct gfs2_holder *gh;
1038 static void add_to_queue(struct gfs2_holder *gh)
1041 struct gfs2_holder *existing;
1074 * gfs2_glock_nq - enqueue a struct gfs2_holder onto a glock (acquire a glock)
1082 int gfs2_glock_nq(struct gfs2_holder *gh)
1119 int gfs2_glock_poll(struct gfs2_holder *gh)
1151 int gfs2_glock_wait(struct gfs2_holder *gh)
1166 * gfs2_glock_dq - dequeue a struct gfs2_holder from a glock (release a glock)
1171 void gfs2_glock_dq(struct gfs2_holder *gh)
1205 void gfs2_glock_dq_uninit(struct gfs2_holder *gh)
1218 * @gh: the struct gfs2_holder
1225 unsigned int state, int flags, struct gfs2_holder *gh)
1248 const struct gfs2_holder *gh_a = *(const struct gfs2_holder **)arg_a;
1249 const struct gfs2_holder *gh_b = *(const struct gfs2_holder **)arg_b;
1264 * @ghs: an array of struct gfs2_holder structures
1270 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs,
1271 struct gfs2_holder **p)
1279 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL);
1298 * @ghs: an array of struct gfs2_holder structures
1309 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs)
1324 e = kcalloc(num_gh, sizeof(struct gfs2_holder *), GFP_KERNEL);
1363 error = nq_m_sync(num_gh, ghs, (struct gfs2_holder **)e);
1374 * @ghs: an array of struct gfs2_holder structures
1378 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs)
1389 * @ghs: an array of struct gfs2_holder structures
1393 void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs)
1781 struct gfs2_holder *gh)
1846 struct gfs2_holder *gh;