Searched refs:pages (Results 1 - 25 of 54) sorted by path

123

/haiku/headers/libs/print/libprint/
H A DGraphicsDriver.h80 bool _PrintPage(PageDataList* pages);
83 bool _CollectPages(SpoolData* spoolData, PageDataList* pages);
/haiku/headers/private/kernel/arch/
H A Dcpu.h33 void arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A DTODO68 59) Check again MODE_SENSE/MODE_SELECT pages translations... MYOB has some problems...
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.h123 void _DiscardPages(vm_page** pages, size_t firstPage,
125 void _CachePages(vm_page** pages, size_t firstPage,
127 status_t _WritePages(vm_page** pages,
130 status_t _ReadIntoPages(vm_page** pages,
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dkthread.h20 struct thread** newtdp, int flags, int pages, const char* fmt, ...);
/haiku/src/libs/compat/freebsd_iflib/
H A Dkthread.cpp16 struct thread **newtdp, int flags, int pages, const char *fmt, ...)
15 kthread_add(void (*func)(void *), void *arg, void* p, struct thread **newtdp, int flags, int pages, const char *fmt, ...) argument
/haiku/src/preferences/printers/
H A DJobListView.cpp204 int32 pages; local
206 "=-1{??? pages}"
208 "other{# pages}}"));
211 B_INT32_TYPE, 0, &pages, sizeof(pages)) == sizeof(pages)) {
212 format.Format(fPages, pages);
/haiku/src/system/kernel/arch/m68k/
H A Darch_040_cpu.cpp47 #warning M68K: 040: use CPUSHP on pages when possible for speed.
71 #warning M68K: 040: use CPUSHP on pages when possible for speed.
H A Darch_cpu.cpp143 arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages) argument
149 cpu_ops.flush_atc_addr(pages[i]);
/haiku/src/system/kernel/arch/ppc/
H A Darch_cpu.cpp128 arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages) argument
134 asm volatile("tlbie %0" :: "r" (pages[i]));
/haiku/src/system/kernel/arch/sparc/
H A Darch_cpu.cpp78 arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages) argument
/haiku/src/system/kernel/slab/
H A DHashedObjectCache.cpp115 void* pages = NULL; local
116 if (MemoryManager::Allocate(this, flags, pages) == B_OK
119 if (InitSlab(slab, pages, slab_size, flags)) {
128 if (pages != NULL)
129 MemoryManager::Free(pages, flags);
151 MemoryManager::Free(slab->pages, flags);
H A DHashedObjectCache.h65 return HashKey(value->pages);
70 return value->pages == key;
H A DMemoryManager.h31 // TODO: These sizes have been chosen with 4 KB pages in mind.
49 static void Free(void* pages, uint32 flags);
53 static ObjectCache* FreeRawOrReturnCache(void* pages,
H A DObjectCache.h29 void* pages; member in struct:slab
102 slab* InitSlab(slab* slab, void* pages,
113 status_t AllocatePages(void** pages, uint32 flags);
114 void FreePages(void* pages);
115 status_t EarlyAllocatePages(void** pages, uint32 flags);
116 void EarlyFreePages(void* pages);
H A DSmallObjectCache.cpp20 slab_in_pages(void *pages, size_t slab_size) argument
22 BytePointer<slab> pointer(pages);
73 void* pages; local
76 status_t error = MemoryManager::Allocate(this, flags, pages);
82 slab* newSlab = slab_in_pages(pages, slab_size);
85 MemoryManager::Free(pages, flags);
89 return InitSlab(newSlab, pages, byteCount, flags);
100 MemoryManager::Free(slab->pages, flags);
/haiku/src/system/kernel/vm/
H A DVMPageQueue.h41 inline void AppendUnlocked(PageList& pages, uint32 count);
190 VMPageQueue::AppendUnlocked(PageList& pages, uint32 count) argument
193 for (PageList::Iterator it = pages.GetIterator();
207 fPages.MoveFrom(&pages);
/haiku/src/tests/kits/interface/pictureprint/
H A DDumpPrintJob.cpp52 int32 pages = reader.NumberOfPages(); local
53 printf("Number of pages: %d\n", (int)pages);
54 for (int page = 0; page < pages; page ++) {
/haiku/src/tests/system/kernel/slab/
H A DSlab.cpp39 MallocBackend::AllocatePages(BaseCache *cache, AllocationID *id, void **pages, argument
47 *pages = memalign(alignment, byteCount);
48 if (*pages == NULL)
51 *id = *pages;
56 MallocBackend::FreePages(BaseCache *cache, void *pages) argument
58 free(pages);
63 AreaBackend::AllocatePages(BaseCache *cache, area_id *id, void **pages, argument
69 area_id areaId = create_area(cache->Name(), pages, B_ANY_ADDRESS, //B_ANY_KERNEL_ADDRESS,
74 printf("AreaBackend::AllocatePages() = { %ld, %p }\n", areaId, *pages);
146 BaseCache::ConstructSlab(Slab *slab, void *pages, size_ argument
[all...]
H A DSlab.h61 void *pages; member in struct:BaseCache::Slab
71 Slab *ConstructSlab(Slab *slab, void *pages, size_t byteCount,
100 void **pages, size_t byteCount, uint32_t flags);
101 static void FreePages(BaseCache *cache, void *pages);
109 static status_t AllocatePages(BaseCache *cache, area_id *id, void **pages,
179 BaseCache::Slab *_ConstructSlab(Slab *slab, void *pages, size_t tailSpace, argument
182 return fParent->ConstructSlab(slab, pages, SlabSize(tailSpace)
197 // slab at the end of the allocated pages. It uses aligned allocations to
229 void *pages; local
232 // map objects to slabs we required this set of pages t
405 void *pages; local
437 _PrepareSlab(BaseCache *parent, Slab *slab, void *pages, size_t byteCount, uint32_t flags) argument
458 _ClearSlab(BaseCache *parent, void *pages, size_t byteCount) argument
[all...]
/haiku/headers/private/drivers/
H A Dscsi_cmds.h315 // vital product data: pages
323 // vital product data: supported pages
333 uint8 pages[1]; // size according to page_length member in struct:scsi_page_list
748 save_pages : 1, // 1 = save pages to non-volatile memory
784 save_pages : 1, // 1 = save pages to non-volatile memory
821 // special mode page indicating to return all mode pages
824 // header of mode data; followed by block descriptors and mode pages
863 // header of a mode pages
/haiku/headers/private/kernel/platform/efi/
H A Dboot-services.h94 size_t pages, efi_physical_addr* memory) EFIAPI;
96 efi_status (*FreePages) (efi_physical_addr memory, size_t pages) EFIAPI;
/haiku/headers/private/kernel/platform/efi/protocol/
H A Dpci-root-bridge-io.h97 size_t pages, void** host_addr, uint64_t attributes) EFIAPI;
100 size_t pages, void* host_addr) EFIAPI;
/haiku/headers/private/kernel/vm/
H A DVMCache.h193 VMCachePagesTree pages; member in struct:VMCache
/haiku/src/add-ons/kernel/bus_managers/agp_gart/
H A Dagp_gart.cpp77 vm_page **pages; member in union:aperture_memory::__anon108
486 memory->pages = NULL;
553 // Allocate table to hold the pages
554 memory->pages = (vm_page **)malloc(count * sizeof(vm_page *));
555 if (memory->pages == NULL)
573 memory->pages[i] = page + i;
578 memory->pages[i] = vm_page_allocate_page(&reservation,
681 page = memory->pages[index];
714 // Free previously allocated pages and page table
727 DEBUG_PAGE_ACCESS_TRANSFER(memory->pages[
[all...]

Completed in 145 milliseconds

123