Searched refs:i_gh (Results 1 – 6 of 6) sorted by relevance
/fs/gfs2/ |
D | aops.c | 673 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &ip->i_gh); in gfs2_write_begin() 674 error = gfs2_glock_nq(&ip->i_gh); in gfs2_write_begin() 679 GL_NOCACHE, &m_ip->i_gh); in gfs2_write_begin() 681 gfs2_glock_dq(&ip->i_gh); in gfs2_write_begin() 762 gfs2_glock_dq(&m_ip->i_gh); in gfs2_write_begin() 763 gfs2_holder_uninit(&m_ip->i_gh); in gfs2_write_begin() 765 gfs2_glock_dq(&ip->i_gh); in gfs2_write_begin() 767 gfs2_holder_uninit(&ip->i_gh); in gfs2_write_begin() 859 gfs2_glock_dq(&m_ip->i_gh); in gfs2_stuffed_write_end() 860 gfs2_holder_uninit(&m_ip->i_gh); in gfs2_stuffed_write_end() [all …]
|
D | inode.c | 130 struct gfs2_holder i_gh; in gfs2_inode_lookup() local 133 gfs2_holder_mark_uninitialized(&i_gh); in gfs2_inode_lookup() 160 GL_SKIP, &i_gh); in gfs2_inode_lookup() 198 if (gfs2_holder_initialized(&i_gh)) in gfs2_inode_lookup() 199 gfs2_glock_dq_uninit(&i_gh); in gfs2_inode_lookup() 210 if (gfs2_holder_initialized(&i_gh)) in gfs2_inode_lookup() 211 gfs2_glock_dq_uninit(&i_gh); in gfs2_inode_lookup() 1742 struct gfs2_holder i_gh; in gfs2_get_link() local 1751 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in gfs2_get_link() 1752 error = gfs2_glock_nq(&i_gh); in gfs2_get_link() [all …]
|
D | file.c | 59 struct gfs2_holder i_gh; in gfs2_llseek() local 67 &i_gh); in gfs2_llseek() 70 gfs2_glock_dq_uninit(&i_gh); in gfs2_llseek() 517 struct gfs2_holder i_gh; in gfs2_mmap() local 521 &i_gh); in gfs2_mmap() 525 gfs2_glock_dq_uninit(&i_gh); in gfs2_mmap() 585 struct gfs2_holder i_gh; in gfs2_open() local 591 &i_gh); in gfs2_open() 600 gfs2_glock_dq_uninit(&i_gh); in gfs2_open()
|
D | quota.c | 871 struct gfs2_holder *ghs, i_gh; in do_sync() local 899 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync() 952 gfs2_glock_dq_uninit(&i_gh); in do_sync() 992 struct gfs2_holder i_gh; in do_glock() local 1012 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock() 1020 gfs2_glock_dq_uninit(&i_gh); in do_glock() 1029 gfs2_glock_dq_uninit(&i_gh); in do_glock() 1655 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk() local 1684 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk() 1741 gfs2_glock_dq_uninit(&i_gh); in gfs2_set_dqblk()
|
D | xattr.c | 426 struct gfs2_holder i_gh; in gfs2_listxattr() local 435 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr() 447 gfs2_glock_dq_uninit(&i_gh); in gfs2_listxattr()
|
D | incore.h | 401 struct gfs2_holder i_gh; /* for prepare/commit_write only */ member
|