/linux-6.12.1/fs/gfs2/ |
D | inode.c | 167 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_inode_lookup() 648 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, &d_gh); in gfs2_create_inode() 766 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh); in gfs2_create_inode() 964 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, &d_gh); in gfs2_link() 965 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_link() 1164 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, &d_gh); in gfs2_unlink() 1165 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_unlink() 1171 gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE, &r_gh); in gfs2_unlink() 1431 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename() 1446 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename() [all …]
|
D | super.c | 194 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init() 284 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync() 363 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE, in gfs2_lock_fs_check_clean() 509 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode() 516 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode() 1221 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in gfs2_dinode_dealloc() 1290 gfs2_holder_reinit(LM_ST_EXCLUSIVE, GL_ASYNC | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock() 1335 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, gh); in evict_should_delete()
|
D | glops.c | 204 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync() 321 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync() 517 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_held() 518 (gh->gh_state == LM_ST_EXCLUSIVE)) in inode_go_held()
|
D | file.c | 228 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags() 432 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite() 1036 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, gh); in gfs2_file_buffered_write() 1053 ret = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_file_buffered_write() 1382 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate() 1487 state = lock_is_write(fl) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|
D | glock.c | 346 case LM_ST_EXCLUSIVE: in may_grant() 354 return gh->gh_state == LM_ST_EXCLUSIVE && in may_grant() 371 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant() 577 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake() 718 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote() 861 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue() 1093 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func() 1225 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get() 1450 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in request_demote() 2266 case LM_ST_EXCLUSIVE: in state2str()
|
D | acl.c | 130 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
|
D | xattr.c | 272 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_unstuffed() 1248 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set() 1252 if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) { in gfs2_xattr_set() 1320 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE); in ea_dealloc_indirect() 1404 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in ea_dealloc_block()
|
D | glock.h | 48 #define LM_ST_EXCLUSIVE 1 macro
|
D | quota.c | 919 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync() 925 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync() 1047 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock() 1737 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk() 1740 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
|
D | ops_fstype.c | 387 LM_ST_EXCLUSIVE, in init_locking() 674 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_statfs() 760 LM_ST_EXCLUSIVE, in init_journal() 942 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_per_node()
|
D | util.c | 226 gfs2_holder_reinit(LM_ST_EXCLUSIVE, in signal_our_withdraw()
|
D | lock_dlm.c | 215 case LM_ST_EXCLUSIVE: in make_mode() 338 (!gl->gl_lksb.sb_lvbptr || gl->gl_state != LM_ST_EXCLUSIVE)) { in gdlm_put_lock()
|
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 | 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 | 2023 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE, LM_FLAG_NODE_SCOPE); in leaf_dealloc()
|
D | bmap.c | 1494 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in sweep_bh_for_rgrps()
|