/linux-6.1.9/fs/gfs2/ |
D | inode.c | 162 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_inode_lookup() 620 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_create_inode() 734 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); in gfs2_create_inode() 938 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_link() 939 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_link() 1141 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_unlink() 1142 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_unlink() 1148 gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE, ghs + 2); in gfs2_unlink() 1408 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename() 1423 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename() [all …]
|
D | super.c | 186 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init() 276 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync() 348 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE, in gfs2_lock_fs_check_clean() 481 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode() 488 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode() 1115 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in gfs2_dinode_dealloc() 1182 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock() 1187 gfs2_holder_reinit(LM_ST_EXCLUSIVE, GL_ASYNC | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock() 1234 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, gh); in evict_should_delete()
|
D | glock.h | 48 #define LM_ST_EXCLUSIVE 1 macro 173 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
|
D | glops.c | 198 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync() 312 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync() 511 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_held() 512 (gh->gh_state == LM_ST_EXCLUSIVE)) in inode_go_held()
|
D | glock.c | 339 case LM_ST_EXCLUSIVE: in may_grant() 347 return gh->gh_state == LM_ST_EXCLUSIVE && in may_grant() 364 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant() 628 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake() 771 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote() 902 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue() 1072 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func() 1203 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get() 1433 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in handle_callback() 1914 LM_ST_EXCLUSIVE : state, in gfs2_glock_cb() [all …]
|
D | file.c | 227 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags() 431 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite() 1020 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, gh); in gfs2_file_buffered_write() 1037 ret = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_file_buffered_write() 1364 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate() 1473 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|
D | acl.c | 129 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
|
D | xattr.c | 268 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() 1316 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE); in ea_dealloc_indirect() 1400 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_block()
|
D | quota.c | 910 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync() 916 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync() 1027 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock() 1676 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk() 1679 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
|
D | ops_fstype.c | 409 LM_ST_EXCLUSIVE, in init_locking() 696 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_statfs() 784 LM_ST_EXCLUSIVE, in init_journal() 967 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_per_node()
|
D | util.c | 235 gfs2_holder_reinit(LM_ST_EXCLUSIVE, in signal_our_withdraw()
|
D | recovery.c | 429 LM_ST_EXCLUSIVE, in gfs2_recover_func()
|
D | trace_gfs2.h | 72 case LM_ST_EXCLUSIVE: in glock_trace_state()
|
D | lock_dlm.c | 197 case LM_ST_EXCLUSIVE: in make_mode()
|
D | rgrp.c | 1434 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in gfs2_fitrim() 2096 LM_ST_EXCLUSIVE, flags, in gfs2_inplace_reserve()
|
D | dir.c | 2019 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE); in leaf_dealloc()
|
D | bmap.c | 1480 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in sweep_bh_for_rgrps()
|