Searched refs:kind (Results 1 - 19 of 19) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dnet_str_id.c82 net_str_id_first_last(u_int32_t *first, u_int32_t *last, u_int32_t kind) argument
86 switch (kind) {
90 *last = nsi_kind_next[kind] - 1;
100 u_int32_t kind, int create)
105 if (string == NULL || out_id == NULL || kind >= NSI_MAX_KIND)
131 entry->nsi_flags = (1 << kind);
133 nsi_kind_next[kind] = nsi_next_id;
135 } else if ((entry->nsi_flags & (1 << kind)) == 0) {
140 entry->nsi_flags |= (1 << kind);
141 if (entry->nsi_id >= nsi_kind_next[kind])
99 net_str_id_find_internal(const char *string, u_int32_t *out_id, u_int32_t kind, int create) argument
[all...]
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dprofile_prvd.c285 profile_create(hrtime_t interval, const char *name, int kind) argument
304 if (PROF_TICK == kind)
312 prof->prof_kind = kind;
323 int i, j, rate, kind; local
330 int kind; member in struct:__anon28
361 int kind; member in struct:__anon30
440 kind = types[i].kind;
497 profile_create(val, name, kind);
H A Ddtrace.c9443 err += efunc(i, "%d changed variable kind\n", id);
10281 dtrace_actdesc_create(dtrace_actkind_t kind, uint32_t ntuple,
10286 ASSERT(!DTRACEACT_ISPRINTFLIKE(kind) || (arg != NULL &&
10287 arg >= KERNELBASE) || (arg == NULL && kind == DTRACEACT_PRINTA));
10290 act->dtad_kind = kind;
10309 dtrace_actkind_t kind = act->dtad_kind;
10320 if (DTRACEACT_ISPRINTFLIKE(kind)) {
12892 dtrace_actkind_t kind;
12927 kind = (dtrace_actkind_t)desc->dofa_kind;
12929 if (DTRACEACT_ISPRINTFLIKE(kind)
[all...]
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeTreeOps.c261 nodeKind = ((BTNodeDescriptor*)nodeRec.buffer)->kind;
402 PanicIf ((level == 1) && (((NodeDescPtr)targetNode->buffer)->kind != kBTLeafNode), " InsertLevel: non-leaf at level 1! ");
479 PanicIf ( ((NodeDescPtr)parentNode.buffer)->kind != kBTIndexNode, " InsertLevel: parent node not an index node! ");
754 else if ( targetNodePtr->kind == kBTLeafNode ) // update firstLeafNode
772 else if ( targetNodePtr->kind == kBTLeafNode ) // update lastLeafNode
888 if ( ((NodeDescPtr)blockPtr->buffer)->kind == kBTLeafNode)
979 keyLength = GetKeyLength(btreePtr, keyPtr, (rightNode->kind == kBTLeafNode));
1144 if ( (right->height == 1) && (right->kind != kBTLeafNode) )
1155 if ( left->kind != right->kind )
[all...]
H A DBTreeMiscOps.c365 if ( ((NodeDescPtr) middle->buffer)->kind != kBTLeafNode ||
402 if ( ((NodeDescPtr) left->buffer)->kind != kBTLeafNode ||
452 if ( ((NodeDescPtr) right->buffer)->kind != kBTLeafNode ||
594 if ( nodePtr->kind != kBTLeafNode )
H A DBTreeAllocate.c418 ((NodeDescPtr)newNode.buffer)->kind = kBTMapNode;
564 if ( ((NodeDescPtr)nodePtr->buffer)->kind != kBTMapNode)
576 if ( ((NodeDescPtr)nodePtr->buffer)->kind != kBTHeaderNode)
H A DBTreeScanner.c212 if ( scanState->currentNodePtr->kind == kBTLeafNode )
H A DBTree.c510 if ( ((BTNodeDescriptor*) node.buffer)->kind == kBTLeafNode &&
717 if ( ((NodeDescPtr) node.buffer)->kind != kBTLeafNode ||
1025 if ( ((NodeDescPtr)node.buffer)->kind != kBTLeafNode ||
1318 ((NodeDescPtr)nodeRec.buffer)->kind = kBTLeafNode;
1608 if (((NodeDescPtr)nodeRec.buffer)->kind == kBTLeafNode &&
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_endian.c46 * layout of the keys and records varies depending on the kind of B-tree
153 * Check srcDesc->kind. Don't swap it because it's only one byte.
155 if (srcDesc->kind < kBTLeafNode || srcDesc->kind > kBTMapNode) {
156 printf("hfs_swap_BTNode: invalid node kind (%d)\n", srcDesc->kind);
227 if ((srcDesc->kind == kBTIndexNode) ||
228 (srcDesc-> kind == kBTLeafNode)) {
238 } else if (srcDesc-> kind == kBTMapNode) {
241 } else if (srcDesc-> kind
[all...]
H A Dhfs_btreeio.c139 if ((((BTNodeDescriptor *)block->buffer)->kind == kBTHeaderNode) &&
772 ndp->kind = kBTHeaderNode;
841 ndp->kind = kBTMapNode;
H A Dhfs_format.h719 int8_t kind; /* kind of node (leaf, index, header, map)*/ member in struct:BTNodeDescriptor
726 /* Constants for BTNodeDescriptor kind */
H A Dhfs_hotfiles.c1880 ndp->kind = kBTHeaderNode;
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOCatalogue.h220 bool serializeData(IOOptionBits kind, OSSerialize * s) const;
H A DIOHibernatePrivate.h361 vm_offset_t ppnum, vm_offset_t count, uint32_t kind);
438 // kind for hibernate_set_page_state()
/darwin-on-arm/xnu/bsd/sys/
H A Dsysctl.h299 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
302 nbr, kind|CTLFLAG_OID2, a1, a2, #name, handler, fmt, descr, SYSCTL_OID_VERSION, 0 }; \
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOCatalogue.cpp872 bool IOCatalogue::serializeData(IOOptionBits kind, OSSerialize * s) const argument
876 switch ( kind )
H A DIOHibernateIO.cpp322 vm_offset_t ppnum, vm_offset_t count, uint32_t kind)
325 switch (kind)
321 hibernate_set_page_state(hibernate_page_list_t * page_list, hibernate_page_list_t * page_list_wired, vm_offset_t ppnum, vm_offset_t count, uint32_t kind) argument
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c321 * kind kind of creation being requested
323 * Notes: Permissable values for 'kind':
353 fork1(proc_t parent_proc, thread_t *child_threadp, int kind) argument
404 switch(kind) {
649 panic("fork1 called with unknown kind %d", kind);
/darwin-on-arm/xnu/EXTERNAL_HEADERS/mach-o/
H A Dloader.h1437 uint16_t kind; /* a DICE_KIND_* value */ member in struct:data_in_code_entry

Completed in 91 milliseconds