Home
last modified time | relevance | path

Searched refs:fpp (Results 1 – 23 of 23) sorted by relevance

/dragonfly/lib/libkcore/
H A Dkcore_file.c59 struct file fp, *fpp; in kcore_get_files() local
103 if (kvm_read(kc->kd, (long)(&fdp.fd_files[n].fp), &fpp, in kcore_get_files()
104 sizeof(fpp)) != sizeof(fpp)) { in kcore_get_files()
108 if (fpp == NULL) in kcore_get_files()
110 if (kvm_read(kc->kd, (long)fpp, &fp, in kcore_get_files()
113 fpp, procs->kp_pid); in kcore_get_files()
/dragonfly/sys/kern/
H A Dkern_fp.c95 fp_open(const char *path, int flags, int mode, file_t *fpp) in fp_open() argument
101 if ((error = falloc(NULL, fpp, NULL)) != 0) in fp_open()
105 fsetcred(*fpp, td->td_proc->p_ucred); in fp_open()
109 error = vn_open(&nd, fpp, flags, mode); in fp_open()
112 fdrop(*fpp); in fp_open()
113 *fpp = NULL; in fp_open()
130 fp_vpopen(struct vnode *vp, int flags, file_t *fpp) in fp_vpopen() argument
173 if ((error = falloc(NULL, fpp, NULL)) != 0) in fp_vpopen()
176 fsetcred(*fpp, td->td_proc->p_ucred); in fp_vpopen()
187 fp = *fpp; in fp_vpopen()
[all …]
H A Dvfs_vnops.c98 vn_open(struct nlookupdata *nd, struct file **fpp, int fmode, int cmode) in vn_open() argument
100 struct file *fp = fpp ? *fpp : NULL; in vn_open()
365 error = VOP_OPEN(vp, fmode, cred, fpp); in vn_open()
366 fp = fpp ? *fpp : NULL; in vn_open()
H A Duipc_usrreq.c1851 struct file **fpp; in unp_gc() local
1926 for (i = info.index, fpp = info.extra_ref; --i >= 0; ++fpp) { in unp_gc()
1927 struct file *tfp = *fpp; in unp_gc()
1931 for (i = info.index, fpp = info.extra_ref; --i >= 0; ++fpp) in unp_gc()
1932 fdrop(*fpp); in unp_gc()
H A Dkern_descrip.c2391 fdcopy(struct proc *p, struct filedesc **fpp) in fdcopy() argument
2413 *fpp = NULL; in fdcopy()
2511 *fpp = newfdp; in fdcopy()
2715 holdsock(thread_t td, int fd, struct file **fpp) in holdsock() argument
2735 *fpp = fp; in holdsock()
2746 holdvnode(thread_t td, int fd, struct file **fpp) in holdvnode() argument
2763 *fpp = fp; in holdvnode()
2774 holdvnode2(thread_t td, int fd, struct file **fpp, char *fflagsp) in holdvnode2() argument
2791 *fpp = fp; in holdvnode2()
H A Dkern_device.c139 struct file **fpp, struct vnode *vp) in dev_dopen() argument
150 ap.a_fpp = fpp; in dev_dopen()
H A Dvfs_nlookup.c199 nlookup_init_at(struct nlookupdata *nd, struct file **fpp, int fd, in nlookup_init_at() argument
207 *fpp = NULL; in nlookup_init_at()
240 *fpp = fp; in nlookup_init_at()
H A Dvfs_vopops.c271 struct file **fpp) in vop_open() argument
290 ap.a_fpp = fpp; in vop_open()
/dragonfly/usr.bin/mail/
H A Dpopen.c159 struct fp *fpp; in register_file() local
161 if ((fpp = malloc(sizeof(*fpp))) == NULL) in register_file()
163 fpp->fp = fp; in register_file()
164 fpp->pipe = pipe; in register_file()
165 fpp->pid = pid; in register_file()
166 fpp->link = fp_head; in register_file()
167 fp_head = fpp; in register_file()
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-lookup.c313 ctf_lookup_by_id (ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() argument
315 ctf_file_t *fp = *fpp; /* Caller passes in starting CTF container. */ in ctf_lookup_by_id()
321 (void) ctf_set_errno (*fpp, ECTF_NOPARENT); in ctf_lookup_by_id()
333 *fpp = fp; in ctf_lookup_by_id()
336 (void) ctf_set_errno (*fpp, ECTF_BADID); in ctf_lookup_by_id()
345 *fpp = fp; /* Function returns ending CTF container. */ in ctf_lookup_by_id()
349 (void) ctf_set_errno (*fpp, ECTF_BADID); in ctf_lookup_by_id()
/dragonfly/games/tetris/
H A Dscores.c92 getscores(FILE **fpp) in getscores() argument
100 if (fpp != NULL) { in getscores()
104 *fpp = NULL; in getscores()
121 if (fpp == NULL) { in getscores()
138 if (fpp) in getscores()
139 *fpp = sf; in getscores()
/dragonfly/sys/sys/
H A Dfiledesc.h171 int fdcopy (struct proc *p, struct filedesc **fpp);
180 int holdsock (struct thread *td, int fdes, struct file **fpp);
181 int holdvnode (struct thread *td, int fd, struct file **fpp);
182 int holdvnode2 (struct thread *td, int fd, struct file **fpp,
H A Ddevice.h338 struct file **fpp, struct vnode *vp);
H A Dvfsops.h780 struct ucred *cred, struct file **fpp);
1036 #define VOP_OPEN(vp, mode, cred, fpp) \ argument
1037 vop_open(*(vp)->v_ops, vp, mode, cred, fpp)
H A Dvnode.h510 int vn_open (struct nlookupdata *ndp, struct file **fpp, int fmode, int cmode);
/dragonfly/crypto/libressl/crypto/bio/
H A Dbss_file.c216 FILE **fpp; in file_ctrl() local
269 fpp = (FILE **)ptr; in file_ctrl()
270 *fpp = (FILE *)b->ptr; in file_ctrl()
/dragonfly/contrib/libedit/src/
H A Del.c502 FILE **fpp; in el_wget() local
505 fpp = va_arg(ap, FILE **); in el_wget()
509 *fpp = el->el_infile; in el_wget()
512 *fpp = el->el_outfile; in el_wget()
515 *fpp = el->el_errfile; in el_wget()
H A Deln.c345 FILE **fpp = va_arg(ap, FILE **); in el_get() local
346 ret = el_wget(el, op, what, fpp); in el_get()
/dragonfly/usr.sbin/rrenumd/
H A Drrenumd.c196 config(FILE **fpp) in config() argument
203 if (parse(fpp) < 0) { in config()
/dragonfly/sys/vfs/ntfs/
H A Dntfs_subr.c716 char *attrname, struct fnode **fpp) in ntfs_fget() argument
722 *fpp = NULL; in ntfs_fget()
732 *fpp = fp; in ntfs_fget()
736 if (*fpp) in ntfs_fget()
756 *fpp = fp; in ntfs_fget()
/dragonfly/contrib/binutils-2.27/gas/doc/
H A Dc-pdp11.texi103 @cindex -mno-fpp
109 @itemx -mno-fpp | -mno-fpu | -mno-fp-11
/dragonfly/crypto/libressl/include/openssl/
H A Dbio.h434 #define BIO_get_fp(b,fpp) BIO_ctrl(b,BIO_C_GET_FILE_PTR,0,(char *)fpp) argument
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Dinvoke.texi1097 @itemx @var{file}.fpp