Lines Matching refs:glops
172 const struct gfs2_glock_operations *glops = gl->gl_ops; in demote_ok() local
178 if (glops->go_demote_ok) in demote_ok()
179 return glops->go_demote_ok(gl); in demote_ok()
344 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_promote() local
354 glops->go_lock) { in do_promote()
357 ret = glops->go_lock(gh); in do_promote()
451 const struct gfs2_glock_operations *glops = gl->gl_ops; in finish_xmote() local
508 if (glops->go_xmote_bh) { in finish_xmote()
510 rv = glops->go_xmote_bh(gl, gh); in finish_xmote()
539 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_xmote() local
552 glops->go_inval) { in do_xmote()
563 if (glops->go_sync) in do_xmote()
564 glops->go_sync(gl); in do_xmote()
566 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote()
784 const struct gfs2_glock_operations *glops, int create, in gfs2_glock_get() argument
789 .ln_type = glops->go_type, in gfs2_glock_get()
804 if (glops->go_flags & GLOF_ASPACE) in gfs2_glock_get()
814 if (glops->go_flags & GLOF_LVB) { in gfs2_glock_get()
830 gl->gl_ops = glops; in gfs2_glock_get()
834 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type]; in gfs2_glock_get()
1138 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_glock_dq() local
1149 if (glops->go_unlock) { in gfs2_glock_dq()
1152 glops->go_unlock(gh); in gfs2_glock_dq()
1162 (glops->go_flags & GLOF_LRU)) in gfs2_glock_dq()
1210 const struct gfs2_glock_operations *glops, in gfs2_glock_nq_num() argument
1216 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl); in gfs2_glock_nq_num()
1781 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_dump_glock() local
1804 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()
1805 glops->go_dump(seq, gl); in gfs2_dump_glock()