Searched refs:retval (Results 126 - 150 of 165) sorted by relevance

1234567

/xnu-2782.1.97/bsd/kern/
H A Dubc_subr.c1599 int retval; local
1605 retval = ubc_msync_internal(vp, beg_off, end_off, resid_off, flags, &io_errno);
1607 if (retval == 0 && io_errno == 0)
1944 int retval = 0; local
1951 retval = 1;
1955 return (retval);
3291 int retval = ENEEDAUTH; local
3296 retval = 0;
3300 return retval;
H A Dprocess_policy.c94 process_policy(__unused struct proc *p, struct process_policy_args * uap, __unused int32_t *retval) argument
H A Dkern_exec.c1593 int ival[2]; /* dummy retval for system calls) */
1909 posix_spawn(proc_t ap, struct posix_spawn_args *uap, int32_t *retval) argument
1913 int ival[2]; /* dummy retval for setpgid() */
2569 retval[0] = error;
2638 execve(proc_t p, struct execve_args *uap, int32_t *retval) argument
2649 err = __mac_execve(p, &muap, retval);
2681 __mac_execve(proc_t p, struct __mac_execve_args *uap, int32_t *retval) argument
2781 vfork_return(p, retval, p->p_pid);
3989 int retval[2]; local
4049 error = execve(p, &init_exec_args, retval);
[all...]
/xnu-2782.1.97/tools/lldbmacros/
H A Dmemory.py1102 retval = []
1108 retval.append((GetUUIDSummary(current_kext.uuid) , hex(current_kext.address), str(current_kext.name) ))
1110 retval.append((GetUUIDSummary(current_kext.uuid) , hex(current_kext.address), str(current_kext.name) ))
1112 return retval
2390 retval = []
2397 return retval
2414 retval.append((vme, unsigned(vme.links.start), unsigned(vme.links.end), unsigned(vme.protection)))
2416 return retval
H A Dprocess.py792 retval = []
797 retval.append(t)
798 return retval
/xnu-2782.1.97/bsd/vm/
H A Dvm_unix.c449 swapon(__unused proc_t procp, __unused struct swapon_args *uap, __unused int *retval) argument
1666 int *retval)
1695 *retval = (int) pages_wanted;
1702 int *retval __unused)
1663 vm_pressure_monitor( __unused struct proc *p, struct vm_pressure_monitor_args *uap, int *retval) argument
/xnu-2782.1.97/osfmk/vm/
H A Dvm_resident.c1874 kern_return_t retval; local
1908 retval = kernel_memory_allocate(zone_map,
1911 if (retval != KERN_SUCCESS) {
5069 int retval = 0; local
5087 retval = 1;
5203 while (retval == 0) {
5221 retval = 1;
5231 retval = 1;
5234 if (retval)
5278 KERNEL_DEBUG_CONSTANT(IOKDBG_CODE(DBG_HIBERNATE, 4) | DBG_FUNC_END, hibernate_stats.hibernate_found_dirty, retval, local
5363 int retval; local
5396 KERNEL_DEBUG_CONSTANT(IOKDBG_CODE(DBG_HIBERNATE, 3) | DBG_FUNC_END, vm_page_free_count, hibernate_stats.hibernate_found_dirty, retval, 0, 0); local
[all...]
H A Dvm_object.c7335 kern_return_t retval; local
7352 retval = KERN_INVALID_VALUE;
7387 retval = KERN_INVALID_VALUE;
7413 retval = KERN_INVALID_VALUE;
7429 retval = KERN_INVALID_VALUE;
7615 retval = KERN_SUCCESS;
7643 return retval;
8263 kern_return_t retval; local
8269 retval = KERN_FAILURE;
8276 retval
[all...]
H A Dmemory_object.c532 int retval = 0; local
635 retval = 1;
661 return (retval);
H A Dvm_purgeable.c848 boolean_t retval; local
851 retval = vm_purgeable_object_purge_one(force_purge_below_group, 0);
854 return retval;
/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c661 int retval = 0; local
669 retval = (*cdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data,
688 retval = (*bdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data, ap->a_fflag, p);
696 (unsigned int)dev, (unsigned int)ap->a_command, (unsigned int)ap->a_fflag, retval, 0); local
698 return (retval);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_syscalls.c266 nfsclnt(proc_t p, struct nfsclnt_args *uap, __unused int *retval) argument
488 getfh(proc_t p, struct getfh_args *uap, __unused int *retval) argument
590 int32_t *retval)
722 *retval = indx;
734 nfssvc(proc_t p, struct nfssvc_args *uap, __unused int *retval) argument
588 fhopen( proc_t p, struct fhopen_args *uap, int32_t *retval) argument
/xnu-2782.1.97/bsd/netinet/
H A Din_mcast.c3118 int retval = 0; variable
3167 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
3168 if (retval != 0) {
3188 retval = SYSCTL_OUT(req, &src, sizeof(struct in_addr));
3189 if (retval != 0)
3198 return (retval);
H A Dip_fw2.c2036 int retval = 0; local
2607 * In general, here we set retval and terminate the
2625 * ('goto done' after setting retval);
2641 retval = IP_FW_PORT_DENY_FLAG;
2686 retval = 0; /* accept */
2692 retval = cmd->arg1 | IP_FW_PORT_DYNT_FLAG;
2700 retval = (cmd->opcode == O_DIVERT) ?
2735 retval = IP_FW_PORT_DENY_FLAG;
2744 retval = 0;
2777 return retval;
[all...]
/xnu-2782.1.97/bsd/netinet6/
H A Din6_mcast.c2987 int retval = 0; variable
3040 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
3041 if (retval != 0) {
3057 retval = SYSCTL_OUT(req, &src, sizeof(struct in6_addr));
3058 if (retval != 0)
3067 return (retval);
/xnu-2782.1.97/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c392 int retval = -1; local
517 retval = -1;
519 retval = 0;
524 retval = -1;
528 retval = -1;
531 LOG(3, stdout, "Test %s done with result %d.\n", test->t_testname, retval);
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_session.c1288 __unused int *retval)
2052 audit_session_port(proc_t p, struct audit_session_port_args *uap, int *retval) argument
2054 #pragma unused(p, uap, retval)
1287 audit_session_port(proc_t p, struct audit_session_port_args *uap, __unused int *retval) argument
H A Daudit_arg.c122 audit_arg_exit(struct kaudit_record *ar, int status, int retval) argument
126 ar->k_ar.ar_arg_exitretval = retval;
/xnu-2782.1.97/osfmk/i386/
H A Dmp.c1683 boolean_t retval = FALSE; local
1686 retval = TRUE;
1687 return retval;
/xnu-2782.1.97/bsd/bsm/
H A Daudit_record.h225 token_t *au_to_exit(int retval, int err);
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_attrlist.c2695 fgetattrlist(proc_t p, struct fgetattrlist_args *uap, __unused int32_t *retval) argument
2772 getattrlist(proc_t p, struct getattrlist_args *uap, __unused int32_t *retval) argument
2794 getattrlistat(proc_t p, struct getattrlistat_args *uap, __unused int32_t *retval) argument
3366 * On non error returns, retval will hold the count of entries returned.
3369 getattrlistbulk(proc_t p, struct getattrlistbulk_args *uap, int32_t *retval) argument
3385 *retval = 0;
3554 *retval = count;
3961 setattrlist(proc_t p, struct setattrlist_args *uap, __unused int32_t *retval) argument
3991 fsetattrlist(proc_t p, struct fsetattrlist_args *uap, __unused int32_t *retval) argument
H A Dvfs_bio.c1391 int retval; local
1441 retval = callout(bp, arg);
1443 switch (retval) {
2819 boolean_t retval; local
2827 retval = TRUE;
2829 retval = FALSE;
2832 return (retval);
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_catalog.c2058 int retval = 0; local
2068 retval = hfs_chash_set_childlinkbit(hfsmp, cnid);
2069 if (retval == 0) {
2077 retval = hfs_start_transaction(hfsmp);
2078 if (retval) {
2084 retval = cat_idlookup(hfsmp, cnid, 0, 0, &desc, &attr, NULL);
2085 if (retval) {
2093 retval = cat_update(hfsmp, &desc, &attr, NULL, NULL);
2094 if (retval) {
2108 return retval;
[all...]
H A Dhfs_cnode.c1005 int retval; local
1374 if ((retval = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, cvpp))) {
1398 return (retval);
/xnu-2782.1.97/osfmk/kdp/
H A Dkdp_udp.c1734 int retval = -1; local
1751 retval = 0;
1755 return retval;

Completed in 393 milliseconds

1234567