Searched refs:slots (Results 1 - 14 of 14) sorted by relevance

/haiku/src/system/kernel/util/
H A DRadixBitmap.cpp91 * 3. allocate more than 32 slots won't lead to kernel panic
106 radix_bitmap_init(radix_node *node, uint32 radix, uint32 skip, uint32 slots) argument
109 int32 big_hint = radix < slots ? radix : slots;
134 if (slots >= radix) {
137 slots -= radix;
138 } else if (slots > 0) {
140 radix, next_skip - 1, slots);
141 slots = 0;
157 radix_bitmap_create(uint32 slots)
[all...]
/haiku/headers/private/kernel/util/
H A DRadixBitmap.h45 bitmap_t bitmap; // bitmap for the slots if we are a leaf
46 int32 available; // available slots under us if we are not a leaf
48 int32 big_hint; // the biggest continuous slots under us
54 radix_slot_t free_slots; // # of free slots
68 extern radix_bitmap *radix_bitmap_create(uint32 slots);
/haiku/src/servers/bluetooth/
H A DHCIDelegate.h45 void FreeWindow(uint8 slots) argument
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c36 dpc_slot slots[0]; member in struct:__anon5
37 // size * slots follow
56 dpc = queue->slots[queue->head];
69 dpc = queue->slots[queue->head];
179 queue->slots[queue->tail].function = function;
180 queue->slots[queue->tail].arg = arg;
/haiku/src/add-ons/accelerants/s3/
H A Dvirge_init.cpp20 VirgeWaitFifoGX2(uint32 slots )
22 while (((ReadReg32(SUBSYS_STAT_REG) >> 9) & 0x60) < slots) {}
28 VirgeWaitFifoMain(uint32 slots )
30 while (((ReadReg32(SUBSYS_STAT_REG) >> 8) & 0x1f) < slots) {}
H A Dsavage_init.cpp54 uint32 slots = MAXFIFO - v; local
55 while ((STATUS_WORD0 & 0x0000ffff) > slots);
62 uint32 slots = MAXFIFO - v; local
63 while ((ALT_STATUS_WORD0 & 0x001fffff) > slots);
70 uint32 slots = MAXFIFO - v; local
71 while ((ALT_STATUS_WORD0 & 0x000fffff) > slots);
H A Dtrio64_init.cpp20 WaitQueue(uint32 slots )
22 // Wait until the requested number of queue slots are available.
24 while (ReadReg16(GP_STAT) & (0x0100 >> slots)) {}
/haiku/src/add-ons/accelerants/radeon/
H A Ddriver_wrapper.c34 int slots = INREG( ai->regs, RADEON_RBBM_STATUS ) & RADEON_RBBM_FIFOCNT_MASK; local
36 if ( slots >= entries )
/haiku/src/add-ons/accelerants/ati/
H A Drage128_init.cpp65 // The FIFO has 64 slots. This routines waits until at least `entries'
66 // of these slots are empty.
70 uint32 slots = INREG(R128_GUI_STAT) & R128_GUI_FIFOCNT_MASK; local
71 if (slots >= entries)
/haiku/src/bin/rc/
H A Dparser.y834 data_t* slots = (data_t*)alloc_mem(type.count * sizeof(data_t));
835 memset(slots, 0, type.count * sizeof(data_t));
843 if (slots[k].ptr == NULL) {
844 slots[k] = cast(type.fields[k].type, data);
857 if (slots[k].ptr != NULL)
858 free_mem(slots[k].ptr);
860 slots[k] = cast(type.fields[k].type, data);
872 return slots;
877 convert_slots(type_t type, data_t* slots)
881 if (slots[
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.c643 int slots = 0; local
659 slots = 1;
663 if (!slots) {
670 slots = 2;
674 if (slots != 1)
679 slots--;
684 if (!slots) {
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwnvar.h41 struct iwn_pan_slot slots[10]; member in struct:iwn_pan_params_cmd
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A DCP_setup.c167 int slots = INREG( di->regs, RADEON_RBBM_STATUS ) & RADEON_RBBM_FIFOCNT_MASK; local
169 if ( slots >= entries )
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c1281 int slots; local
1283 for (slots = if_rxr_get(rxr, RGE_RX_LIST_CNT); slots > 0; slots--) {
1287 if_rxr_put(rxr, slots);

Completed in 426 milliseconds