Searched refs:resource (Results 1 - 25 of 214) sorted by last modified time

123456789

/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp68 // I/O resource
72 io_resource resource; // info about actual resource member in struct:io_resource_info
1353 while (io_resource_private* resource = fResources.RemoveHead()) {
1354 delete resource;
1375 io_resource_private* resource = new(std::nothrow) io_resource_private; local
1376 if (resource == NULL)
1379 status_t status = resource->Acquire(resources[i]);
1381 delete resource;
1385 fResources.Add(resource);
[all...]
H A Ddma_resources.cpp99 mutex_init(&fLock, "dma resource");
791 delete_dma_resource(resource)
796 dma_buffer_alloc(resource, size)
H A DIOSchedulerSimple.cpp87 IOSchedulerSimple::IOSchedulerSimple(DMAResource* resource) argument
89 IOScheduler(resource),
305 kprintf(" DMA resource: %p\n", fDMAResource);
423 // B_BUSY means some resource (DMABuffers or
H A DIOCache.cpp41 IOCache::IOCache(DMAResource* resource, size_t cacheLineSize) argument
43 IOScheduler(resource),
52 ASSERT(resource != NULL);
53 TRACE("%p->IOCache::IOCache(%p, %" B_PRIuSIZE ")\n", this, resource,
221 kprintf(" DMA resource: %p\n", fDMAResource);
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerACPI.cpp86 /** Convert an ACPI address resource descriptor into a pci_resource_range.
91 DecodeAddress(const T& resource, pci_resource_range& range) argument
93 const auto& acpiRange = resource.address;
95 (unsigned long)acpiRange.minimum, resource.minAddress_fixed,
96 (unsigned long)acpiRange.maximum, resource.maxAddress_fixed,
108 } else if (!resource.maxAddress_fixed) {
/haiku/src/system/kernel/fs/
H A Dvfs.cpp22 #include <sys/resource.h>
5209 vfs_getrlimit(int resource, struct rlimit* rlp) argument
5214 switch (resource) {
5242 vfs_setrlimit(int resource, const struct rlimit* rlp) argument
5247 switch (resource) {
/haiku/src/system/kernel/arch/generic/
H A Dacpi_irq_routing_table.cpp328 // we failed to set the resource, fall back to current
907 acpi_resource* resource = (acpi_resource*)buffer.pointer; local
908 while (resource->Type != ACPI_RESOURCE_TYPE_END_TAG) {
909 switch (resource->Type) {
912 acpi_resource_irq& irq = resource->Data.Irq;
914 dprintf("acpi irq resource with no interrupts\n");
934 dprintf("acpi irq resource (%s):\n",
954 acpi_resource_extended_irq& irq = resource->Data.ExtendedIrq;
956 dprintf("acpi extended irq resource with no interrupts\n");
976 dprintf("acpi extended irq resource (
1046 acpi_resource* resource = (acpi_resource*)buffer.pointer; local
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dpci.cpp9 #include <compat/machine/resource.h>
H A Dbus.cpp20 #include <compat/machine/resource.h>
73 bus_alloc_irq_resource(device_t dev, struct resource *res)
86 bus_alloc_mem_resource(device_t dev, struct resource *res, pci_info *info,
108 // enable this I/O resource
126 bus_alloc_ioport_resource(device_t dev, struct resource *res, pci_info *info,
140 // enable this I/O resource
166 struct resource *
170 struct resource *res;
181 res = (struct resource *)malloc(sizeof(struct resource));
[all...]
/haiku/src/kits/tracker/
H A DTracker.cpp43 #include <sys/resource.h>
H A DFilePanel.cpp38 #include <sys/resource.h>
/haiku/src/add-ons/kernel/drivers/graphics/virtio/
H A Dvirtio_gpu.cpp216 struct virtio_gpu_resource_create_2d resource = {}; local
219 resource.hdr.type = VIRTIO_GPU_CMD_RESOURCE_CREATE_2D;
220 resource.resource_id = resourceId;
221 resource.format = VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM;
222 resource.width = width;
223 resource.height = height;
225 virtio_gpu_send_cmd(info, &resource, sizeof(resource), &response, sizeof(response));
240 struct virtio_gpu_resource_unref resource = {}; local
243 resource
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c199 struct resource *ifc_msix_mem;
1674 struct resource *res;
6537 struct resource *res;
6557 /* We allocate a single interrupt resource */
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DACPIPrivate.h46 typedef acpi_status (*acpi_walk_resources_callback)(acpi_resource* resource,
/haiku/headers/os/drivers/
H A DACPI.h174 typedef acpi_status (*acpi_walk_resources_callback)(acpi_resource* resource,
/haiku/
H A Dconfigure1038 clangHeadersDir=`$gcc -print-resource-dir`/include/
/haiku/src/system/kernel/
H A Dthread.cpp22 #include <sys/resource.h>
1328 common_getrlimit(int resource, struct rlimit * rlp)
1333 switch (resource) {
1351 return vfs_getrlimit(resource, rlp);
1369 common_setrlimit(int resource, const struct rlimit * rlp)
1374 switch (resource) {
1383 return vfs_setrlimit(resource, rlp);
3421 getrlimit(int resource, struct rlimit * rlp)
3423 status_t error = common_getrlimit(resource, rlp);
3434 setrlimit(int resource, cons
[all...]
H A Dsyscalls.cpp45 #include <sys/resource.h>
H A Dlow_resource_manager.cpp75 = RECURSIVE_LOCK_INITIALIZER("low resource");
117 /*! Calls low resource handlers for the given resources.
174 dprintf("low resource pages: %s -> %s\n", state_to_string(oldState),
194 dprintf("low resource memory: %s -> %s\n", state_to_string(oldState),
215 dprintf("low resource semaphores: %s -> %s\n",
236 dprintf("low resource address space: %s -> %s\n",
325 /*! Notifies the low resource manager that a resource is lacking. If \a flags
327 resource manager has finished its next iteration of calling low resource
331 low_resource(uint32 resource, uint64 requirements, uint32 flags, uint32 timeout) argument
[all...]
/haiku/headers/private/system/
H A Dsyscalls.h68 extern int _kern_getrlimit(int resource, struct rlimit * rlp);
69 extern int _kern_setrlimit(int resource, const struct rlimit * rlp);
/haiku/headers/private/kernel/
H A Dthread.h171 int _user_getrlimit(int resource, struct rlimit * rlp);
172 int _user_setrlimit(int resource, const struct rlimit * rlp);
273 resource with the unblocked thread, or otherwise the unblocked thread
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp69 void Run(DMAResource& resource);
127 panic("initializing DMA resource failed: %s\n", strerror(status));
545 Test::Run(DMAResource& resource) argument
562 status_t status = resource.TranslateNext(&request, &operation, 0);
/haiku/src/libs/compat/openbsd_network/compat/dev/pci/
H A Dpcivar.h66 struct resource* res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &reg, RF_ACTIVE);
110 struct resource* irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &ih.rid,
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Dif_igc.h59 #include <machine/resource.h>
277 struct resource *res;
306 struct resource *res;
352 struct resource *memory;
353 struct resource *flash;
354 struct resource *ioport;
356 struct resource *res;
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp14 #include <sys/resource.h>

Completed in 231 milliseconds

123456789