Searched refs:i_gh (Results 1 – 7 of 7) sorted by relevance
/fs/gfs2/ |
D | inode.c | 127 struct gfs2_holder i_gh; in gfs2_inode_lookup() local 130 gfs2_holder_mark_uninitialized(&i_gh); in gfs2_inode_lookup() 157 GL_SKIP, &i_gh); in gfs2_inode_lookup() 196 if (gfs2_holder_initialized(&i_gh)) in gfs2_inode_lookup() 197 gfs2_glock_dq_uninit(&i_gh); in gfs2_inode_lookup() 208 if (gfs2_holder_initialized(&i_gh)) in gfs2_inode_lookup() 209 gfs2_glock_dq_uninit(&i_gh); in gfs2_inode_lookup() 1753 struct gfs2_holder i_gh; in gfs2_get_link() local 1762 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in gfs2_get_link() 1763 error = gfs2_glock_nq(&i_gh); in gfs2_get_link() [all …]
|
D | file.c | 59 struct gfs2_holder i_gh; in gfs2_llseek() local 65 &i_gh); in gfs2_llseek() 68 gfs2_glock_dq_uninit(&i_gh); in gfs2_llseek() 578 struct gfs2_holder i_gh; in gfs2_mmap() local 582 &i_gh); in gfs2_mmap() 586 gfs2_glock_dq_uninit(&i_gh); in gfs2_mmap() 646 struct gfs2_holder i_gh; in gfs2_open() local 652 &i_gh); in gfs2_open() 661 gfs2_glock_dq_uninit(&i_gh); in gfs2_open()
|
D | quota.c | 882 struct gfs2_holder *ghs, i_gh; in do_sync() local 910 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync() 963 gfs2_glock_dq_uninit(&i_gh); in do_sync() 1004 struct gfs2_holder i_gh; in do_glock() local 1024 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock() 1032 gfs2_glock_dq_uninit(&i_gh); in do_glock() 1041 gfs2_glock_dq_uninit(&i_gh); in do_glock() 1666 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk() local 1695 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk() 1752 gfs2_glock_dq_uninit(&i_gh); in gfs2_set_dqblk()
|
D | aops.c | 688 struct gfs2_holder i_gh; in gfs2_bmap() local 692 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_bmap() 699 gfs2_glock_dq_uninit(&i_gh); in gfs2_bmap()
|
D | bmap.c | 993 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_write_lock() 994 error = gfs2_glock_nq(&ip->i_gh); in gfs2_write_lock() 1001 GL_NOCACHE, &m_ip->i_gh); in gfs2_write_lock() 1008 gfs2_glock_dq(&ip->i_gh); in gfs2_write_lock() 1010 gfs2_holder_uninit(&ip->i_gh); in gfs2_write_lock() 1022 gfs2_glock_dq_uninit(&m_ip->i_gh); in gfs2_write_unlock() 1024 gfs2_glock_dq_uninit(&ip->i_gh); in gfs2_write_unlock()
|
D | xattr.c | 402 struct gfs2_holder i_gh; in gfs2_listxattr() local 411 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr() 423 gfs2_glock_dq_uninit(&i_gh); in gfs2_listxattr()
|
D | incore.h | 411 struct gfs2_holder i_gh; /* for prepare/commit_write only */ member
|