Searched refs:fp2 (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_descrip.c | 1762 struct fileproc *fp2 = NULL; local 1784 if ( (error = fp_lookup(p, fd2, &fp2, 1)) ) { 1788 if (fp2->f_type != DTYPE_VNODE) { 1789 fp_drop(p, fd2, fp2, 1); 1793 dst_vp = (struct vnode *)fp2->f_data; 1795 fp_drop(p, fd2, fp2, 1); 1802 error = mac_file_check_fcntl(proc_ucred(p), fp2->f_fglob, uap->cmd, 0); 1804 fp_drop(p, fd2, fp2, 1); 1814 fp_drop(p, fd2, fp2, 0); 1820 fp_drop(p, fd2, fp2, [all...] |
H A D | uipc_syscalls.c | 700 struct fileproc *fp1, *fp2; local 722 error = falloc(p, &fp2, &fd, vfs_context_current()); 726 fp2->f_flag = FREAD|FWRITE; 727 fp2->f_type = DTYPE_SOCKET; 728 fp2->f_ops = &socketops; 729 fp2->f_data = (caddr_t)so2; 753 fp_drop(p, sv[1], fp2, 1); 758 fp_free(p, sv[1], fp2);
|
Completed in 88 milliseconds