Home
last modified time | relevance | path

Searched refs:LM_ST_SHARED (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/fs/gfs2/
Dfile.c66 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()
558 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fault()
598 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_mmap()
681 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_open()
981 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_read_iter()
1108 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_write_iter()
1480 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
Dutil.c61 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_NOEXP | in check_journal_clean()
104 error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_SHARED, in gfs2_freeze_lock_shared()
252 gfs2_holder_reinit(LM_ST_SHARED, in signal_our_withdraw()
Dglock.h50 #define LM_ST_SHARED 3 macro
171 return gl->gl_state == LM_ST_SHARED; in gfs2_glock_is_held_shrd()
Ddentry.c65 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
Dinode.c154 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, in gfs2_inode_lookup()
327 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi()
759 error = gfs2_glock_nq_init(io_gl, LM_ST_SHARED, GL_EXACT | GL_NOPID, in gfs2_create_inode()
903 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in __gfs2_lookup()
1820 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in gfs2_get_link()
1878 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_permission()
2063 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_getattr()
2097 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fiemap()
2118 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_data()
2137 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_hole()
Dacl.c71 int ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_get_acl()
Dlock_dlm.c153 if (gl->gl_req == LM_ST_SHARED) in gdlm_ast()
156 ret = LM_ST_SHARED; in gdlm_ast()
182 gfs2_glock_cb(gl, LM_ST_SHARED); in gdlm_bast()
201 case LM_ST_SHARED: in make_mode()
Dexport.c112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
Dglops.c570 (gl->gl_state != LM_ST_SHARED && in freeze_go_callback()
645 gl->gl_state == LM_ST_SHARED && ip) { in iopen_go_callback()
Dops_fstype.c418 LM_ST_SHARED, in init_locking()
484 LM_ST_SHARED, 0, &sb_gh); in init_sb()
581 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); in gfs2_jindex_hold()
791 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in init_journal()
Dglock.c344 case LM_ST_SHARED: in may_grant()
358 return gh->gh_state == LM_ST_SHARED || in may_grant()
616 case LM_ST_SHARED: in finish_xmote()
927 __gfs2_holder_init(gl, LM_ST_SHARED, flags, &gh, _RET_IP_); in gfs2_glock_poke()
2204 case LM_ST_SHARED: in state2str()
Drecovery.c445 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_recover_func()
Daops.c603 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_bmap()
Dsuper.c349 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
921 LM_ST_SHARED, in gfs2_statfs_slow()
Dxattr.c425 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr()
614 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
Dsys.c325 glmode = LM_ST_SHARED; in demote_rq_store()
Dtrace_gfs2.h68 case LM_ST_SHARED: in glock_trace_state()
Dquota.c1029 error = gfs2_glock_nq_init(qd->qd_gl, LM_ST_SHARED, 0, q_gh); in do_glock()
1045 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock()
Drgrp.c1045 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, 0, &ri_gh); in gfs2_rindex_update()
2622 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_SHARED, 0, &rgd_gh); in gfs2_check_blk_type()