Lines Matching defs:glops
43 #include "glops.h"
204 const struct gfs2_glock_operations *glops = gl->gl_ops;
210 if (glops->go_demote_ok)
211 return glops->go_demote_ok(gl);
422 * gfs2_instantiate - Call the glops instantiate function
430 const struct gfs2_glock_operations *glops = gl->gl_ops;
454 ret = glops->go_instantiate(gl);
462 if (glops->go_held)
463 return glops->go_held(gh);
573 const struct gfs2_glock_operations *glops = gl->gl_ops;
633 if (glops->go_xmote_bh) {
637 rv = glops->go_xmote_bh(gl);
674 const struct gfs2_glock_operations *glops = gl->gl_ops;
687 glops->go_inval) {
705 if (glops->go_sync) {
706 ret = glops->go_sync(gl);
733 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA);
1136 * @glops: The glock_operations to use
1146 const struct gfs2_glock_operations *glops, int create,
1151 .ln_type = glops->go_type,
1165 if (glops->go_flags & GLOF_ASPACE) {
1177 gl->gl_ops = glops;
1179 if (glops->go_flags & GLOF_LVB) {
1189 gl->gl_flags = glops->go_instantiate ? BIT(GLF_INSTANTIATE_NEEDED) : 0;
1191 lockdep_set_subclass(&gl->gl_lockref.lock, glops->go_subclass);
1199 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type];
1717 * @glops: the glock operations for the type of glock
1726 const struct gfs2_glock_operations *glops,
1732 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl);
2342 const struct gfs2_glock_operations *glops = gl->gl_ops;
2377 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump)
2378 glops->go_dump(seq, gl, fs_id_buf);