Searched refs:dfd (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_bw_mmap_rd.c | 175 int sfd, dfd; local 182 if ((dfd = open(dst, O_CREAT|O_TRUNC|O_RDWR, mode)) < 0) { 186 if (write(dfd, buf, size) < size) return -1; 188 fsync(dfd); 190 close(dfd);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | filedesc.h | 139 int indx, int dfd, int mode, int error);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_descrip.c | 4961 * dfd fd to dup from 4974 dupfdopen(struct filedesc *fdp, int indx, int dfd, int flags, int error) argument 4993 if (dfd < 0 || dfd >= fdp->fd_nfiles || 4994 (wfp = fdp->fd_ofiles[dfd]) == NULL || wfp == fp || 4995 (fdp->fd_ofileflags[dfd] & UF_RESERVED)) { 5001 myerror = mac_file_check_dup(proc_ucred(p), wfp->f_fglob, dfd); 5010 * For ENODEV simply dup (dfd) to file descriptor 5013 * For ENXIO steal away the file structure from (dfd) and 5014 * store it in (indx). (dfd) i [all...] |
Completed in 23 milliseconds