/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme.c | 78 struct pci_slot_match slot; local 84 memset(&slot, 0, sizeof(struct pci_slot_match)); 109 nvme_err("Malformed PCI device slot name %s\n", 115 slot.domain = (uint32_t)strtoul(domain, &end, 16); 116 if ((end && *end) || (slot.domain > 0xffff)) { 117 nvme_err("Invalid domain number: 0x%X\n", slot.domain); 121 slot.domain = PCI_MATCH_ANY; 124 slot.bus = (uint32_t)strtoul(bus, &end, 16); 125 if ((end && *end) || (slot.bus > 0xff)) { 126 nvme_err("Invalid bus number: 0x%X\n", slot 177 char *slot; local [all...] |
/haiku/src/system/kernel/arch/m68k/paging/ |
H A D | m68k_physical_page_mapper_large_memory.cpp | 49 // One slot would suffice, since the map is locked while mapping a page table, 58 // one slot is for use in interrupts 72 inline void PutSlot(PhysicalPageSlot* slot); 115 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot 165 PhysicalPageSlot*& slot); 166 void PutSlot(PhysicalPageSlot* slot); 210 PhysicalPageSlot* slot = fSlots; local 211 fSlots = slot->next; 212 return slot; 217 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument 250 PhysicalPageSlot* slot = fSlots; local 279 PutSlot(PhysicalPageSlot* slot) argument 327 PhysicalPageSlot* slot; local 397 page_slot& slot = fSlots[i]; local 411 page_slot& slot = fSlots[fNextSlot]; local 489 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local 499 PhysicalPageSlot* slot; local 531 PhysicalPageSlot* slot = slotQueue.GetSlot(); local 583 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 613 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 653 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 705 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument 737 PutSlot(PhysicalPageSlot* slot) argument [all...] |
H A D | m68k_physical_page_mapper_large_memory.h | 41 inline void PutSlot(PhysicalPageSlot* slot);
|
/haiku/src/system/kernel/arch/arm/paging/ |
H A D | arm_physical_page_mapper_large_memory.cpp | 48 // One slot would suffice, since the map is locked while mapping a page table, 66 inline void PutSlot(PhysicalPageSlot* slot); 109 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot 160 PhysicalPageSlot*& slot); 161 void PutSlot(PhysicalPageSlot* slot); 205 PhysicalPageSlot* slot = fSlots; local 206 fSlots = slot->next; 207 return slot; 212 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument 214 slot 245 PhysicalPageSlot* slot = fSlots; local 274 PutSlot(PhysicalPageSlot* slot) argument 322 PhysicalPageSlot* slot; local 393 page_slot& slot = fSlots[i]; local 407 page_slot& slot = fSlots[fNextSlot]; local 491 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local 501 PhysicalPageSlot* slot; local 533 PhysicalPageSlot* slot = slotQueue.GetSlot(); local 585 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 615 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 655 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 707 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument 739 PutSlot(PhysicalPageSlot* slot) argument [all...] |
H A D | arm_physical_page_mapper_large_memory.h | 18 // one slot is for use in interrupts 50 inline void PutSlot(PhysicalPageSlot* slot);
|
/haiku/src/system/kernel/arch/x86/paging/ |
H A D | x86_physical_page_mapper_large_memory.cpp | 47 // One slot would suffice, since the map is locked while mapping a page table, 64 inline void PutSlot(PhysicalPageSlot* slot); 107 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot 158 PhysicalPageSlot*& slot); 159 void PutSlot(PhysicalPageSlot* slot); 203 PhysicalPageSlot* slot = fSlots; local 204 fSlots = slot->next; 205 return slot; 210 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument 212 slot 243 PhysicalPageSlot* slot = fSlots; local 272 PutSlot(PhysicalPageSlot* slot) argument 320 PhysicalPageSlot* slot; local 390 page_slot& slot = fSlots[i]; local 403 page_slot& slot = fSlots[fNextSlot]; local 486 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local 496 PhysicalPageSlot* slot = NULL; local 528 PhysicalPageSlot* slot = slotQueue.GetSlot(); local 580 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 610 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 650 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 702 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument 734 PutSlot(PhysicalPageSlot* slot) argument [all...] |
H A D | x86_physical_page_mapper_large_memory.h | 18 // one slot is for use in interrupts 50 inline void PutSlot(PhysicalPageSlot* slot);
|
/haiku/src/system/kernel/ |
H A D | sem.cpp | 91 // when slot in use 109 // when slot unused 242 uint32 slot = num % sMaxSems; local 243 if (sSems[slot].id != (int)num) { 248 dump_sem(&sSems[slot]); 268 /*! \brief Appends a semaphore slot to the free list. 271 The slot's id field is not changed. It should already be set to -1. 273 \param slot The index of the semaphore slot. 274 \param nextID The ID the slot wil 278 free_sem_slot(int slot, sem_id nextID) argument 730 int slot = id % sMaxSems; local 874 int32 slot = id % sMaxSems; local 997 int slot = id % sMaxSems; local 1023 int slot = id % sMaxSems; local 1131 int slot = id % sMaxSems; local [all...] |
/haiku/src/tools/fs_shell/ |
H A D | OpenHashTable.h | 159 ValueType* slot = fTable[index]; local 161 while (slot) { 162 if (fDefinition.Compare(key, slot)) 164 slot = _Link(slot); 167 return slot; 228 ValueType* slot = fTable[index]; local 230 while (slot) { 231 ValueType* next = _Link(slot); 233 if (value == slot) { 408 ValueType* slot = fTable[index]; local [all...] |
/haiku/headers/private/kernel/util/ |
H A D | OpenHashTable.h | 159 ValueType* slot = fTable[index]; local 161 while (slot) { 162 if (fDefinition.Compare(key, slot)) 164 slot = _Link(slot); 167 return slot; 228 ValueType* slot = fTable[index]; local 230 while (slot) { 231 ValueType* next = _Link(slot); 233 if (value == slot) { 408 ValueType* slot = fTable[index]; local [all...] |
H A D | MultiHashTable.h | 109 ValueType *slot = NULL; local 113 slot = HashTable::fTable[index]; 116 while (slot) { 117 if (HashTable::fDefinition.Compare(key, slot)) 119 slot = HashTable::_Link(slot); 122 if (slot == NULL) 125 return ValueIterator(this, index, slot);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | BTree.cpp | 88 BTree::Node::SearchSlot(const btrfs_key& key, int* slot, btree_traversing type) argument 91 // binary search for item slot in a node 111 *slot = mid; 128 *slot = mid; 129 TRACE("SearchSlot() found slot %" B_PRId32 " comp %" B_PRId32 "\n", 130 *slot, comp); 331 BTree::Path::SetNode(off_t block, int slot) argument 334 return SetNode(&node, slot); 339 BTree::Path::SetNode(const Node* node, int slot) argument 349 if (slot 370 GetEntry(int slot, btrfs_key* _key, void** _value, uint32* _size, uint32* _offset) argument 400 SetEntry(int slot, const btrfs_entry& entry, void* value) argument 580 int slot; local 679 int slot = status; local 704 status_t slot = MakeEntries(transaction, path, entries[0].key, num, local 739 int slot = status; local 765 int slot; local 804 int slot; local [all...] |
H A D | BTree.h | 73 * \return Current slot at leaf if successful, error code (out of memory, 84 * \return Starting slot on success, error code otherwise 192 //! Searches for item slot in the node 193 status_t SearchSlot(const btrfs_key& key, int* slot, 228 Node* SetNode(off_t block, int slot); 229 Node* SetNode(const Node* node, int slot); 232 status_t GetEntry(int slot, btrfs_key* _key, void** _value, 234 status_t SetEntry(int slot, const btrfs_entry& entry, void* value);
|
/haiku/src/system/kernel/debug/ |
H A D | debug_paranoia.cpp | 356 paranoia_slot* slot = sSlotFreeList; 357 sSlotFreeList = slot->nextFree; 358 return slot; 363 free_slot(paranoia_slot* slot) argument 365 slot->nextFree = sSlotFreeList; 366 sSlotFreeList = slot; 373 int slot = (addr_t)set->Object() % PARANOIA_HASH_SIZE; local 374 set->SetHashNext(sCheckSetHash[slot]); 375 sCheckSetHash[slot] = set; 382 int slot local 400 int slot = (addr_t)object % PARANOIA_HASH_SIZE; local 432 paranoia_slot* slot = allocate_slot(); local 544 paranoia_slot* slot = allocate_slot(); local [all...] |
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.h | 72 uint8 slot; member in struct:xhci_device 140 status_t ConfigureEndpoint(xhci_endpoint* ep, uint8 slot, 182 void Ring(uint8 slot, uint8 endpoint); 186 status_t EnableSlot(uint8 *slot); 187 status_t DisableSlot(uint8 slot); 189 uint8 slot); 191 bool deconfigure, uint8 slot); 193 uint8 slot); 197 uint8 endpoint, uint8 slot); 198 status_t ResetDevice(uint8 slot); [all...] |
H A D | xhci.cpp | 1160 endpoint->device->slot); 1523 uint8 slot = XHCI_MAX_SLOTS; local 1524 status_t status = EnableSlot(&slot); 1526 TRACE_ERROR("failed to enable slot: %s\n", strerror(status)); 1530 if (slot == 0 || slot > fSlotCount) { 1531 TRACE_ERROR("AllocateDevice: bad slot\n"); 1535 if (fDevices[slot].slot != 0) { 1536 TRACE_ERROR("AllocateDevice: slot alread 2150 ConfigureEndpoint(xhci_endpoint* ep, uint8 slot, uint8 number, uint8 type, bool directionIn, uint16 interval, uint16 maxPacketSize, usb_speed speed, uint8 maxBurst, uint16 bytesPerInterval) argument 2548 Ring(uint8 slot, uint8 endpoint) argument 2624 slot = TRB_3_SLOT_GET(flags); local 2862 EnableSlot(uint8* slot) argument 2880 DisableSlot(uint8 slot) argument 2893 SetAddress(uint64 inputContext, bool bsr, uint8 slot) argument 2909 ConfigureEndpoint(uint64 inputContext, bool deconfigure, uint8 slot) argument 2925 EvaluateContext(uint64 inputContext, uint8 slot) argument 2993 SetTRDequeue(uint64 dequeue, uint16 stream, uint8 endpoint, uint8 slot) argument 3009 ResetDevice(uint8 slot) argument [all...] |
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_pci.cpp | 40 #define SLOT_NUMBER "device/slot" 59 uint8_t bar, slot; local 60 if (gDeviceManager->get_attr_uint8(node, SLOT_NUMBER, &slot, false) < B_OK 65 TRACE("Register SD bus at slot %d, using bar %d\n", slot + 1, bar); 70 for (; bar < 6 && slot > 0; bar++, slot--) { 96 // map the slot registers 160 for (uint8_t slot = 0; slot < slotsCoun [all...] |
/haiku/headers/private/kernel/boot/ |
H A D | disk_identifier.h | 40 uint8 slot; member in struct:disk_identifier::__anon1042::__anon1044
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_user_debugger.cpp | 45 // maps breakpoint slot index to LEN_i LSB number 50 // maps breakpoint slot index to R/W_i LSB number 55 // maps breakpoint slot index to L_i bit number 60 // maps breakpoint slot index to G_i bit number 65 // maps breakpoint slot index to B_i bit number 294 // find a free slot 295 int32 slot = -1; local 298 slot = i; 304 if (slot >= 0) { 305 info.breakpoints[slot] 333 int32 slot = -1; local [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_tdma.c | 325 ts->tdma_inuse = 0; /* clear slot usage */ 393 * the slot timing, reconfigure the bss, etc. 410 * is non-zero we scan the slot allocation state in the ie 411 * to locate a free slot for our use. 418 int slot, slotlen, update; local 427 printf("%s: bad slot cnt %u\n", 437 printf("%s: bad slot len %u\n", 452 slot = ts->tdma_slot; 455 * Pick unoccupied slot. Note we never choose slot [all...] |
H A D | ieee80211_phy.h | 59 * For drivers that don't implement per-VAP slot time 62 * the current radio configured slot time. 69 * For drivers that implement per-VAP slot time; look 71 * is in short or long slot time. 80 #define IEEE80211_DUR_DIFS(sifs, slot) ((sifs) + 2 * (slot))
|
/haiku/src/libs/compat/freebsd_network/compat/dev/pci/ |
H A D | pcivar.h | 45 device_t pci_find_dbsf(uint32_t domain, uint8_t bus, uint8_t slot,
|
/haiku/src/system/libroot/posix/ |
H A D | syslog.cpp | 67 int32 slot = tls_allocate(); local 69 if (slot < 0) { 74 sThreadContextSlot = slot;
|
/haiku/src/system/kernel/arch/x86/paging/32bit/ |
H A D | X86PagingMethod32Bit.cpp | 162 // init slot list 166 PhysicalPageSlot* slot = &fSlots[i]; local 167 slot->next = slot + 1; 168 slot->pool = this; 169 slot->address = slotAddress; 200 // create an area that can contain the page table and the slot
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMPagingMethod32Bit.cpp | 162 // init slot list 166 PhysicalPageSlot* slot = &fSlots[i]; local 167 slot->next = slot + 1; 168 slot->pool = this; 169 slot->address = slotAddress; 202 // create an area that can contain the page table and the slot
|