Searched refs:ghs (Results 1 - 6 of 6) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/ |
H A D | ops_inode.c | 55 struct gfs2_holder ghs[2]; local 58 gfs2_holder_init(dip->i_gl, 0, 0, ghs); 61 inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0); 68 gfs2_glock_dq_uninit_m(2, ghs); 73 gfs2_holder_uninit(ghs); 80 gfs2_holder_uninit(ghs); 83 gfs2_holder_uninit(ghs); 142 struct gfs2_holder ghs[2]; local 149 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs); 150 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs 266 struct gfs2_holder ghs[3]; local 326 struct gfs2_holder ghs[2]; local 385 struct gfs2_holder ghs[2]; local 463 struct gfs2_holder ghs[3]; local 529 struct gfs2_holder ghs[2]; local 572 struct gfs2_holder ghs[5], r_gh; local [all...] |
H A D | glock.h | 96 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs); 97 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs); 98 void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs);
|
H A D | inode.h | 45 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
|
H A D | glock.c | 1264 * @ghs: an array of struct gfs2_holder structures 1270 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, argument 1277 p[x] = &ghs[x]; 1298 * @ghs: an array of struct gfs2_holder structures 1309 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) argument 1320 ghs->gh_flags &= ~(LM_FLAG_TRY | GL_ASYNC); 1321 return gfs2_glock_nq(ghs); 1329 ghs[x].gh_flags |= LM_FLAG_TRY | GL_ASYNC; 1330 error = gfs2_glock_nq(&ghs[x]); 1340 error = e[x] = glock_wait_internal(&ghs[ 1378 gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) argument 1393 gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs) argument [all...] |
H A D | inode.c | 826 * @ghs: An array of two holders 830 * @ghs[0] is an initialized holder for the directory 831 * @ghs[1] is the holder for the inode lock 840 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name, argument 844 struct gfs2_inode *dip = ghs->gh_gl->gl_object; 854 gfs2_holder_reinit(LM_ST_EXCLUSIVE, 0, ghs); 855 error = gfs2_glock_nq(ghs); 872 LM_ST_EXCLUSIVE, GL_SKIP, ghs + 1); 876 error = make_dinode(dip, ghs[1].gh_gl, mode, &inum, &generation, dev); 907 gfs2_glock_dq_uninit(ghs [all...] |
H A D | quota.c | 641 struct gfs2_holder *ghs, i_gh; local 652 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_KERNEL); 653 if (!ghs) 660 GL_NOCACHE, &ghs[qx]); 733 gfs2_glock_dq_uninit(&ghs[qx]); 734 kfree(ghs);
|
Completed in 93 milliseconds