Searched refs:current (Results 1 - 18 of 18) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dinit.c86 struct init_list_entry *current = 0; local
98 current = backward_head;
99 backward_head = current->next;
100 current->next = forward_head;
101 forward_head = current;
106 current = forward_head;
107 forward_head = current->next;
108 current->func();
109 kfree(current, sizeof(*current));
[all...]
H A Dether_if_module.c150 u_int32_t current = 0; local
156 for (current = desc_blk->n_max_used; current > 0; current--) {
157 if (desc_blk->block_ptr[current - 1].protocol_family ==
160 desc_blk->block_ptr[current - 1].type = 0;
H A Dif_bond.c1347 struct mbuf * current; local
1353 current = S_mbuf_skip_to_offset(m, &offset);
1354 if (current == NULL) {
1357 current_data = mtod(current, u_char *) + offset;
1358 space_current = current->m_len - offset;
1363 next = current->m_next;
1875 /* remember the current interface MTU so it can be restored */
2006 /* make sure this interface can handle our current MTU */
/xnu-2422.115.4/osfmk/kern/
H A Dcall_entry.h110 call_entry_t current; local
114 current = CE(queue_first(queue));
117 current = CE(queue_first(queue));
119 current = CE(queue_next(qe(entry)));
124 if (queue_end(queue, qe(current)) ||
125 deadline < current->deadline) {
126 current = CE(queue_prev(qe(current)));
130 current = CE(queue_next(qe(current)));
[all...]
/xnu-2422.115.4/osfmk/i386/
H A Dpmap_common.c72 unsigned int current, template = 0; local
100 current = pmap_phys_attributes[pai] & PHYS_CACHEABILITY_MASK;
106 if ((template & PHYS_NCACHE) && !(current & PHYS_NCACHE)) {
H A Di386_lock.s127 #define CHECK_UNLOCK(current, owner) \
128 cmp current, owner ; \
187 #define CHECK_MYLOCK(current, owner) \
188 cmp current, owner ; \
750 * the current rw_shared_count == 1
1133 * parameter: either the lock is held by the current thread, and the
1141 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG /* Load current thread */
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_sfb.h74 u_int32_t current; member in struct:sfb_stats
124 /* B[L][N] bins (2 sets: current and warm-up) */
125 u_int32_t sfb_current; /* current set (0 or 1) */
128 /* Flow control lists for current set */
H A Dclassq_sfb.c89 * for the current and warm-up sets (section 4.4. in the SFB paper regarding
189 /* Place the flow control entries in current bin on level 0 */
544 sps->current = sp->sfb_current;
575 s = (sp->sfb_current ^= 1); /* flip the bit (swap current) */
578 log(LOG_DEBUG, "%s: SFB qid=%d, set %d is now current, "
582 /* clear freezetime for all current bins */
596 cbin = SFB_BINST(sp, j, i, s); /* current */
627 * For current bins, returns 1 if all pmark >= SFB_PMARK_TH,
659 /* If minimum pmark of current bins is < SFB_PMARK_TH, we're done */
766 * Update current bin
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Dflow_divert.c662 uint16_t current = trie->root; local
669 uint16_t parent = current;
673 current = child;
676 current_end = TRIE_NODE(trie, current).start + TRIE_NODE(trie, current).length;
678 for (node_idx = TRIE_NODE(trie, current).start;
686 if (node_idx < (TRIE_NODE(trie, current).start + TRIE_NODE(trie, current).length)) {
688 * We did not reach the end of the current node's string.
689 * We need to split the current nod
775 uint16_t current = trie->root; local
[all...]
/xnu-2422.115.4/iokit/Kernel/
H A DIORegistryEntry.cpp545 // If we are inserting a collection class and the current entry
1871 create->start.current = root;
1922 where->current = prev->current;
1939 if( where->current)// && (where != &start))
1940 where->current->release();
1963 where->current = root;
1988 && where->current
1990 where->current->getParentSetReference( plane ) :
1991 where->current
[all...]
H A DIOService.cpp1075 // this whole lock (ie. current thread) -> deadlock
1588 // wait for all threads, other than the current one,
3600 OSObject * current = 0; local
3626 current = service;
3629 current = OSSet::withObjects((const OSObject **) &service, 1, 1 );
3654 current = ctx.result;
3657 if (current && (ctx.done != ctx.count))
3660 source = OSDynamicCast(OSSet, current);
3661 current = 0;
3669 current
[all...]
/xnu-2422.115.4/osfmk/vm/
H A Dvm_map.c376 * stack or data area and the current architecture.
562 /* map this memory object in place of the current one */
1586 * Note that the current implementation only supports
3095 * allocations of >4GB, but not with the current
3731 * otherwise, only the current protection is affected.
3741 register vm_map_entry_t current; local
3785 current = entry;
3786 prev = current->vme_start;
3787 while ((current != vm_map_to_entry(map)) &&
3788 (current
[all...]
H A Dmemory_object.c589 * the current offset
931 * more pathological cases in a more efficient manner. The current
960 * try to fit it into a current extent
978 * didn't find a current extent that can encompass
1721 * Retrieve the current value.
1738 * Retrieve the current value,
1818 memory_object_default_t current; local
1821 current = memory_manager_default;
1822 if (current == MEMORY_OBJECT_DEFAULT_NULL) {
/xnu-2422.115.4/bsd/kern/
H A Dsys_pipe.c227 static int choose_pipespace(unsigned long current, unsigned long expected);
324 * returns the size which matches max(current,expected)
327 choose_pipespace(unsigned long current, unsigned long expected) argument
332 if (expected > current)
335 target = current;
348 * and then free the old buffer once the current buffered
549 * Return a relatively unique inode number based on the current
576 * Return a relatively unique inode number based on the current
/xnu-2422.115.4/iokit/IOKit/
H A DIORegistryEntry.h238 @discussion This method provides an accessor to the current generation count (or seed) of the registry which changes when any topology change occurs in the registry - this does not include property table changes. It may be used to invalidate any caching of the results from IORegistryEntry methods.
268 @discussion This method will release the current property table of a the entry and replace it with another, retaining the new property table.
847 IORegistryEntry * current; member in struct:IORegistryIterator::IORegCursor
884 @discussion This method calls either getNextObjectFlat or getNextObjectRecursive depending on the options the iterator was created with. This implements the OSIterator defined getNextObject method. The object returned is retained while the iterator is pointing at it (its the current entry), or recursing into it. The caller should not release it.
885 @result The next registry entry in the iteration (the current entry), or zero if the iteration has finished at this level of recursion. The entry returned is retained while the iterator is pointing at it (its the current entry), or recursing into it. The caller should not release it. */
891 @discussion This method returns the next child, or parent if the kIORegistryIterateParents option was used to create the iterator, of the current root entry. The object returned is retained while the iterator is pointing at it (its the current entry), or recursing into it. The caller should not release it.
892 @result The next registry entry in the iteration (the current entry), or zero if the iteration has finished at this level of recursion, or the iteration is invalid (see isValid). The entry returned is retained while the iterator is pointing at it (its the current entr
[all...]
/xnu-2422.115.4/tools/lldbmacros/
H A Dmemory.py256 current = Cast(zfirst, 'void *')
259 znext = dereference(Cast(current, 'vm_offset_t *'))
260 backup_ptr = kern.GetValueFromAddress((unsigned(Cast(current, 'vm_offset_t')) + unsigned(zone.elem_size) - sizeof('vm_offset_t')), 'vm_offset_t *')
272 ShowZfreeList.elts_found, unsigned(current), unsigned(znext), unsigned(backup_val), n_unobfuscated, p_unobfuscated, poison_str)
275 current = Cast(znext, 'void *')
880 print hdr_format.format('', '', '', '(pages)', '(pages)', '(pages)', '(pages)', '(pages)', '(pages)', '(pages)', '(pages)', '(current)', '(peak)', '(lifetime)', '')
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c244 static dtrace_genid_t dtrace_probegen; /* current probe generation */
247 static dtrace_genid_t dtrace_retained_gen; /* current retained enab gen */
2454 dtrace_speculation_state_t current;
2460 current = spec->dtsp_state;
2462 if (current != DTRACESPEC_INACTIVE) {
2463 if (current == DTRACESPEC_COMMITTINGMANY ||
2464 current == DTRACESPEC_COMMITTING ||
2465 current == DTRACESPEC_DISCARDING)
2472 current, DTRACESPEC_ACTIVE) == current)
[all...]
/xnu-2422.115.4/osfmk/console/
H A Dvideo_console.c1410 } current; /* current place in rendered font, multiple types. */ local
1411 unsigned char *theChar; /* current char in iso_font */
1414 current.charptr = renderptr;
1422 *current.charptr++ = (*theChar & mask) ? 0xFF : 0;
1425 *current.shortptr++ = (*theChar & mask) ? 0xFFFF : 0;
1430 *current.longptr++ = (*theChar & mask) ? 0xFFFFFFFF : 0;

Completed in 267 milliseconds