Home
last modified time | relevance | path

Searched refs:LM_ST_EXCLUSIVE (Results 1 – 16 of 16) sorted by relevance

/fs/gfs2/
Dinode.c166 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_inode_lookup()
629 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_create_inode()
738 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); in gfs2_create_inode()
941 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_link()
942 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_link()
1144 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_unlink()
1145 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_unlink()
1151 gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE, ghs + 2); in gfs2_unlink()
1411 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename()
1426 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename()
[all …]
Dsuper.c190 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init()
280 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync()
352 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE, in gfs2_lock_fs_check_clean()
485 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode()
492 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode()
1123 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in gfs2_dinode_dealloc()
1190 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1195 gfs2_holder_reinit(LM_ST_EXCLUSIVE, GL_ASYNC | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1242 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, gh); in evict_should_delete()
Dglops.c198 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync()
313 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync()
516 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock()
517 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
Dglock.c332 case LM_ST_EXCLUSIVE: in may_grant()
340 return gh->gh_state == LM_ST_EXCLUSIVE && in may_grant()
357 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()
596 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake()
737 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()
855 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue()
1025 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func()
1153 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get()
1388 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in handle_callback()
1847 mock_gh.gh_state = LM_ST_EXCLUSIVE; in gfs2_glock_cb()
[all …]
Dglock.h48 #define LM_ST_EXCLUSIVE 1 macro
167 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
Dfile.c229 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
438 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
1043 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, gh); in gfs2_file_buffered_write()
1052 ret = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_file_buffered_write()
1389 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate()
1482 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
Dacl.c129 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
Dxattr.c268 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_unstuffed()
1244 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set()
1248 if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) { in gfs2_xattr_set()
1400 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_block()
Dquota.c921 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync()
927 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync()
1038 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock()
1713 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk()
1716 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
Dops_fstype.c413 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP | GL_NOCACHE, in init_locking()
699 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_statfs()
787 LM_ST_EXCLUSIVE, in init_journal()
969 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
Dutil.c229 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | LM_FLAG_NOEXP, in signal_our_withdraw()
Drecovery.c431 LM_ST_EXCLUSIVE, in gfs2_recover_func()
Drgrp.c1448 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in gfs2_fitrim()
2110 LM_ST_EXCLUSIVE, flags, in gfs2_inplace_reserve()
2745 gfs2_holder_init(rlist->rl_rgd[x]->rd_gl, LM_ST_EXCLUSIVE, in gfs2_rlist_alloc()
Dtrace_gfs2.h72 case LM_ST_EXCLUSIVE: in glock_trace_state()
Dlock_dlm.c197 case LM_ST_EXCLUSIVE: in make_mode()
Dbmap.c1479 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in sweep_bh_for_rgrps()