Home
last modified time | relevance | path

Searched refs:fp2 (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dkern_descrip.c4520 struct fileproc *fp2 = NULL; in sys_fcntl_nocancel() local
4550 if ((error = fp_lookup(p, fd2, &fp2, 1))) { in sys_fcntl_nocancel()
4554 if (fp2->f_type != DTYPE_VNODE) { in sys_fcntl_nocancel()
4555 fp_drop(p, fd2, fp2, 1); in sys_fcntl_nocancel()
4559 dst_vp = (struct vnode *)fp_get_data(fp2); in sys_fcntl_nocancel()
4561 fp_drop(p, fd2, fp2, 1); in sys_fcntl_nocancel()
4568 error = mac_file_check_fcntl(kauth_cred_get(), fp2->fp_glob, cmd, 0); in sys_fcntl_nocancel()
4570 fp_drop(p, fd2, fp2, 1); in sys_fcntl_nocancel()
4580 fp_drop(p, fd2, fp2, 0); in sys_fcntl_nocancel()
4586 fp_drop(p, fd2, fp2, 0); in sys_fcntl_nocancel()
[all …]
H A Duipc_syscalls.c1202 fileproc_ref_t fp1, fp2; in socketpair() local
1225 error = falloc(p, &fp2, &fd); in socketpair()
1229 fp2->f_flag = FREAD | FWRITE; in socketpair()
1230 fp2->f_ops = &socketops; in socketpair()
1231 fp_set_data(fp2, so2); in socketpair()
1256 fp_drop(p, sv[1], fp2, 1); in socketpair()
1261 fp_free(p, sv[1], fp2); in socketpair()
/xnu-12377.41.6/tests/
H A Darm_mte.c354 uint64_t fp2 = task_footprint();
355 T_LOG("Footprint after free(): %llu bytes", fp2);
357 …T_EXPECT_TRUE(((fp2 + PAGE_SIZE * (count - margin)) <= fp1), "Footprint after free() is higher tha…