Lines Matching refs:glops
204 const struct gfs2_glock_operations *glops = gl->gl_ops; in demote_ok() local
216 if (glops->go_demote_ok) in demote_ok()
217 return glops->go_demote_ok(gl); in demote_ok()
496 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_instantiate() local
520 ret = glops->go_instantiate(gl); in gfs2_instantiate()
528 if (glops->go_held) in gfs2_instantiate()
529 return glops->go_held(gh); in gfs2_instantiate()
643 const struct gfs2_glock_operations *glops = gl->gl_ops; in finish_xmote() local
702 if (glops->go_xmote_bh) { in finish_xmote()
706 rv = glops->go_xmote_bh(gl); in finish_xmote()
743 const struct gfs2_glock_operations *glops = gl->gl_ops; in do_xmote() local
757 glops->go_inval) { in do_xmote()
775 if (glops->go_sync) { in do_xmote()
776 ret = glops->go_sync(gl); in do_xmote()
803 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote()
1152 const struct gfs2_glock_operations *glops, int create, in gfs2_glock_get() argument
1157 .ln_type = glops->go_type, in gfs2_glock_get()
1171 if (glops->go_flags & GLOF_ASPACE) { in gfs2_glock_get()
1183 gl->gl_ops = glops; in gfs2_glock_get()
1185 if (glops->go_flags & GLOF_LVB) { in gfs2_glock_get()
1195 gl->gl_flags = glops->go_instantiate ? BIT(GLF_INSTANTIATE_NEEDED) : 0; in gfs2_glock_get()
1197 lockdep_set_subclass(&gl->gl_lockref.lock, glops->go_subclass); in gfs2_glock_get()
1205 gl->gl_stats = this_cpu_ptr(sdp->sd_lkstats)->lkstats[glops->go_type]; in gfs2_glock_get()
1755 const struct gfs2_glock_operations *glops, in gfs2_glock_nq_num() argument
1761 error = gfs2_glock_get(sdp, number, glops, CREATE, &gl); in gfs2_glock_nq_num()
2414 const struct gfs2_glock_operations *glops = gl->gl_ops; in gfs2_dump_glock() local
2449 if (gl->gl_state != LM_ST_UNLOCKED && glops->go_dump) in gfs2_dump_glock()
2450 glops->go_dump(seq, gl, fs_id_buf); in gfs2_dump_glock()