Lines Matching defs:fd
164 int fd = uap->fd;
172 AUDIT_ARG(fd, uap->fd);
264 if (fd != -1) {
266 * Use "fd" to pass (some) Mach VM allocation flags,
269 alloc_flags = fd & (VM_FLAGS_ALIAS_MASK | VM_FLAGS_SUPERPAGE_MASK |
271 if (alloc_flags != fd) {
291 err = fp_lookup(p, fd, &fp, 0);
616 fp_drop(p, fd, fp, 0);
618 KERNEL_DEBUG_CONSTANT((BSDDBG_CODE(DBG_BSD_SC_EXTENDED_INFO, SYS_mmap) | DBG_FUNC_NONE), fd, (uint32_t)(*retval), (uint32_t)user_size, error, 0);
1099 int fd = args->fd;
1108 AUDIT_ARG(fd, fd);
1110 ret = map_fd_funneled( fd, (vm_object_offset_t)offset, va, findspace, size);
1118 int fd,
1140 err = fp_lookup(p, fd, &fp, 0);
1292 fp_drop(p, fd, fp, 0);