Home
last modified time | relevance | path

Searched refs:ghs (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/gfs2/
Dinode.c587 struct gfs2_holder ghs[2]; in gfs2_create_inode() local
608 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); in gfs2_create_inode()
611 gfs2_holder_mark_uninitialized(ghs + 1); in gfs2_create_inode()
633 gfs2_glock_dq_uninit(ghs); in gfs2_create_inode()
712 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); in gfs2_create_inode()
776 gfs2_glock_dq_uninit(ghs); in gfs2_create_inode()
777 gfs2_glock_dq_uninit(ghs + 1); in gfs2_create_inode()
799 gfs2_glock_dq_uninit(ghs); in gfs2_create_inode()
808 if (gfs2_holder_initialized(ghs + 1)) in gfs2_create_inode()
809 gfs2_glock_dq_uninit(ghs + 1); in gfs2_create_inode()
[all …]
Dglock.h203 extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
204 extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
Dglock.c1261 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1268 p[x] = &ghs[x]; in nq_m_sync()
1296 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument
1306 ghs->gh_flags &= ~(LM_FLAG_TRY | GL_ASYNC); in gfs2_glock_nq_m()
1307 return gfs2_glock_nq(ghs); in gfs2_glock_nq_m()
1317 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m()
1332 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_m() argument
1335 gfs2_glock_dq(&ghs[num_gh]); in gfs2_glock_dq_m()
Dquota.c874 struct gfs2_holder *ghs, i_gh; in do_sync() local
889 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
890 if (!ghs) in do_sync()
897 GL_NOCACHE, &ghs[qx]); in do_sync()
958 gfs2_glock_dq_uninit(&ghs[qx]); in do_sync()
960 kfree(ghs); in do_sync()