Lines Matching refs:fpp
115 cap_rights_t *needrightsp, struct file **fpp, seqc_t *seqp);
2883 struct file **fpp, struct filecaps *havecapsp)
2890 *fpp = NULL;
2906 *fpp = fde->fde_file;
2916 struct file **fpp, struct filecaps *havecapsp)
2923 *fpp = NULL;
2942 *fpp = fp;
2947 error = fget_cap_noref(fdp, fd, needrightsp, fpp, havecapsp);
2948 if (error == 0 && !fhold(*fpp))
2956 struct file **fpp, struct filecaps *havecapsp)
2959 error = fget_unlocked(td, fd, needrightsp, fpp);
2968 fget_remote(struct thread *td, struct proc *p, int fd, struct file **fpp)
2975 return (fget_unlocked(td, fd, &cap_no_rights, fpp));
2986 *fpp = fp;
3186 struct file **fpp, seqc_t *seqp)
3233 *fpp = fp;
3242 struct file **fpp, seqc_t *seqp __unused)
3271 *fpp = fp;
3285 struct file **fpp)
3301 *fpp = NULL;
3333 *fpp = fp;
3338 *fpp = NULL;
3339 return (fget_unlocked_seq(td, fd, needrightsp, fpp, NULL));
3354 struct file **fpp)
3364 *fpp = NULL;
3378 *fpp = fp;
3384 struct file **fpp)
3390 *fpp = NULL;
3399 *fpp = fp;
3413 * If an error occurred the non-zero error is returned and *fpp is set to
3414 * NULL. Otherwise *fpp is held and set and zero is returned. Caller is
3418 _fget(struct thread *td, int fd, struct file **fpp, int flags,
3424 *fpp = NULL;
3460 *fpp = fp;
3465 fget(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
3468 return (_fget(td, fd, fpp, 0, rightsp));
3473 struct file **fpp)
3477 error = _fget(td, fd, fpp, 0, rightsp);
3487 *fpp = NULL;
3510 *fpp = fp;
3516 fget_read(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
3519 return (_fget(td, fd, fpp, FREAD, rightsp));
3523 fget_write(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
3526 return (_fget(td, fd, fpp, FWRITE, rightsp));
3531 struct file **fpp)
3534 return (fget_unlocked(td, fd, rightsp, fpp));
3541 *fpp = NULL;
3556 *fpp = fp;