Lines Matching refs:glops
204 const struct gfs2_glock_operations *glops = gl->gl_ops; in demote_ok() local
210 if (glops->go_demote_ok) in demote_ok()
211 return glops->go_demote_ok(gl); in demote_ok()
430 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_instantiate() local
454 ret = glops->go_instantiate(gl); in gfs2_instantiate()
462 if (glops->go_held) in gfs2_instantiate()
463 return glops->go_held(gh); in gfs2_instantiate()
573 const struct gfs2_glock_operations *glops = gl->gl_ops; in finish_xmote() local
632 if (glops->go_xmote_bh) { in finish_xmote()
636 rv = glops->go_xmote_bh(gl); in finish_xmote()
673 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_xmote() local
687 glops->go_inval) { in do_xmote()
705 if (glops->go_sync) { in do_xmote()
706 ret = glops->go_sync(gl); in do_xmote()
733 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote()
1146 const struct gfs2_glock_operations *glops, int create, in gfs2_glock_get() argument
1151 .ln_type = glops->go_type, in gfs2_glock_get()
1165 if (glops->go_flags & GLOF_ASPACE) { in gfs2_glock_get()
1177 gl->gl_ops = glops; in gfs2_glock_get()
1179 if (glops->go_flags & GLOF_LVB) { in gfs2_glock_get()
1189 gl->gl_flags = glops->go_instantiate ? BIT(GLF_INSTANTIATE_NEEDED) : 0; in gfs2_glock_get()
1191 lockdep_set_subclass(&gl->gl_lockref.lock, glops->go_subclass); in gfs2_glock_get()
1199 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type]; in gfs2_glock_get()
1733 const struct gfs2_glock_operations *glops, in gfs2_glock_nq_num() argument
1739 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl); in gfs2_glock_nq_num()
2349 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_dump_glock() local
2384 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()
2385 glops->go_dump(seq, gl, fs_id_buf); in gfs2_dump_glock()