Searched refs:kern_dup (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/sys/compat/cloudabi/
H A Dcloudabi_fd.c187 return (kern_dup(td, FDDUP_NORMAL, 0, uap->from, 0));
203 * Invoke kern_dup() with FDDUP_MUSTREPLACE, so that we return
208 error = kern_dup(td, FDDUP_MUSTREPLACE, 0, uap->from, uap->to);
/freebsd-11.0-release/sys/kern/
H A Dkern_descrip.c375 return (kern_dup(td, FDDUP_FIXED, 0, (int)uap->from, (int)uap->to));
391 return (kern_dup(td, FDDUP_NORMAL, 0, (int)uap->fd, 0));
501 error = kern_dup(td, FDDUP_FCNTL, 0, fd, tmp);
506 error = kern_dup(td, FDDUP_FCNTL, FDDUP_FLAG_CLOEXEC, fd, tmp);
511 error = kern_dup(td, FDDUP_FIXED, 0, fd, tmp);
516 error = kern_dup(td, FDDUP_FIXED, FDDUP_FLAG_CLOEXEC, fd, tmp);
809 kern_dup(struct thread *td, u_int mode, int flags, int old, int new) function
2086 * close() or kern_dup() has cleared a reference
2337 error = kern_dup(td, FDDUP_FIXED, 0, devnull, i);
/freebsd-11.0-release/sys/sys/
H A Dsyscallsubr.h90 int kern_dup(struct thread *td, u_int mode, int flags, int old, int new);

Completed in 28 milliseconds