Home
last modified time | relevance | path

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

/linux-4.1.27/fs/gfs2/
Dinode.c216 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()
1350 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename()
1365 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_rename()
[all …]
Dglock.h50 #define LM_ST_EXCLUSIVE 1 macro
161 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
Dglops.c149 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync()
211 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync()
428 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock()
429 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
Dsuper.c479 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()
Dglock.c252 if ((gh->gh_state == LM_ST_EXCLUSIVE || in may_grant()
253 gh_head->gh_state == LM_ST_EXCLUSIVE) && gh != gh_head) in may_grant()
259 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()
405 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake()
525 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()
595 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue()
663 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func()
748 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get()
885 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in handle_callback()
1588 case LM_ST_EXCLUSIVE: in state2str()
Dfile.c226 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
410 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
925 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate()
1025 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
Dquota.c819 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync()
825 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync()
933 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock()
1599 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk()
1602 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
Dops_fstype.c402 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP | GL_NOCACHE, in init_locking()
699 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP, in init_journal()
886 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
894 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
Dxattr.c265 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &rg_gh); in ea_dealloc_unstuffed()
1340 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in ea_dealloc_indirect()
1423 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in ea_dealloc_block()
Dlock_dlm.c193 case LM_ST_EXCLUSIVE: in make_mode()
301 if (gl->gl_lksb.sb_lvbptr && (gl->gl_state == LM_ST_EXCLUSIVE)) in gdlm_put_lock()
Daops.c654 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_write_begin()
659 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_write_begin()
Drecovery.c472 LM_ST_EXCLUSIVE, in gfs2_recover_func()
Dtrace_gfs2.h71 case LM_ST_EXCLUSIVE: in glock_trace_state()
Drgrp.c1389 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fitrim()
2004 LM_ST_EXCLUSIVE, flags, in gfs2_inplace_reserve()
Dbmap.c778 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in do_strip()
Ddir.c1926 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in leaf_dealloc()