Lines Matching defs:NULL

95 	inline AreaCacheLocker(VMCache* cache = NULL)
114 area != NULL ? vm_area_get_locked_cache(area) : NULL, true, true);
123 fTopCache(NULL),
124 fBottomCache(NULL)
145 if (topCache != NULL)
146 topCache->SetUserData(NULL);
151 if (fBottomCache == NULL || fBottomCache->source == NULL)
152 return NULL;
166 while (LockSourceCache() != NULL) {
170 void Unlock(VMCache* exceptCache = NULL)
172 if (fTopCache == NULL)
179 while (cache != NULL) {
190 fTopCache = NULL;
191 fBottomCache = NULL;
196 if (fTopCache == NULL)
200 VMCache* cache = NULL;
212 if (fTopCache == NULL)
216 VMCache* cache = NULL;
222 while (cache != fBottomCache && nextCache != NULL) {
462 if (area != NULL && area->address_space != addressSpace)
463 area = NULL;
487 if (area->page_protections == NULL)
515 if (area->page_protections == NULL)
568 if (mapping == NULL)
702 bool onlyCacheUser = cache->areas == area && area->cache_next == NULL
714 if (area->page_protections != NULL) {
718 if (newProtections == NULL) {
742 uint8* newProtections = NULL;
743 if (area->page_protections != NULL) {
746 newProtections = realloc_page_protections(NULL, area->Size(),
749 if (newProtections == NULL)
757 if (newProtections != NULL)
762 if (area->page_protections != NULL) {
804 uint8* areaNewProtections = NULL;
805 uint8* secondAreaNewProtections = NULL;
809 if (area->page_protections != NULL) {
810 areaNewProtections = realloc_page_protections(NULL, area->Size(),
812 secondAreaNewProtections = realloc_page_protections(NULL, secondSize,
815 if (areaNewProtections == NULL || secondAreaNewProtections == NULL) {
833 dynamic_cast<VMAnonymousNoSwapCache*>(cache) == NULL, priority);
863 &addressRestrictions, kernel, &secondArea, NULL);
899 &addressRestrictions, kernel, &secondArea, NULL);
910 if (area->page_protections != NULL) {
948 if (_secondArea != NULL)
984 status_t error = cut_area(addressSpace, area, address, size, NULL,
1006 if (cache->areas != area || area->cache_next != NULL
1090 if (area == NULL)
1207 if (locker1 != NULL)
1209 if (locker2 != NULL)
1233 be \c NULL).
1235 be \c NULL).
1250 if (locker1 != NULL)
1252 if (locker2 != NULL)
1304 if (area->page_protections == NULL) {
1358 if (area->page_protections == NULL) {
1410 true, &area, NULL);
1467 vm_page* page = NULL;
1641 if (page == NULL) {
1748 if (page == NULL) {
1783 if (page == NULL)
1822 if (page == NULL)
2038 if (_size != NULL)
2178 if (descriptor == NULL)
2206 struct vnode* vnode = NULL;
2241 if (fReservation != NULL)
2246 } pageUnreserver(reservedPreMapPages > 0 ? &reservation : NULL);
2352 VMArea* newArea = NULL;
2388 if (sourceArea == NULL)
2590 \param wiredPagesReservation If \c NULL there must not be any wired pages
2608 dynamic_cast<VMAnonymousNoSwapCache*>(lowerCache) == NULL,
2630 if (wiredPagesReservation != NULL) {
2652 for (VMArea* tempArea = upperCache->areas; tempArea != NULL;
2679 for (VMArea* tempArea = upperCache->areas; tempArea != NULL;
2681 if (tempArea->page_protections != NULL) {
2794 if (fReservation != NULL)
2800 } pagesUnreserver(wiredPages > 0 ? &wiredPagesReservation : NULL);
2804 uint8* targetPageProtections = NULL;
2806 if (source->page_protections != NULL) {
2812 if (targetPageProtections == NULL)
2851 if (targetPageProtections != NULL)
2866 wiredPages > 0 ? &wiredPagesReservation : NULL) < B_OK) {
2945 for (VMArea* otherArea = cache->areas; otherArea != NULL;
2964 if (cache->source != NULL && cache->temporary) {
2996 status = vm_copy_on_write_area(cache, NULL);
2999 if (cache->source != NULL && cache->temporary) {
3006 if (status == B_OK && cache->source != NULL) {
3052 if (addressSpace == NULL)
3077 while ((mapping = iterator.Next()) != NULL) {
3107 while ((mapping = iterator.Next()) != NULL) {
3143 while ((mapping = iterator.Next()) != NULL) {
3262 void* physicalPageHandle = NULL;
3410 while (root->source != NULL)
3498 if (cache->areas != NULL) {
3503 while (area->cache_next != NULL) {
3522 if (sCacheInfoTable == NULL) {
3546 if (cache->source == NULL) {
3611 if (argv[i] == NULL) {
3659 while (iterator.Next() != NULL) {
3715 while ((area = it.Next()) != NULL) {
3738 const char* name = NULL;
3752 while ((area = it.Next()) != NULL) {
3754 || (name != NULL && strstr(area->name, name) == NULL))
3805 Team* team = NULL;
3812 if (thread == NULL) {
3836 fAddressSpace(NULL)
3860 if (team != NULL) {
3863 if (addressSpace == NULL) {
3874 addressSpace != NULL;
3888 } else if (team != NULL) {
3892 if (thread == NULL || thread->team == NULL) {
3900 if (addressSpace == NULL) {
3959 if (area != NULL) {
3986 if (page != NULL && page->State() != PAGE_STATE_FREE
4067 if (fileName == NULL)
4391 for (image = args->preloaded_images; image != NULL; image = image->next)
4418 sizeof(vm_page_mapping), 0, 0, 64, 128, CACHE_LARGE_SLAB, NULL, NULL,
4419 NULL, NULL);
4420 if (gPageMappingsObjectCache == NULL)
4445 if (sCacheInfoTable != NULL) {
4531 if (thread != NULL)
4540 if (thread != NULL)
4555 VMAddressSpace* addressSpace = NULL;
4565 if (addressSpace == NULL) {
4591 isUser, NULL);
4601 if (thread != NULL && thread->fault_handler != 0) {
4615 VMArea* area = NULL;
4616 if (addressSpace != NULL) {
4629 if (addressSpace != NULL)
4637 if ((sigaction(SIGSEGV, NULL, &action) == 0
4652 if (addressSpace != NULL)
4693 page = NULL;
4700 void UnlockAll(VMCache* exceptCache = NULL)
4702 topCache = NULL;
4725 VMCache* lastCache = NULL;
4726 vm_page* page = NULL;
4728 while (cache != NULL) {
4734 if (page != NULL && page->busy) {
4745 if (page != NULL)
4801 if (page == NULL) {
4856 \param wirePage On success, if non \c NULL, the wired count of the page
4891 if (area == NULL) {
4987 vm_page* mappedPage = NULL;
4991 != NULL) {
5065 } else if (wirePage != NULL) {
5078 if (wirePage != NULL && status == B_OK) {
5375 for (VMArea* current = cache->areas; current != NULL;
5385 for (VMArea* current = cache->areas; current != NULL;
5414 for (VMArea* current = cache->areas; current != NULL;
5436 if (area->page_protections != NULL) {
5440 if (newProtections == NULL)
5468 for (VMArea* current = cache->areas; current != NULL;
5550 if (thread == NULL || thread->team == NULL)
5557 if (addressSpace == NULL)
5562 if (area == NULL)
5569 vm_page* page = NULL;
5570 while (cache != NULL) {
5572 if (page != NULL)
5583 if (page == NULL)
5634 the string in \a to, NULL-terminating the result.
5645 if (to == NULL && size != 0)
5647 if (from == NULL)
5712 VMAddressSpace* addressSpace = NULL;
5720 if (addressSpace == NULL)
5730 if (area == NULL) {
5752 != NULL) {
5866 VMAddressSpace* addressSpace = NULL;
5874 if (addressSpace == NULL)
5889 if (area == NULL) {
5901 if (range == NULL) {
5936 != NULL) {
6025 VMAddressSpace* addressSpace = NULL;
6033 if (addressSpace == NULL)
6048 if (area == NULL) {
6072 if (range != NULL) {
6093 != NULL) {
6115 if (range != NULL) {
6177 if (addressSpace == NULL)
6288 if (size != sizeof(area_info) || info == NULL)
6319 if (area == NULL) {
6825 if (area == NULL)
6860 if (area == NULL)
6869 if (area->page_protections == NULL) {
6893 if (topCache->source != NULL && topCache->temporary) {
6898 if (topCache->LookupPage(pageAddress) != NULL) {
6937 if (page == NULL) {
6999 if (area == NULL)
7103 if (area == NULL)
7147 if (area == NULL) {
7163 VMAnonymousCache* anonCache = NULL;
7164 if (dynamic_cast<VMAnonymousNoSwapCache*>(area->cache) != NULL) {
7166 } else if ((anonCache = dynamic_cast<VMAnonymousCache*>(area->cache)) != NULL) {