Searched refs:ghs (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dops_inode.c52 struct gfs2_holder ghs[2]; local
55 gfs2_holder_init(dip->i_gl, 0, 0, ghs);
58 inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0);
65 gfs2_glock_dq_uninit_m(2, ghs);
70 gfs2_holder_uninit(ghs);
77 gfs2_holder_uninit(ghs);
80 gfs2_holder_uninit(ghs);
149 struct gfs2_holder ghs[2]; local
156 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
157 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs
316 struct gfs2_holder ghs[3]; local
388 struct gfs2_holder ghs[2]; local
448 struct gfs2_holder ghs[2]; local
579 struct gfs2_holder ghs[3]; local
656 struct gfs2_holder ghs[2]; local
747 struct gfs2_holder ghs[5], r_gh = { .gh_gl = NULL, }; local
[all...]
H A Dglock.h212 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
213 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
214 void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs);
H A Dinode.c903 * @ghs: An array of two holders
907 * @ghs[0] is an initialized holder for the directory
908 * @ghs[1] is the holder for the inode lock
917 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name, argument
921 struct gfs2_inode *dip = ghs->gh_gl->gl_object;
932 gfs2_holder_reinit(LM_ST_EXCLUSIVE, 0, ghs);
933 error = gfs2_glock_nq(ghs);
947 LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1);
951 error = make_dinode(dip, ghs[1].gh_gl, mode, &inum, &generation, dev, &bh);
981 gfs2_glock_dq_uninit(ghs
[all...]
H A Dinode.h96 extern struct inode *gfs2_createi(struct gfs2_holder *ghs,
H A Dglock.c1205 * @ghs: an array of struct gfs2_holder structures
1211 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, argument
1218 p[x] = &ghs[x];
1239 * @ghs: an array of struct gfs2_holder structures
1246 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) argument
1256 ghs->gh_flags &= ~(LM_FLAG_TRY | GL_ASYNC);
1257 return gfs2_glock_nq(ghs);
1266 error = nq_m_sync(num_gh, ghs, pph);
1277 * @ghs: an array of struct gfs2_holder structures
1281 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) argument
1296 gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs) argument
[all...]
H A Dquota.c761 struct gfs2_holder *ghs, i_gh; local
772 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS);
773 if (!ghs)
780 GL_NOCACHE, &ghs[qx]);
848 gfs2_glock_dq_uninit(&ghs[qx]);
850 kfree(ghs);

Completed in 87 milliseconds