/linux/fs/gfs2/ |
H A D | file.c | 66 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_llseek() 112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_readdir() 169 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fileattr_get() 559 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fault() 599 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_mmap() 682 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_open() 982 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_read_iter() 1109 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_write_iter() 1487 state = lock_is_write(fl) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|
H A D | util.c | 61 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_NOEXP | in check_journal_clean() 105 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_SHARED, flags, in gfs2_freeze_lock_shared() 252 gfs2_holder_reinit(LM_ST_SHARED, in signal_our_withdraw()
|
H A D | dentry.c | 65 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
|
H A D | inode.c | 154 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, in gfs2_inode_lookup() 329 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi() 761 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT | GL_NOPID, in gfs2_create_inode() 905 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in __gfs2_lookup() 1822 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in gfs2_get_link() 1888 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_permission() 2073 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_getattr() 2107 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fiemap() 2128 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_data() 2147 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_hole()
|
H A D | acl.c | 71 int ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_get_acl()
|
H A D | lock_dlm.c | 158 if (gl->gl_req == LM_ST_SHARED) in gdlm_ast() 161 ret = LM_ST_SHARED; in gdlm_ast() 200 gfs2_glock_cb(gl, LM_ST_SHARED); in gdlm_bast() 219 case LM_ST_SHARED: in make_mode()
|
H A D | export.c | 112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
|
H A D | glock.h | 50 #define LM_ST_SHARED 3 macro
|
H A D | glops.c | 563 (gl->gl_state != LM_ST_SHARED && in freeze_go_callback() 626 gl->gl_state == LM_ST_SHARED && ip) { in iopen_go_callback()
|
H A D | ops_fstype.c | 397 LM_ST_SHARED, in init_locking() 463 LM_ST_SHARED, 0, &sb_gh); in init_sb() 560 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); in gfs2_jindex_hold() 770 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in init_journal()
|
H A D | glock.c | 358 case LM_ST_SHARED: in may_grant() 372 return gh->gh_state == LM_ST_SHARED || in may_grant() 634 case LM_ST_SHARED: in finish_xmote() 955 __gfs2_holder_init(gl, LM_ST_SHARED, flags, &gh, _RET_IP_); in gfs2_glock_poke() 2262 case LM_ST_SHARED: in state2str()
|
H A D | recovery.c | 445 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_recover_func()
|
H A D | aops.c | 566 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_bmap()
|
H A D | xattr.c | 429 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr() 618 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
|
H A D | super.c | 353 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean() 917 LM_ST_SHARED, in gfs2_statfs_slow()
|
H A D | sys.c | 325 glmode = LM_ST_SHARED; in demote_rq_store()
|
H A D | trace_gfs2.h | 68 case LM_ST_SHARED: in glock_trace_state()
|
H A D | quota.c | 1034 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_SHARED, 0, q_gh); in do_glock() 1052 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock()
|
H A D | rgrp.c | 1045 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, 0, &ri_gh); in gfs2_rindex_update() 2624 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_SHARED, 0, &rgd_gh); in gfs2_check_blk_type()
|