Searched refs:fp2 (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/bsd/kern/
H A Dkern_descrip.c1895 struct fileproc *fp2 = NULL; local
1917 if ( (error = fp_lookup(p, fd2, &fp2, 1)) ) {
1921 if (fp2->f_type != DTYPE_VNODE) {
1922 fp_drop(p, fd2, fp2, 1);
1926 dst_vp = (struct vnode *)fp2->f_data;
1928 fp_drop(p, fd2, fp2, 1);
1935 error = mac_file_check_fcntl(proc_ucred(p), fp2->f_fglob, uap->cmd, 0);
1937 fp_drop(p, fd2, fp2, 1);
1947 fp_drop(p, fd2, fp2, 0);
1953 fp_drop(p, fd2, fp2,
[all...]
H A Duipc_syscalls.c974 struct fileproc *fp1, *fp2; local
995 error = falloc(p, &fp2, &fd, vfs_context_current());
999 fp2->f_flag = FREAD|FWRITE;
1000 fp2->f_ops = &socketops;
1001 fp2->f_data = (caddr_t)so2;
1025 fp_drop(p, sv[1], fp2, 1);
1030 fp_free(p, sv[1], fp2);

Completed in 31 milliseconds