Lines Matching defs:NULL

156 static Team* sKernelTeam = NULL;
201 if (team != NULL)
239 fArgs(NULL)
271 if (fArgs != NULL) {
312 fSignal(signal != NULL ? signal->Number() : 0)
434 hash_next = siblings_next = parent = children = group_next = NULL;
438 group = NULL;
443 io_context = NULL;
444 user_mutex_context = NULL;
445 realtime_sem_context = NULL;
446 xsi_sem_context = NULL;
447 death_entry = NULL;
456 if (job_control_entry != NULL) {
462 address_space = NULL;
463 main_thread = NULL;
464 thread_list = NULL;
465 loading_info = NULL;
476 free_user_threads = NULL;
478 commpage_address = NULL;
512 fCoreDumpCondition = NULL;
521 if (io_context != NULL)
530 if (fQueuedSignalsCounter != NULL)
547 // usually already NULL and transferred to the parent
558 if (team == NULL)
559 return NULL;
562 if (name != NULL)
566 if (team->job_control_entry == NULL || team->fQueuedSignalsCounter == NULL)
567 return NULL;
571 return NULL;
576 return NULL;
601 if (team != NULL)
616 if (team == NULL)
617 return NULL;
626 return NULL;
654 if (parent == NULL || (dontLockParentIfKernel && parent == sKernelTeam)
682 if (parent != NULL)
701 if (this->parent == NULL || this->parent->TryLock())
718 if (parent != NULL)
737 if (group == NULL)
815 action.sa_userdata = NULL;
945 for (Thread* thread = thread_list; thread != NULL;
977 for (Thread* thread = thread_list; thread != NULL;
996 teams(NULL),
997 fSession(NULL),
1019 if (fSession != NULL) {
1036 if (group != NULL)
1059 ASSERT(sGroupHash.Lookup(this->id) == NULL);
1081 while (orphaned && team != NULL) {
1085 if (parent != NULL && parent->group_id != id
1124 controlling_tty(NULL),
1153 if (team->parent != NULL) {
1183 if (thread != NULL && thread->team != NULL)
1190 arg = strtoul(argv[1], NULL, 0);
1249 if (team->parent == NULL) {
1257 if (team == NULL) {
1264 if (team->parent == NULL) {
1286 ASSERT(parent != NULL);
1305 Team* last = NULL;
1307 for (child = parent->children; child != NULL;
1310 if (last == NULL)
1315 team->parent = NULL;
1372 Team* last = NULL;
1375 if (group == NULL)
1378 for (current = group->teams; current != NULL;
1381 if (last == NULL)
1391 team->group = NULL;
1392 team->group_next = NULL;
1400 create_team_user_data(Team* team, void* exactAddress = NULL)
1405 if (exactAddress != NULL) {
1417 if (result == B_OK || exactAddress != NULL) {
1418 if (exactAddress != NULL)
1439 team->free_user_threads = NULL;
1482 if (flatArgs == NULL)
1497 if (flatArgs[i] != NULL) {
1527 if (teamArg != NULL) {
1541 if (teamArg == NULL)
1545 if (teamArg->path == NULL) {
1671 imageInfo.symbol_table = NULL;
1672 imageInfo.symbol_hash = NULL;
1673 imageInfo.string_table = NULL;
1740 io_context* parentIOContext = NULL;
1744 if (flatArgs == NULL || argCount == 0)
1754 if (threadName != NULL)
1768 if (team == NULL)
1783 if (parent == NULL)
1808 _flatArgs = NULL;
1820 parentIOContext = NULL;
1890 if (mainThread != NULL) {
1904 if (team->loading_info != NULL)
1905 panic("team loading wait complete, but loading_info != NULL");
1945 if (parentIOContext != NULL)
1998 for (Thread* thread = team->thread_list; thread != NULL;
2014 _flatArgs = NULL;
2032 team->user_mutex_context = NULL;
2034 team->realtime_sem_context = NULL;
2058 if (threadName != NULL)
2083 status = thread_create_user_stack(currentThread->team, currentThread, NULL,
2132 team = Team::Create(thread->id, NULL, false);
2133 if (team == NULL)
2158 if (forkArgs == NULL) {
2174 if (team->realtime_sem_context == NULL) {
2216 if (thread->user_thread == NULL) {
2268 ThreadCreationAttributes threadCreationAttributes(NULL,
2269 parentThread->name, parentThread->priority, NULL, team->id, thread);
2329 for (Team* child = parent->children; child != NULL;
2351 \return The first matching entry or \c NULL, if none matches.
2372 return NULL;
2394 \return The first matching entry or \c NULL, if none matches.
2399 job_control_entry* entry = NULL;
2404 if (entry == NULL && (flags & WCONTINUED) != 0)
2407 if (entry == NULL && (flags & (WUNTRACED | WSTOPPED)) != 0)
2427 if (group == NULL) {
2448 if (team != NULL) {
2465 team = NULL;
2498 struct job_control_entry* freeDeathEntry = NULL;
2529 if (entry == NULL) {
2534 childrenExist = team->children != NULL;
2566 JOB_CONTROL_STATE_NONE, NULL);
2585 freeDeathEntry = NULL;
2659 if (get_job_control_entry(team, child, flags) == NULL)
2671 wait_for_thread(foundEntry.thread, NULL);
2715 if (team->parent != NULL)
2735 while (team != NULL) {
2739 if (team->job_control_entry != NULL
2767 if (group == NULL)
2801 if (team == NULL)
2820 for (; thread != NULL; thread = thread->team_next) {
2834 for (; child != NULL; child = child->siblings_next) {
2839 for (; thread != NULL; thread = thread->team_next) {
2880 if (session == NULL)
2885 if (group == NULL)
2893 if (sKernelTeam == NULL)
2906 sKernelTeam->supplementary_groups = NULL;
2910 sKernelTeam->io_context = vfs_new_io_context(NULL, false);
2911 if (sKernelTeam->io_context == NULL)
2966 \return The death entry of the matching team, or \c NULL, if no death entry
2973 return NULL;
3000 return team_get_team_struct_locked(id) != NULL;
3064 if (group == NULL || group->Session() != session)
3100 if (team == NULL)
3145 && team->group->Session()->controlling_tty != NULL) {
3152 session->controlling_tty = NULL;
3221 if (team->debug_info.debugger_changed_condition != NULL) {
3270 while (thread != NULL) {
3294 team->death_entry = NULL;
3322 if (team->loading_info != NULL) {
3328 team->loading_info = NULL;
3338 &team->watcher_list)) != NULL) {
3400 if (team == NULL)
3414 \a signal The signal the new state was caused by. Can \c NULL, if none. Then
3425 if (team == NULL || team->job_control_entry == NULL)
3454 if (signal != NULL) {
3460 team_job_control_children* childList = NULL;
3477 if (childList != NULL) {
3511 if (hook == NULL || teamID < B_OK)
3516 if (watcher == NULL)
3525 if (team == NULL) {
3541 if (hook == NULL || teamID < 0)
3546 if (team == NULL)
3550 team_watcher* watcher = NULL;
3552 &team->watcher_list, watcher)) != NULL) {
3562 if (watcher == NULL)
3578 return NULL;
3595 return NULL;
3622 if (userThread == NULL)
3628 if (entry == NULL) {
3647 fOwner(NULL)
3680 if (data->Owner() != NULL)
3699 data->SetOwner(NULL);
3721 data->SetOwner(NULL);
3780 if (args == NULL)
3790 while (env != NULL && env[envCount] != NULL)
3799 if (flatArgs == NULL)
3813 *slot++ = NULL;
3822 *slot++ = NULL;
3841 if (team == NULL)
3859 if (team == NULL)
3880 if (team == NULL)
3902 Team* team = NULL;
3906 if (team == NULL)
3960 if (team == NULL) {
3991 if (team == NULL) {
4047 if (userInfo != NULL && !IS_USER_ADDRESS(userInfo))
4049 if (usageInfo != NULL && !IS_USER_ADDRESS(usageInfo))
4059 if (userInfo != NULL && user_memcpy(userInfo, &info, sizeof(info)) != B_OK)
4062 if (usageInfo != NULL && user_memcpy(usageInfo, &usage_info,
4124 if (group == NULL) {
4129 if (group == NULL)
4138 if (team == NULL)
4148 if (oldGroup == NULL) {
4259 if (group == NULL)
4265 if (session == NULL)
4299 if (_userReturnCode != NULL && !IS_USER_ADDRESS(_userReturnCode))
4303 if (status >= B_OK && _userReturnCode != NULL) {
4457 if (userInfo == NULL || !IS_USER_ADDRESS(userInfo)
4471 if ((buffer != NULL && !IS_USER_ADDRESS(buffer))
4472 || (buffer == NULL && size > 0)
4473 || _sizeNeeded == NULL || !IS_USER_ADDRESS(_sizeNeeded)) {
4496 if (team == NULL)