Lines Matching refs:glops
150 const struct gfs2_glock_operations *glops = gl->gl_ops; in demote_ok() local
156 if (glops->go_demote_ok) in demote_ok()
157 return glops->go_demote_ok(gl); in demote_ok()
313 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_promote() local
323 glops->go_lock) { in do_promote()
326 ret = glops->go_lock(gh); in do_promote()
420 const struct gfs2_glock_operations *glops = gl->gl_ops; in finish_xmote() local
477 if (glops->go_xmote_bh) { in finish_xmote()
479 rv = glops->go_xmote_bh(gl, gh); in finish_xmote()
508 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_xmote() local
518 glops->go_inval) { in do_xmote()
529 if (glops->go_sync) in do_xmote()
530 glops->go_sync(gl); in do_xmote()
532 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote()
703 const struct gfs2_glock_operations *glops, int create, in gfs2_glock_get() argument
707 struct lm_lockname name = { .ln_number = number, .ln_type = glops->go_type }; in gfs2_glock_get()
723 if (glops->go_flags & GLOF_ASPACE) in gfs2_glock_get()
733 if (glops->go_flags & GLOF_LVB) { in gfs2_glock_get()
750 gl->gl_ops = glops; in gfs2_glock_get()
754 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type]; in gfs2_glock_get()
1057 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_glock_dq() local
1067 if (glops->go_unlock) { in gfs2_glock_dq()
1070 glops->go_unlock(gh); in gfs2_glock_dq()
1129 const struct gfs2_glock_operations *glops, in gfs2_glock_nq_num() argument
1135 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl); in gfs2_glock_nq_num()
1704 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_dump_glock() local
1727 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()
1728 glops->go_dump(seq, gl); in gfs2_dump_glock()