Searched refs:slot (Results 1 - 25 of 61) sorted by relevance

123

/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme.c78 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/arm/paging/
H A Darm_physical_page_mapper_large_memory.cpp47 // One slot would suffice, since the map is locked while mapping a page table,
65 inline void PutSlot(PhysicalPageSlot* slot);
108 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot
159 PhysicalPageSlot*& slot);
160 void PutSlot(PhysicalPageSlot* slot);
204 PhysicalPageSlot* slot = fSlots; local
205 fSlots = slot->next;
206 return slot;
211 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument
213 slot
244 PhysicalPageSlot* slot = fSlots; local
273 PutSlot(PhysicalPageSlot* slot) argument
321 PhysicalPageSlot* slot; local
392 page_slot& slot = fSlots[i]; local
406 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 Darm_physical_page_mapper_large_memory.h18 // one slot is for use in interrupts
50 inline void PutSlot(PhysicalPageSlot* slot);
/haiku/src/system/kernel/arch/m68k/paging/
H A Dm68k_physical_page_mapper_large_memory.cpp48 // One slot would suffice, since the map is locked while mapping a page table,
57 // one slot is for use in interrupts
71 inline void PutSlot(PhysicalPageSlot* slot);
114 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot
164 PhysicalPageSlot*& slot);
165 void PutSlot(PhysicalPageSlot* slot);
209 PhysicalPageSlot* slot = fSlots; local
210 fSlots = slot->next;
211 return slot;
216 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument
249 PhysicalPageSlot* slot = fSlots; local
278 PutSlot(PhysicalPageSlot* slot) argument
326 PhysicalPageSlot* slot; local
396 page_slot& slot = fSlots[i]; local
410 page_slot& slot = fSlots[fNextSlot]; local
488 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local
498 PhysicalPageSlot* slot; local
530 PhysicalPageSlot* slot = slotQueue.GetSlot(); local
582 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
612 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
652 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
704 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument
736 PutSlot(PhysicalPageSlot* slot) argument
[all...]
H A Dm68k_physical_page_mapper_large_memory.h41 inline void PutSlot(PhysicalPageSlot* slot);
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_large_memory.cpp46 // One slot would suffice, since the map is locked while mapping a page table,
63 inline void PutSlot(PhysicalPageSlot* slot);
106 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot
157 PhysicalPageSlot*& slot);
158 void PutSlot(PhysicalPageSlot* slot);
202 PhysicalPageSlot* slot = fSlots; local
203 fSlots = slot->next;
204 return slot;
209 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument
211 slot
242 PhysicalPageSlot* slot = fSlots; local
271 PutSlot(PhysicalPageSlot* slot) argument
319 PhysicalPageSlot* slot; local
389 page_slot& slot = fSlots[i]; local
402 page_slot& slot = fSlots[fNextSlot]; local
485 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local
495 PhysicalPageSlot* slot = NULL; local
527 PhysicalPageSlot* slot = slotQueue.GetSlot(); local
579 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
609 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
649 PhysicalPageSlot* slot = slotQueue->GetSlot(); local
701 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument
733 PutSlot(PhysicalPageSlot* slot) argument
[all...]
H A Dx86_physical_page_mapper_large_memory.h18 // one slot is for use in interrupts
50 inline void PutSlot(PhysicalPageSlot* slot);
/haiku/src/system/kernel/
H A Dsem.cpp91 // 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
993 int slot = id % sMaxSems; local
1019 int slot = id % sMaxSems; local
1127 int slot = id % sMaxSems; local
[all...]
/haiku/headers/private/kernel/util/
H A DOpenHashTable.h159 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 DMultiHashTable.h109 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/tools/fs_shell/
H A DOpenHashTable.h159 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/src/add-ons/kernel/file_systems/btrfs/
H A DBTree.cpp97 BTree::Node::SearchSlot(const btrfs_key& key, int* slot, btree_traversing type) argument
100 // binary search for item slot in a node
120 *slot = mid;
137 *slot = mid;
138 TRACE("SearchSlot() found slot %" B_PRId32 " comp %" B_PRId32 "\n",
139 *slot, comp);
355 BTree::Path::SetNode(off_t block, int slot) argument
358 return SetNode(&node, slot);
363 BTree::Path::SetNode(const Node* node, int slot) argument
373 if (slot
394 GetEntry(int slot, btrfs_key* _key, void** _value, uint32* _size, uint32* _offset) argument
424 SetEntry(int slot, const btrfs_entry& entry, void* value) argument
630 int slot; local
738 int slot = status; local
765 status_t slot = MakeEntries(transaction, path, entries[0].key, num, local
804 int slot = status; local
830 int slot; local
869 int slot; local
[all...]
H A DBTree.h163 status_t SearchSlot(const btrfs_key& key, int* slot,
188 Node* SetNode(off_t block, int slot);
189 Node* SetNode(const Node* node, int slot);
192 status_t GetEntry(int slot, btrfs_key* _key, void** _value,
194 status_t SetEntry(int slot, const btrfs_entry& entry, void* value);
/haiku/src/system/kernel/debug/
H A Ddebug_paranoia.cpp356 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 Dxhci.h75 uint8 slot; member in struct:xhci_device
140 status_t ConfigureEndpoint(uint8 slot, uint8 number,
180 void Ring(uint8 slot, uint8 endpoint);
184 status_t EnableSlot(uint8 *slot);
185 status_t DisableSlot(uint8 slot);
187 uint8 slot);
189 bool deconfigure, uint8 slot);
191 uint8 slot);
193 uint8 slot);
195 uint8 slot);
[all...]
H A Dxhci.cpp973 endpoint->device->slot);
982 endpoint->device->slot);
1338 uint8 slot = XHCI_MAX_SLOTS; local
1339 if (EnableSlot(&slot) != B_OK) {
1340 TRACE_ERROR("AllocateDevice() failed enable slot\n");
1344 if (slot == 0 || slot > fSlotCount) {
1345 TRACE_ERROR("AllocateDevice() bad slot\n");
1349 if (fDevices[slot].state != XHCI_STATE_DISABLED) {
1350 TRACE_ERROR("AllocateDevice() slot alread
1654 uint8 slot = fPortSlots[hubPort]; local
1982 ConfigureEndpoint(uint8 slot, uint8 number, uint8 type, bool directionIn, uint64 ringAddr, uint16 interval, uint16 maxPacketSize, usb_speed speed, uint8 maxBurst, uint16 bytesPerInterval) argument
2370 Ring(uint8 slot, uint8 endpoint) argument
2450 slot = TRB_3_SLOT_GET(flags); local
2626 EnableSlot(uint8* slot) argument
2644 DisableSlot(uint8 slot) argument
2657 SetAddress(uint64 inputContext, bool bsr, uint8 slot) argument
2673 ConfigureEndpoint(uint64 inputContext, bool deconfigure, uint8 slot) argument
2689 EvaluateContext(uint64 inputContext, uint8 slot) argument
2702 ResetEndpoint(bool preserve, uint8 endpoint, uint8 slot) argument
2718 StopEndpoint(bool suspend, uint8 endpoint, uint8 slot) argument
2734 SetTRDequeue(uint64 dequeue, uint16 stream, uint8 endpoint, uint8 slot) argument
2750 ResetDevice(uint8 slot) argument
[all...]
/haiku/headers/private/kernel/boot/
H A Ddisk_identifier.h40 uint8 slot; member in struct:disk_identifier::__anon1042::__anon1044
/haiku/src/libs/libunwind/aarch64/
H A DGtrace.c207 /* Initialise frame properties for address cache slot F at address
274 frame cache slot which describes RIP. */
290 uint64_t slot = ((pc * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); local
295 frame = &cache->frames[slot];
305 /* If slot is empty, reuse it. */
309 /* Linear probe to next slot candidate, step = 1. */
310 if (++slot >= cache_size)
311 slot -= cache_size;
315 full, force the hash to expand. Fill the selected slot, whether
318 Debug (4, "updating slot
[all...]
/haiku/src/libs/libunwind/arm/
H A DGtrace.c208 /* Initialise frame properties for address cache slot F at address
275 frame cache slot which describes RIP. */
291 uint32_t slot = ((pc * 0x9e3779b9) >> 11) & (cache_size-1); local
296 frame = &cache->frames[slot];
306 /* If slot is empty, reuse it. */
310 /* Linear probe to next slot candidate, step = 1. */
311 if (++slot >= cache_size)
312 slot -= cache_size;
316 full, force the hash to expand. Fill the selected slot, whether
319 Debug (4, "updating slot
[all...]
/haiku/src/libs/libunwind/x86_64/
H A DGtrace.c205 /* Initialise frame properties for address cache slot F at address
271 frame cache slot which describes RIP. */
287 uint64_t slot = ((rip * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); local
292 frame = &cache->frames[slot];
302 /* If slot is empty, reuse it. */
306 /* Linear probe to next slot candidate, step = 1. */
307 if (++slot >= cache_size)
308 slot -= cache_size;
312 full, force the hash to expand. Fill the selected slot, whether
315 Debug (4, "updating slot
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/ppc/openfirmware/
H A Duninorth.cpp74 uint8 bus, uint8 slot, uint8 function, uint8 offset);
186 uint8 slot, uint8 function, uint8 offset)
191 // if (pass == slot)
200 if (slot < 11)
203 cfgval = (1 << slot) | (function << 8) | (offset & 0xfc);
205 cfgval = (bus << 16) | (slot << 11) | (function << 8) |
185 uninorth_enable_config(struct uninorth_host_bridge *bridge, uint8 bus, uint8 slot, uint8 function, uint8 offset) argument
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci_pci.cpp36 #define SLOT_NUMBER "device/slot"
54 void DumpRegisters(uint8_t slot);
142 SdhciBus::DumpRegisters(uint8_t slot) argument
145 TRACE("Register values for slot %d:\n", slot);
372 uint8_t bar, slot; local
373 if (gDeviceManager->get_attr_uint8(node, SLOT_NUMBER, &slot, false) < B_OK
377 TRACE("Register SD bus at slot %d, using bar %d\n", slot + 1, bar);
392 // map the slot register
[all...]
/haiku/src/system/kernel/arch/x86/
H A Darch_user_debugger.cpp43 // maps breakpoint slot index to LEN_i LSB number
48 // maps breakpoint slot index to R/W_i LSB number
53 // maps breakpoint slot index to L_i bit number
58 // maps breakpoint slot index to G_i bit number
63 // maps breakpoint slot index to B_i bit number
283 // find a free slot
284 int32 slot = -1; local
287 slot = i;
293 if (slot >= 0) {
294 info.breakpoints[slot]
322 int32 slot = -1; local
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_tdma.c322 ts->tdma_inuse = 0; /* clear slot usage */
390 * the slot timing, reconfigure the bss, etc.
407 * is non-zero we scan the slot allocation state in the ie
408 * to locate a free slot for our use.
415 int slot, slotlen, update; local
424 printf("%s: bad slot cnt %u\n",
434 printf("%s: bad slot len %u\n",
449 slot = ts->tdma_slot;
452 * Pick unoccupied slot. Note we never choose slot
[all...]
H A Dieee80211_phy.h65 #define IEEE80211_DUR_DIFS(sifs, slot) ((sifs) + 2 * (slot))

Completed in 259 milliseconds

123