• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/i386/

Lines Matching refs:NULL

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;
96 cache->cpus[i] = NULL;
279 x86_cpu_cache_t *root = NULL;
280 x86_cpu_cache_t *cur = NULL;
281 x86_cpu_cache_t *last = NULL;
293 return NULL;
311 if (cur == NULL) {
324 if (last == NULL) {
345 while (cur_cache != NULL) {
373 lcpu->next_in_core = NULL;
374 lcpu->next_in_die = NULL;
375 lcpu->next_in_pkg = NULL;
376 lcpu->core = NULL;
377 lcpu->die = NULL;
378 lcpu->package = NULL;
384 lcpu->caches[i] = NULL;
399 if (free_cores != NULL) {
402 core->next_in_die = NULL;
407 if (core == NULL)
443 while (pkg != NULL) {
465 if (pkg == NULL)
466 return(NULL);
469 while (die != NULL) {
491 if (die == NULL)
492 return(NULL);
495 while (core != NULL) {
540 if (free_dies != NULL) {
543 die->next_in_pkg = NULL;
548 if (die == NULL)
582 if (free_pkgs != NULL) {
585 pkg->next = NULL;
590 if (pkg == NULL)
629 if (cache->cpus[i] == NULL) {
648 assert(lcpu != NULL);
657 while (list != NULL) {
663 cur->next = NULL;
680 if (lcpu->caches[level] != NULL) {
700 while (cur_lcpu != NULL) {
714 if (match != NULL) {
729 while (cur_lcpu != NULL) {
743 if (match != NULL) {
769 assert(core != NULL);
770 assert(lcpu != NULL);
784 assert(die != NULL);
785 assert(lcpu != NULL);
795 assert(die != NULL);
796 assert(core != NULL);
807 assert(pkg != NULL);
808 assert(lcpu != NULL);
818 assert(pkg != NULL);
819 assert(core != NULL);
829 assert(pkg != NULL);
830 assert(die != NULL);
841 x86_core_t *core = NULL;
842 x86_die_t *die = NULL;
843 x86_pkg_t *pkg = NULL;
885 if (pkg == NULL) {
892 if (x86_package_find(cpu) != NULL) {
903 } while (pkg == NULL);
910 if (die == NULL) {
917 if (x86_die_find(cpu) != NULL) {
927 } while (die == NULL);
934 if (core == NULL) {
941 if (x86_core_find(cpu) != NULL) {
953 } while (core == NULL);
1072 while (pkg != NULL) {
1078 while (die != NULL) {
1079 if (die->package == NULL)
1080 panic("Die(%d)->package is NULL",
1095 while (core != NULL) {
1096 if (core->die == NULL)
1097 panic("Core(%d)->die is NULL",
1118 while (lcpu != NULL) {
1119 if (lcpu->die == NULL)
1120 panic("CPU(%d)->die is NULL",
1148 while (core != NULL) {
1149 if (core->package == NULL)
1150 panic("Core(%d)->package is NULL",
1164 while (lcpu != NULL) {
1165 if (lcpu->core == NULL)
1166 panic("CPU(%d)->core is NULL",
1193 while (lcpu != NULL) {
1194 if (lcpu->package == NULL)
1195 panic("CPU(%d)->package is NULL",
1227 while (pkg != NULL) {
1233 while (die != NULL) {
1239 while (core != NULL) {
1245 while (cpu != NULL) {