Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/filedesc.h
Show First 20 Lines • Show All 259 Lines • ▼ Show 20 Lines | |||||
int fdlastfile_single(struct filedesc *fdp); | int fdlastfile_single(struct filedesc *fdp); | ||||
struct filedesc *fdinit(struct filedesc *fdp, bool prepfiles, int *lastfile); | struct filedesc *fdinit(struct filedesc *fdp, bool prepfiles, int *lastfile); | ||||
struct filedesc *fdshare(struct filedesc *fdp); | struct filedesc *fdshare(struct filedesc *fdp); | ||||
struct filedesc_to_leader * | struct filedesc_to_leader * | ||||
filedesc_to_leader_alloc(struct filedesc_to_leader *old, | filedesc_to_leader_alloc(struct filedesc_to_leader *old, | ||||
struct filedesc *fdp, struct proc *leader); | struct filedesc *fdp, struct proc *leader); | ||||
int getvnode(struct thread *td, int fd, cap_rights_t *rightsp, | int getvnode(struct thread *td, int fd, cap_rights_t *rightsp, | ||||
struct file **fpp); | struct file **fpp); | ||||
int getvnode_path(struct thread *td, int fd, cap_rights_t *rightsp, | |||||
struct file **fpp); | |||||
void mountcheckdirs(struct vnode *olddp, struct vnode *newdp); | void mountcheckdirs(struct vnode *olddp, struct vnode *newdp); | ||||
int fget_cap_locked(struct filedesc *fdp, int fd, cap_rights_t *needrightsp, | int fget_cap_locked(struct filedesc *fdp, int fd, cap_rights_t *needrightsp, | ||||
struct file **fpp, struct filecaps *havecapsp); | struct file **fpp, struct filecaps *havecapsp); | ||||
int fget_cap(struct thread *td, int fd, cap_rights_t *needrightsp, | int fget_cap(struct thread *td, int fd, cap_rights_t *needrightsp, | ||||
struct file **fpp, struct filecaps *havecapsp); | struct file **fpp, struct filecaps *havecapsp); | ||||
/* Return a referenced file from an unlocked descriptor. */ | /* Return a referenced file from an unlocked descriptor. */ | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |