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

/haiku-fatelf/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-fatelf/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-fatelf/src/servers/bluetooth/
H A DHCIDelegate.h45 void FreeWindow(uint8 slots) argument
/haiku-fatelf/src/add-ons/kernel/generic/dpc/
H A Ddpc.c36 dpc_slot slots[0]; member in struct:__anon2522
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-fatelf/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-fatelf/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-fatelf/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-fatelf/src/add-ons/kernel/generic/atomizer/
H A Datomizer.c51 uint32 slots; /* total number of spaces in the allocated vector */ member in struct:__anon2520
92 ad->slots = MIN_BLOCK_SIZE / sizeof(uint8 *);
342 if (ad->count == ad->slots) {
343 size_t newslots = ad->slots + (MIN_BLOCK_SIZE / sizeof(uint8 *));
350 ad->slots = newslots;
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Descp2-papers.c337 stp_mxml_node_t *slots = local
340 if (slots)
343 (stp_mxml_node_t **) &(printdef->slots);
348 stp_mxml_node_t *node = stp_mxmlFindElement(slots, slots,
351 *xnode = slots;
382 return printdef->slots;
H A Dprint-escp2.h442 stp_mxml_node_t *slots; member in struct:escp2_printer
H A Dprint-canon.c454 if( !strcmp(name,caps->slotlist->slots[i].name))
455 return &(caps->slotlist->slots[i]);
458 return &(caps->slotlist->slots[0]);
794 const canon_slot_t * canon_slot_list = caps->slotlist->slots;
H A Dcanon-media.h34 /* media slots */
45 const canon_slot_t *slots; member in struct:__anon5086
H A Dprint-lexmark.c499 int slots; /* available paperslots */ member in struct:__anon5148
/haiku-fatelf/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-fatelf/src/bin/gdb/include/
H A Dxtensa-isa-internal.h182 xtensa_slot_internal *slots; member in struct:xtensa_isa_internal_struct
/haiku-fatelf/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-fatelf/src/bin/gdb/bfd/
H A Dxtensa-isa.c600 return xtensa_opcode_lookup (isa, intisa->slots[slot_id].nop_name);
615 (*intisa->slots[slot_id].get_fn) (insn, slotbuf);
631 (*intisa->slots[slot_id].set_fn) (insn, slotbuf);
693 opc = (intisa->slots[slot_id].opcode_decode_fn) (slotbuf);
961 get_fn = intisa->slots[slot_id].get_field_fns[intop->field_id];
998 set_fn = intisa->slots[slot_id].set_field_fns[intop->field_id];
1052 intisa->slots[slot_id].get_field_fns[intop->field_id];
1054 intisa->slots[slot_id].set_field_fns[intop->field_id];
H A Dxtensa-modules.c8707 /* Instruction slots. */
9009 static xtensa_slot_internal slots[] = {
9105 3, slots,
8996 static xtensa_slot_internal slots[] = { variable
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon/
H A DCP_setup.c163 int slots = INREG( di->regs, RADEON_RBBM_STATUS ) & RADEON_RBBM_FIFOCNT_MASK; local
165 if ( slots >= entries )

Completed in 312 milliseconds