Lines Matching defs:glops
40 #include "glops.h"
196 const struct gfs2_glock_operations *glops = gl->gl_ops;
202 if (glops->go_demote_ok)
203 return glops->go_demote_ok(gl);
382 const struct gfs2_glock_operations *glops = gl->gl_ops;
392 glops->go_lock) {
395 ret = glops->go_lock(gh);
495 const struct gfs2_glock_operations *glops = gl->gl_ops;
553 if (glops->go_xmote_bh) {
555 rv = glops->go_xmote_bh(gl, gh);
594 const struct gfs2_glock_operations *glops = gl->gl_ops;
607 glops->go_inval) {
625 if (glops->go_sync) {
626 ret = glops->go_sync(gl);
653 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA);
1004 * @glops: The glock_operations to use
1014 const struct gfs2_glock_operations *glops, int create,
1019 .ln_type = glops->go_type,
1034 if (glops->go_flags & GLOF_ASPACE)
1044 if (glops->go_flags & GLOF_LVB) {
1056 lockdep_set_subclass(&gl->gl_lockref.lock, glops->go_subclass);
1061 gl->gl_ops = glops;
1065 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type];
1534 * @glops: the glock operations for the type of glock
1543 const struct gfs2_glock_operations *glops,
1549 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl);
2168 const struct gfs2_glock_operations *glops = gl->gl_ops;
2203 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump)
2204 glops->go_dump(seq, gl, fs_id_buf);