Searched refs:fhp (Results 1 - 25 of 81) sorted by last modified time

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/freevxfs/
H A Dvxfs_fshead.c47 vxfs_dumpfsh(struct vxfs_fsh *fhp) argument
51 printk("version: %u\n", fhp->fsh_version);
52 printk("fsindex: %u\n", fhp->fsh_fsindex);
54 fhp->fsh_iauino, fhp->fsh_ninodes);
56 fhp->fsh_maxinode, fhp->fsh_lctino);
57 printk("nau: %u\n", fhp->fsh_nau);
59 fhp->fsh_ilistino[0], fhp
82 struct vxfs_fsh *fhp; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c842 struct pvr2_v4l2_fh *fhp = file->private_data; local
843 struct pvr2_v4l2 *vp = fhp->vhead;
844 struct pvr2_context *mp = fhp->vhead->channel.mc_head;
845 struct pvr2_hdw *hdw = fhp->channel.mc_head->hdw;
849 if (fhp->rhp) {
852 sp = pvr2_ioread_get_stream(fhp->rhp);
854 pvr2_ioread_destroy(fhp->rhp);
855 fhp->rhp = NULL;
858 v4l2_prio_close(&vp->prio, &fhp->prio);
864 if (fhp
904 struct pvr2_v4l2_fh *fhp; local
966 pvr2_v4l2_notify(struct pvr2_v4l2_fh *fhp) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/
H A Dsvcsubs.c36 u32 *fhp = (u32*)f->data; local
40 msg, fhp[0], fhp[1], fhp[2], fhp[3],
41 fhp[4], fhp[5], fhp[6], fhp[7]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dexport.c1197 exp_pseudoroot(struct auth_domain *clp, struct svc_fh *fhp, argument
1211 rv = fh_compose(fhp, exp, exp->ex_dentry, NULL);
H A Dnfs3xdr.c57 decode_fh(__be32 *p, struct svc_fh *fhp) argument
60 fh_init(fhp, NFS3_FHSIZE);
65 memcpy(&fhp->fh_handle.fh_base, p, size);
66 fhp->fh_handle.fh_size = size;
71 __be32 *nfs3svc_decode_fh(__be32 *p, struct svc_fh *fhp) argument
73 return decode_fh(p, fhp);
77 encode_fh(__be32 *p, struct svc_fh *fhp) argument
79 unsigned int size = fhp->fh_handle.fh_size;
82 memcpy(p, &fhp->fh_handle.fh_base, size);
152 static __be32 *encode_fsid(__be32 *p, struct svc_fh *fhp) argument
174 encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat) argument
204 encode_saved_post_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) argument
239 encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) argument
258 nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) argument
267 encode_wcc_data(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) argument
818 encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, struct svc_fh *fhp) argument
829 compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp, const char *name, int namlen) argument
[all...]
H A Dnfs4state.c1951 nfs4_check_fh(struct svc_fh *fhp, struct nfs4_stateid *stp) argument
1953 return fhp->fh_dentry->d_inode != stp->st_vfs_file->f_path.dentry->d_inode;
H A Dnfs4xdr.c1393 * Note: @fhp can be NULL; in this case, we might have to compose the filehandle
1400 nfsd4_encode_fattr(struct svc_fh *fhp, struct svc_export *exp, argument
1440 if ((bmval0 & (FATTR4_WORD0_FILEHANDLE | FATTR4_WORD0_FSID)) && !fhp) {
1445 fhp = &tempfh;
1540 } else switch(fsid_source(fhp)) {
1628 buflen -= (XDR_QUADLEN(fhp->fh_handle.fh_size) << 2) + 4;
1631 WRITE32(fhp->fh_handle.fh_size);
1632 WRITEMEM(&fhp->fh_handle.fh_base, fhp->fh_handle.fh_size);
1796 if (fhp
1980 struct svc_fh *fhp = getattr->ga_fhp; local
1996 nfsd4_encode_getfh(struct nfsd4_compoundres *resp, __be32 nfserr, struct svc_fh *fhp) argument
[all...]
H A Dnfsfh.c106 * This is only called at the start of an nfsproc call, so fhp points to
110 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) argument
112 struct knfsd_fh *fh = &fhp->fh_handle;
117 dprintk("nfsd: fh_verify(%s)\n", SVCFH_fmt(fhp));
119 if (!fhp->fh_dentry) {
234 fhp->fh_dentry = dentry;
235 fhp->fh_export = exp;
242 dentry = fhp->fh_dentry;
243 exp = fhp->fh_export;
315 fh_compose(struct svc_fh *fhp, struc argument
478 fh_update(struct svc_fh *fhp) argument
520 fh_put(struct svc_fh *fhp) argument
544 SVCFH_fmt(struct svc_fh *fhp) argument
560 fsid_source(struct svc_fh *fhp) argument
[all...]
H A Dnfsxdr.c36 decode_fh(__be32 *p, struct svc_fh *fhp) argument
38 fh_init(fhp, NFS_FHSIZE);
39 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE);
40 fhp->fh_handle.fh_size = NFS_FHSIZE;
46 __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp) argument
48 return decode_fh(p, fhp);
52 encode_fh(__be32 *p, struct svc_fh *fhp) argument
54 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE);
148 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, argument
151 struct dentry *dentry = fhp
204 nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) argument
[all...]
H A Dvfs.c140 * N.B. After this call _both_ fhp and resfh need an fh_put
151 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, argument
160 dprintk("nfsd: nfsd_lookup(fh %s, %.*s)\n", SVCFH_fmt(fhp), len,name);
163 err = fh_verify(rqstp, fhp, S_IFDIR, MAY_EXEC);
167 dparent = fhp->fh_dentry;
168 exp = fhp->fh_export;
211 fh_lock(fhp);
230 err = fh_compose(resfh, exp, dentry, fhp);
245 * N.B. After this call fhp needs an fh_put
248 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struc argument
424 nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfs4_acl *acl) argument
579 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) argument
645 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access, struct file **filp) argument
840 nfsd_vfs_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, struct kvec *vec, int vlen, unsigned long *count) argument
906 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, struct kvec *vec, int vlen, unsigned long cnt, int *stablep) argument
1010 nfsd_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, struct kvec *vec, int vlen, unsigned long *count) argument
1039 nfsd_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, struct kvec *vec, int vlen, unsigned long cnt, int *stablep) argument
1076 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t offset, unsigned long count) argument
1109 nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, struct iattr *iap, int type, dev_t rdev, struct svc_fh *resfhp) argument
1236 nfsd_create_v3(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, struct iattr *iap, struct svc_fh *resfhp, int createmode, u32 *verifier, int *truncp, int *created) argument
1379 nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp) argument
1424 nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, char *path, int plen, struct svc_fh *resfhp, struct iattr *iap) argument
1652 nfsd_unlink(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, char *fname, int flen) argument
1715 nfsd_readdir(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t *offsetp, struct readdir_cd *cdp, filldir_t func) argument
1762 nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat) argument
1885 nfsd_get_posix_acl(struct svc_fh *fhp, int type) argument
1917 nfsd_set_posix_acl(struct svc_fh *fhp, int type, struct posix_acl *acl) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/nfsd/
H A Dexport.h121 __be32 exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq);
H A Dnfsfh.h184 extern enum fsid_source fsid_source(struct svc_fh *fhp);
260 extern char * SVCFH_fmt(struct svc_fh *fhp);
280 fh_init(struct svc_fh *fhp, int maxsize) argument
282 memset(fhp, 0, sizeof(*fhp));
283 fhp->fh_maxsize = maxsize;
284 return fhp;
292 fill_pre_wcc(struct svc_fh *fhp) argument
296 inode = fhp->fh_dentry->d_inode;
297 if (!fhp
309 fill_post_wcc(struct svc_fh *fhp) argument
344 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass) argument
367 fh_lock(struct svc_fh *fhp) argument
376 fh_unlock(struct svc_fh *fhp) argument
[all...]
H A Dxdr.h174 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp);
175 __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp);
H A Dxdr3.h342 struct svc_fh *fhp);
343 __be32 *nfs3svc_decode_fh(__be32 *p, struct svc_fh *fhp);
H A Dxdr4.h418 set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp) argument
420 BUG_ON(!fhp->fh_pre_saved || !fhp->fh_post_saved);
422 cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
423 cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
424 cinfo->after_ctime_sec = fhp->fh_post_ctime.tv_sec;
425 cinfo->after_ctime_nsec = fhp->fh_post_ctime.tv_nsec;
435 __be32 nfsd4_encode_fattr(struct svc_fh *fhp, struct svc_export *exp,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/env/
H A Denv_file.c20 __db_file_extend(env, fhp, size)
22 DB_FH *fhp;
45 if ((ret = __os_seek(env, fhp, pages, MEGABYTE, relative)) != 0)
47 if ((ret = __os_write(env, fhp, buf, FILE_EXTEND_IO_SIZE, &nw)) != 0)
66 DB_FH *fhp; local
70 if ((ret = __os_open(env, path, 0, DB_OSO_REGION, 0, &fhp)) == 0 &&
71 (ret = __os_ioinfo(env, path, fhp, &mbytes, &bytes, NULL)) == 0) {
79 __db_file_write(env, fhp, mbytes, bytes, 255)) != 0)
82 __db_file_write(env, fhp, mbytes, bytes, 0)) != 0)
85 __db_file_write(env, fhp, mbyte
[all...]
H A Denv_open.c1016 DB_FH *fhp; local
1022 while ((fhp = TAILQ_FIRST(&env->fdlist)) != NULL) {
1023 __db_errx(env, "Open file handle: %s", fhp->name);
1024 (void)__os_closehandle(env, fhp);
H A Denv_stat.c578 DB_FH *fhp; local
588 TAILQ_FOREACH(fhp, &env->fdlist, q)
589 __db_print_fh(env, NULL, fhp, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/fileops/
H A Dfop_basic.c69 DB_FH *fhp; local
75 fhp = NULL;
99 fhpp = &fhp;
105 if (fhpp == &fhp && fhp != NULL)
106 (void)__os_closehandle(env, fhp);
169 * If the file is open, supply a handle in fhp. Istmp indicate if this is
184 txn, name, appname, fhp, pgsize, pageno, off, buf, size, istmp, flags)
189 DB_FH *fhp;
226 if (fhp
[all...]
H A Dfop_rec.c67 DB_FH *fhp; local
89 if (__os_open(env, real_name, 0, 0, 0, &fhp) == 0) {
91 real_name, mbuf, DBMETASIZE, fhp, 1, NULL) == 0 &&
98 (void)__os_closehandle(env, fhp);
103 DB_OSO_CREATE, (int)argp->mode, &fhp)) == 0)
104 (void)__os_closehandle(env, fhp);
240 DB_FH *fhp; local
248 fhp = NULL;
277 if (__os_open(env, src, 0, 0, 0, &fhp) != 0)
280 src, mbuf, DBMETASIZE, fhp,
348 DB_FH *fhp; local
[all...]
H A Dfop_util.c209 DB_FH *fhp; local
224 fhp = NULL;
331 __os_open(env, real_name, 0, oflags, 0, &fhp)) != 0)
350 sizeof(mbuf), fhp,
404 if ((ret = __os_closehandle(env, fhp)) != 0)
406 fhp = NULL;
436 __os_open(env, real_name, 0, 0, 0, &fhp);
453 sizeof(mbuf), fhp,
479 __os_closehandle(env, fhp)) != 0)
554 stxn, &fhp, tmpnam
928 DB_FH *fhp; local
1440 DB_FH *fhp; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/hash/
H A Dhash_open.c331 __ham_new_file(dbp, ip, txn, fhp, name)
335 DB_FH *fhp;
405 if ((ret = __fop_write(env, txn, name, DB_APP_DATA, fhp,
421 if ((ret = __fop_write(env, txn, name, DB_APP_DATA, fhp,
H A Dhash_stub.c49 __ham_30_sizefix(dbp, fhp, realname, metabuf)
51 DB_FH *fhp;
55 COMPQUIET(fhp, NULL);
62 __ham_31_hash(dbp, real_name, flags, fhp, h, dirtyp)
66 DB_FH *fhp;
72 COMPQUIET(fhp, NULL);
79 __ham_31_hashmeta(dbp, real_name, flags, fhp, h, dirtyp)
83 DB_FH *fhp;
89 COMPQUIET(fhp, NULL);
96 __ham_46_hash(dbp, real_name, flags, fhp,
[all...]
H A Dhash_upgrade.c112 __ham_30_sizefix(dbp, fhp, realname, metabuf)
114 DB_FH *fhp;
137 if ((ret = __db_lastpgno(dbp, realname, fhp, &last_actual)) != 0)
152 env, fhp, last_desired, pagesize, 0)) != 0)
154 if ((ret = __os_write(env, fhp, buf, pagesize, &nw)) != 0)
169 __ham_31_hashmeta(dbp, real_name, flags, fhp, h, dirtyp)
173 DB_FH *fhp;
182 COMPQUIET(fhp, NULL);
224 __ham_31_hash(dbp, real_name, flags, fhp, h, dirtyp)
228 DB_FH *fhp;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/log/
H A Dlog.c586 DB_FH *fhp; local
599 fhp = NULL;
611 if ((ret = __log_name(dblp, number, &fname, &fhp, flags)) != 0) {
636 if ((ret = __os_read(env, fhp, tmp, recsize + hdrsize, &nr)) != 0 ||
776 *fhpp = fhp;
779 (void)__os_closehandle(env, fhp);
1153 DB_FH *fhp; local
1199 if (__log_name(dblp, fn, &fname, &fhp, DB_OSO_RDONLY) != 0) {
1203 (void)__os_closehandle(env, fhp);

Completed in 124 milliseconds

1234