Searched refs:memory (Results 1 - 25 of 122) sorted by last modified time

12345

/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_address.cpp17 #include <memory.h>
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DOsSupportBeOS.cpp133 // Allocate locked, non-pageable block of memory. Does not have to be
142 PPVOID ppMemAddr // Where to return memory ptr
171 // Unlock and free, non-pageable block of memory.
195 // memory management methods.
389 ECHO_DEBUGPRINTF(("COsSupport::operator new - memory allocation failed\n"));
401 VOID COsSupport::operator delete(PVOID memory) argument
403 free(memory);
/haiku/headers/private/shared/
H A DAutoDeleter.h12 MemoryDeleter - free()s malloc()ed memory
155 inline void operator()(void *memory) argument
157 free(memory);
164 MemoryDeleter(void *memory) : AutoDeleter<void, MemoryDelete >(memory) {} argument
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c243 #include <memory.h>
H A Difaddrlist.c51 #include <memory.h>
/haiku/src/servers/app/
H A DBitmapManager.cpp13 all memory management related to them.
127 // allocate client memory to communicate the overlay semaphore
205 ClonedAreaMemory* memory = new(std::nothrow) ClonedAreaMemory;
206 if (memory == NULL) {
209 int8* buffer = (int8*)memory->Clone(clientArea, areaOffset);
211 delete memory;
215 bitmap->fMemory = memory;
216 bitmap->fBuffer = memory->Address();
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant.cpp128 // The overlay registers, hardware status, and cursor memory share
138 // allocate some extra memory for the 3D context
634 info->memory = gInfo->shared_info->graphics_memory_size;
/haiku/src/add-ons/accelerants/virtio/
H A Daccelerant.cpp189 info->memory = ???
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dactbl2.h213 * does not specify the layout of bitfields in memory, which means they are
683 UINT64 Span; /* Length of memory range */
2242 #define ACPI_NFIT_BUILD_DEVICE_HANDLE(dimm, channel, memory, socket, node) \
2245 ((memory) << ACPI_NFIT_MEMORY_ID_OFFSET) | \
2770 * PCC memory structures (not part of the ACPI table)
2933 UINT32 MemoryDeviceCount; /* Zero means no memory device structs follow */
/haiku/src/system/libnetwork/netresolv/dst/
H A Dhmac_link.c33 #include <memory.h>
H A Dsupport.c28 #include <memory.h>
H A Ddst_api.c37 * void dst_free_key() Releases all memory referenced by key structure
52 #include <memory.h>
/haiku/src/system/kernel/util/
H A Dring_buffer.cpp134 create_ring_buffer_etc(void* memory, size_t size, uint32 flags) argument
136 if (memory == NULL) {
148 ring_buffer* buffer = (ring_buffer*)memory;
/haiku/headers/private/kernel/util/
H A Dring_buffer.h32 struct ring_buffer *create_ring_buffer_etc(void *memory, size_t size,
H A DOpenHashTable.h67 void Free(void* memory) const
69 free(memory);
77 * be used at times where memory allocations aren't possible, such as code
78 * called by the memory allocator).
82 * out of memory (except at Init time).
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6.cpp10 #include <memory.h>
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c41 #include <memory.h>
1612 beos_panic("*** error: cache can't allocate memory!\n");
1619 beos_panic("** error cache can't allocate data memory\n");
2106 and doing the malloc's to try and be nice to the memory
2129 printf("cache: no memory for block (bsize %d)!\n",
/haiku/src/add-ons/kernel/bus_managers/agp_gart/
H A Dagp_gart.cpp99 size_t Hash(aperture_memory *memory) const
100 { return (memory->base - fInfo.base) / B_PAGE_SIZE; }
101 bool Compare(const KeyType &base, aperture_memory *memory) const
102 { return base == memory->base; }
103 aperture_memory *&GetLink(aperture_memory *memory) const
104 { return memory->hash_link; }
124 void DeleteMemory(aperture_memory *memory);
127 status_t AllocateMemory(aperture_memory *memory, uint32 flags);
129 status_t UnbindMemory(aperture_memory *memory);
130 status_t BindMemory(aperture_memory *memory, addr_
454 DeleteMemory(aperture_memory *memory) argument
469 aperture_memory *memory = new(std::nothrow) aperture_memory; local
518 AllocateMemory(aperture_memory *memory, uint32 flags) argument
606 UnbindMemory(aperture_memory *memory) argument
635 BindMemory(aperture_memory *memory, addr_t address, size_t size) argument
702 _Free(aperture_memory *memory) argument
745 _Remove(aperture_memory *memory) argument
766 _Insert(aperture_memory *memory, size_t size, size_t alignment, uint32 flags) argument
1044 aperture_memory *memory = aperture->CreateMemory(size, alignment, flags); local
1085 aperture_memory *memory = aperture->GetMemory(base); local
1140 aperture_memory *memory = NULL; local
1179 aperture_memory *memory = aperture->GetMemory(base); local
[all...]
/haiku/src/system/kernel/scheduler/
H A Dscheduling_analysis.cpp305 void* memory = Allocate(sizeof(Thread)); local
306 if (memory == NULL)
309 thread = new(memory) Thread(id);
326 void* memory = Allocate(sizeof(WaitObject)); local
327 if (memory == NULL)
330 WaitObject* waitObject = new(memory) WaitObject(type, object);
402 void* memory = Allocate(sizeof(ThreadWaitObject)); local
403 if (memory == NULL)
406 threadWaitObject = new(memory) ThreadWaitObject(thread->id,
/haiku/src/apps/debuganalyzer/model/
H A DModel.cpp104 void* memory = malloc( local
106 if (memory == NULL)
109 return new(memory) IORequest(scheduledEvent, finishedEvent, operationCount);
/haiku/src/servers/app/drawing/interface/virtual/
H A DDWindowHWInterface.cpp765 info->memory = 134217728; // 128 MB, not that we really have that much. :)
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Dif_igc.h352 struct resource *memory; member in struct:igc_adapter
380 /* Multicast array memory */
H A Dif_igc.c589 /* Allocate multicast array memory. */
1137 u8 *mta; /* Multicast array memory */
1301 adapter->memory = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
1303 if (adapter->memory == NULL) {
1304 device_printf(dev, "Unable to allocate bus resource: memory\n");
1307 adapter->osdep.mem_bus_space_tag = rman_get_bustag(adapter->memory);
1309 rman_get_bushandle(adapter->memory);
1469 if (adapter->memory != NULL) {
1471 rman_get_rid(adapter->memory), adapter->memory);
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/nvidia/
H A Ddriver.c52 vuint32 *regs; /* kernel's pointer to memory mapped registers */
380 0, // memory
525 char buffer[B_OS_NAME_LENGTH]; /*memory for device name*/
541 /* enable memory mapped IO, disable VGA I/O - this is defined in the PCI standard */
574 /* get a virtual memory address for the registers*/
603 /* get ROM memory mapped base adress - this is defined in the PCI standard */
639 /* ROM was not assigned an adress, fetch it from ISA legacy memory map! */
714 /* note the amount of memory mapped by the kerneldriver so we can make sure we
740 /* disable memory mapped IO */
1002 * unified memory architectur
[all...]
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h213 * if the fifo assignment is changed while at the same time card memory in the
218 * if card memory in the dangerous region is being accessed by some application while
219 * a DMA command buffer exists in the same memory (though in a different place),
236 uint32 memory; member in struct:__anon19
278 uint32 use_clone_bugfix; /*for 4.5.0, cloning of physical memory does not work*/
281 /*memory mappings*/
282 area_id regs_area; /* Kernel's area_id for the memory mapped registers.
291 void *framebuffer; /* As viewed from virtual memory */
293 void *dma_buffer; /* As viewed from virtual memory */
354 //fixme: memory stuf
[all...]

Completed in 171 milliseconds

12345