Home
last modified time | relevance | path

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

/linux-3.4.99/fs/gfs2/
Dinode.c215 LM_ST_EXCLUSIVE, GL_SKIP, &i_gh); in gfs2_lookup_by_inum()
670 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_create_inode()
690 LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); in gfs2_create_inode()
822 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_link()
823 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_link()
1042 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_unlink()
1043 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + 1); in gfs2_unlink()
1049 gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, ghs + 2); in gfs2_unlink()
1238 error = gfs2_glock_nq_init(sdp->sd_rename_gl, LM_ST_EXCLUSIVE, in gfs2_rename()
1253 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.c142 BUG_ON(gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync()
200 BUG_ON(gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync()
419 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock()
420 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
Dglock.c277 if ((gh->gh_state == LM_ST_EXCLUSIVE || in may_grant()
278 gh_head->gh_state == LM_ST_EXCLUSIVE) && gh != gh_head) in may_grant()
284 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()
429 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_demote_wake()
549 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()
616 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue()
684 gl->gl_demote_state != LM_ST_EXCLUSIVE) { in glock_work_func()
759 gl->gl_demote_state = LM_ST_EXCLUSIVE; in gfs2_glock_get()
918 if (gl->gl_demote_state == LM_ST_EXCLUSIVE) { in handle_callback()
1584 case LM_ST_EXCLUSIVE: in state2str()
Dsuper.c442 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init()
547 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync()
797 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode()
1427 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dinode_dealloc()
1484 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh); in gfs2_evict_inode()
1504 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, &ip->i_iopen_gh); in gfs2_evict_inode()
Dfile.c229 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
379 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
777 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_fallocate()
925 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
Dquota.c777 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, in do_sync()
783 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync()
887 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, in do_glock()
1553 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_EXCLUSIVE, 0, &q_gh); in gfs2_set_dqblk()
1556 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
Dops_fstype.c382 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP | GL_NOCACHE, in init_locking()
696 LM_ST_EXCLUSIVE, LM_FLAG_NOEXP, in init_journal()
868 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
876 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, in init_per_node()
Dxattr.c264 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &rg_gh); in ea_dealloc_unstuffed()
1377 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in ea_dealloc_indirect()
1460 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in ea_dealloc_block()
Daops.c623 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_write_begin()
628 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.h59 case LM_ST_EXCLUSIVE: in glock_trace_state()
Drgrp.c937 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fitrim()
1135 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, in get_local_rgrp()
Dlock_dlm.c191 case LM_ST_EXCLUSIVE: in make_mode()
Dbmap.c776 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in do_strip()
Ddir.c1884 gfs2_rlist_alloc(&rlist, LM_ST_EXCLUSIVE); in leaf_dealloc()