/fs/gfs2/ |
D | inode.c | 216 LM_ST_EXCLUSIVE, GL_SKIP, &i_gh); in gfs2_lookup_by_inum() 612 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_create_inode() 708 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); in gfs2_create_inode() 905 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_link() 906 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_link() 1106 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_unlink() 1107 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_unlink() 1113 gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, ghs + 2); in gfs2_unlink() 1379 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename() 1394 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_rename() [all …]
|
D | glock.h | 50 #define LM_ST_EXCLUSIVE 1 macro 161 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
|
D | glops.c | 157 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync() 221 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync() 438 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock() 439 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
|
D | super.c | 479 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init() 585 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync() 667 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE, in gfs2_lock_fs_check_clean() 789 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode() 795 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode() 1466 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dinode_dealloc() 1526 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh); in gfs2_evict_inode() 1547 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, &ip->i_iopen_gh); in gfs2_evict_inode()
|
D | glock.c | 202 if ((gh->gh_state == LM_ST_EXCLUSIVE || in may_grant() 203 gh_head->gh_state == LM_ST_EXCLUSIVE) && gh != gh_head) in may_grant() 209 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant() 355 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake() 475 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote() 545 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue() 613 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func() 702 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get() 854 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in handle_callback() 1553 case LM_ST_EXCLUSIVE: in state2str()
|
D | file.c | 226 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags() 412 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite() 928 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate() 1028 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|
D | quota.c | 860 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync() 866 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync() 974 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock() 1643 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk() 1646 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
|
D | ops_fstype.c | 406 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP | GL_NOCACHE, in init_locking() 703 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP, in init_journal() 891 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node() 899 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
|
D | xattr.c | 265 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &rg_gh); in ea_dealloc_unstuffed() 1343 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in ea_dealloc_indirect() 1426 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in ea_dealloc_block()
|
D | aops.c | 658 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_write_begin() 663 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_write_begin()
|
D | recovery.c | 472 LM_ST_EXCLUSIVE, in gfs2_recover_func()
|
D | trace_gfs2.h | 71 case LM_ST_EXCLUSIVE: in glock_trace_state()
|
D | lock_dlm.c | 194 case LM_ST_EXCLUSIVE: in make_mode()
|
D | rgrp.c | 1425 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fitrim() 2047 LM_ST_EXCLUSIVE, flags, in gfs2_inplace_reserve()
|
D | bmap.c | 778 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in do_strip()
|
D | dir.c | 1931 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in leaf_dealloc()
|