/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | syscall_sw.c | 95 /* 0 */ MACH_TRAP(kern_invalid, 0, NULL, NULL), 96 /* 1 */ MACH_TRAP(kern_invalid, 0, NULL, NULL), 97 /* 2 */ MACH_TRAP(kern_invalid, 0, NULL, NULL), 98 /* 3 */ MACH_TRAP(kern_invalid, 0, NULL, NULL), 99 /* 4 */ MACH_TRAP(kern_invalid, 0, NULL, NULL), [all...] |
H A D | symbols.c | 113 const struct symtab_command *sc = NULL; 114 const struct segment_command *le = NULL; 116 const struct segment_command *sym = NULL; 154 if (sc == 0 || sym == NULL) 155 return (NULL); 166 return (NULL); 172 return (NULL); 185 const char *name = NULL; 189 *km = NULL; 193 return (NULL); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_conf.c | 80 int (*mountroot)(void) = NULL; 115 { &hfs_vfsops, "hfs", 17, 0, (MNT_LOCAL | MNT_DOVOLFS), hfs_mountroot, NULL, 1, {{0}}, VFC_VFSLOCALARGS | VFC_VFSREADDIR_EXTENDED, NULL, 0, 1}, 120 { &ufs_vfsops, "ufs", 1, 0, MNT_LOCAL, ffs_mountroot, NULL, 0, {{0}}, VFC_VFSLOCALARGS | VFC_VFSREADDIR_EXTENDED, NULL, 0, 0}, 125 { &cd9660_vfsops, "cd9660", 14, 0, MNT_LOCAL, cd9660_mountroot, NULL, 0, {{0}}, VFC_VFSLOCALARGS, NULL, 0, 0}, 130 { &mfs_vfsops, "mfs", 3, 0, MNT_LOCAL, mfs_mountroot, NULL, 0, {{0}}, VFC_VFSGENERICARGS , NULL, 0, 0}, 135 { &nfs_vfsops, "nfs", 2, 0, 0, (mountroot_t)nfs_mountroot, NULL, [all...] |
H A D | vnode_if.c | 82 NULL, 88 NULL 106 NULL 123 NULL 140 NULL 157 NULL 174 NULL 191 NULL 208 NULL 225 NULL [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | sdt_subr.c | 89 { NULL } 103 { "sched", "enqueue", 3, 2, "int", NULL }, 110 { "sched", "change-pri", 2, 1, "pri_t", NULL }, 113 { "sched", "schedctl-nopreempt", 2, 1, "int", NULL }, 116 { "sched", "schedctl-yield", 0, 0, "int", NULL }, 121 { "proc", "exec", 0, 0, "string", NULL }, 122 { "proc", "exec-failure", 0, 0, "int", NULL }, 124 { "proc", "exit", 0, 0, "int", NULL }, 125 { "proc", "fault", 0, 0, "int", NULL }, 126 { "proc", "fault", 1, 1, "siginfo_t *", NULL }, [all...] |
H A D | systrace.c | 99 systrace_sysent_t *systrace_sysent = NULL; 313 if (sysent == NULL) { 346 if (desc != NULL) 355 if (systrace_sysent[i].stsy_underlying == NULL) 358 if (dtrace_probe_lookup(systrace_id, NULL, 362 (void) dtrace_probe_create(systrace_id, NULL, syscallnames[i], 365 (void) dtrace_probe_create(systrace_id, NULL, syscallnames[i], 482 NULL, 485 NULL, 486 NULL, [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | conf.c | 80 { &sysclk_ops, NULL, NULL }, 83 { &calend_ops, NULL, NULL },
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/helpers/ |
H A D | launch.c | 32 char * errmsg = NULL; 33 char * argvs[2] = {"", NULL}; 43 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit; 47 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit; 51 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit; 62 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit; 66 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 1)) goto test_failed_exit; 70 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit; 81 if (do_execve_test("helpers/sleep-ppc32", argvs, NULL, 0)) goto test_failed_exit; 85 if (do_execve_test("helpers/sleep-ppc64-4G", argvs, NULL, [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | init_sysent.c | 47 {0, 0, 0, (sy_call_t *)nosys, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 0 = nosys indirect syscall */ 49 {0, 0, 0, (sy_call_t *)fork, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 2 = fork */ 55 {0, 0, 0, (sy_call_t *)nosys, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 8 = nosys old creat */ 58 {0, 0, 0, (sy_call_t *)nosys, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 11 = nosys old execv */ 70 {0, 0, 0, (sy_call_t *)nosys, NULL, NULL, _SYSCALL_RET_INT_ [all...] |
H A D | kern_bsm_token.c | 48 if(tok != NULL)\ 63 * text N bytes + 1 terminating NULL byte 72 if(text == NULL) { 73 return NULL; 79 if(t == NULL) { 80 return NULL; 102 if(text == NULL) { 103 return NULL; 109 if(t == NULL) { 110 return NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | main.c | 64 {1, &syscall_test, NULL, "syscall"}, 65 {1, &fork_wait4_exit_test, NULL, "fork, wait4, exit"}, 66 {1, &read_write_test, NULL, "fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev"}, 67 {1, &open_close_test, NULL, "close, fpathconf, fstat, open, pathconf"}, 68 {1, &link_stat_unlink_test, NULL, "link, stat, unlink"}, 69 {1, &chdir_fchdir_test, NULL, "chdir, fchdir"}, 70 {1, &access_chmod_fchmod_test, NULL, "access, chmod, fchmod"}, 71 {1, &chown_fchown_lchown_lstat_symlink_test, NULL, "chown, fchown, lchown, lstat, readlink, symlink"}, 72 {1, &fs_stat_tests, NULL, "fstatfs, getattrlist, getfsstat, statfs, getfsstat64, statfs64, fstatfs64"}, 73 {1, &getpid_getppid_pipe_test, NULL, "getpi [all...] |
H A D | shared_memory_tests.c | 27 void * my_shm_addr = NULL; 36 my_shm_addr = shmat( my_shm_id, NULL, SHM_RND ); 38 my_shm_addr = NULL; 65 my_shm_addr = NULL; 74 if ( my_shm_addr != NULL ) { 93 char * my_addr = NULL; 125 my_addr = (char *) mmap( NULL, 4096, (PROT_READ | PROT_WRITE), (MAP_FILE | MAP_SHARED), my_fd, 0 );
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/libsa/ |
H A D | stdio.h | 47 * Define NULL. This is currently also (questionably) defined in stdlib.h, 63 #ifndef NULL 64 #define NULL ((void *) 0) macro
|
H A D | stdlib.h | 65 #ifndef NULL 66 #define NULL (void *)0 macro
|
H A D | types.h | 83 #ifndef NULL 84 #define NULL ((void *) 0) /* the null pointer */ macro
|
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSLib.h | 49 #ifndef NULL 51 #define NULL 0 macro 53 #define NULL ((void *)0)
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOPMinformeeList.cpp | 41 firstItem = NULL; 51 static IORecursiveLock *sharedListLock = NULL; 64 if ( NULL == sharedListLock ) 80 return NULL; 85 return NULL; 90 return NULL; 111 while ( nextInformee != NULL ) 144 if ( NULL == item ) 159 while ( item->nextInList != NULL ) 195 if ( currentItem != NULL ) { [all...] |
H A D | IOPMPowerSourceList.cpp | 41 firstItem = NULL; 56 while ( nextPowerSource != NULL ) 91 if ( currentItem != NULL ) { 94 return NULL; 118 if ( NULL == item) goto exit; 126 while ( item->nextInList != NULL ) { 152 while ( next != NULL ) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | pmCPU.c | 64 pmDispatch_t *pmDispatch = NULL; 85 if (pmDispatch != NULL && pmDispatch->cstateInit != NULL) 98 if (my_cpu == NULL) 114 && pmDispatch != NULL 115 && pmDispatch->cstateMachineIdle != NULL) 168 && pmDispatch != NULL 169 && pmDispatch->pmCPUHalt != NULL) { 201 && pmDispatch != NULL 202 && pmDispatch->markAllCPUsOff != NULL) [all...] |
H A D | cpu_threads.h | 49 #define cpu_to_lcpu(cpu) ((cpu_datap(cpu) != NULL) ? _cpu_to_lcpu(cpu) : NULL) 50 #define cpu_to_core(cpu) ((cpu_to_lcpu(cpu) != NULL) ? _cpu_to_lcpu(cpu)->core : NULL) 51 #define cpu_to_die(cpu) ((cpu_to_lcpu(cpu) != NULL) ? _cpu_to_lcpu(cpu)->die : NULL) 52 #define cpu_to_package(cpu) ((cpu_to_lcpu(cpu) != NULL) ? _cpu_to_lcpu(cpu)->package : NULL)
|
H A D | cpu_threads.c | 51 x86_pkg_t *x86_pkgs = NULL; 54 static x86_pkg_t *free_pkgs = NULL; 55 static x86_die_t *free_dies = NULL; 56 static x86_core_t *free_cores = NULL; 59 static x86_cpu_cache_t *x86_caches = NULL; 82 if (x86_caches == NULL) { 84 if (cache == NULL) 85 return(NULL); 89 cache->next = NULL; 93 cache->next = NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/ |
H A D | strsep.c | 46 * be further tokens), or is NULL (if there are definitely no more tokens). 48 * If *stringp is NULL, strsep returns NULL. 60 if ((s = *stringp) == NULL) 61 return (NULL); 68 s = NULL;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | kpi_interface.c | 32 #include <sys/param.h> /* for definition of NULL */ 81 ifp->if_broadcast.u.ptr = NULL; 104 struct ifnet *ifp = NULL; 108 if (init->name == NULL || 109 init->output == NULL) 145 if (ifp->if_broadcast.u.ptr == NULL) { 190 if (ifp == NULL) return EINVAL; 203 if (ifp == NULL) return EINVAL; 216 return interface == NULL ? NULL [all...] |
H A D | if_media.h | 277 { 0, NULL }, \ 298 { 0, NULL }, \ 324 { 0, NULL }, \ 328 { 0, NULL }, \ 336 { 0, NULL }, \ 344 { 0, NULL }, \ 351 { 0, NULL }, \ 358 { 0, NULL }, \ 365 { 0, NULL }, \ 370 { 0, NULL }, \ [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/ |
H A D | errorlib.h | 100 #define errorlib_system_null { 0, NULL, NULL, NULL, 0 } 109 #define errorlib_sub_null { NULL, 0, NULL, NULL, 0 }
|