Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 55) sorted by relevance

123

/xnu-11215/libkern/zlib/
H A Dinftrees.c67 unsigned root; /* number of index bits for root table */ in inflate_table() local
137 root = *bits; in inflate_table()
140 if (root > max) root = max; in inflate_table()
152 if (root < min) root = min; in inflate_table()
227 curr = root; /* current table index bits */ in inflate_table()
230 used = 1U << root; /* use root table entries */ in inflate_table()
282 if (len > root && (huff & mask) != low) { in inflate_table()
285 drop = root; in inflate_table()
308 (*table)[low].bits = (unsigned char)root; in inflate_table()
327 len = root; in inflate_table()
[all …]
/xnu-11215/iokit/Kernel/
H A DIOStartIOKit.cpp93 IORegistryEntry * root; in iokit_post_constructor_init() local
98 root = IORegistryEntry::initialize(); in iokit_post_constructor_init()
99 assert( root ); in iokit_post_constructor_init()
115 root->setProperty( kIOKitBuildVersionKey, obj ); in iokit_post_constructor_init()
120 root->setProperty( kIOKitDiagnosticsKey, obj ); in iokit_post_constructor_init()
202 IORegistryEntry * root = IORegistryEntry::getRegistryRoot(); in IORegistrySetOSBuildVersion() local
204 if (root) { in IORegistrySetOSBuildVersion()
206 root->setProperty(kOSBuildVersionKey, build_version); in IORegistrySetOSBuildVersion()
208 root->removeProperty(kOSBuildVersionKey); in IORegistrySetOSBuildVersion()
H A DIOWorkloadConfig.cpp453 const OSDictionary *root = OSDynamicCast(OSDictionary, rootDict); in parseRoot() local
454 if (root == nullptr) { in parseRoot()
460 defaultPhase = OSDynamicCast(OSString, root->getObject(kDefaultPhaseKey)); in parseRoot()
770 OSSharedPtr<OSDictionary> root = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
773 if (root == nullptr || phaseStr == nullptr || in IOUnparseWorkloadConfig()
774 !root->setObject(kDefaultPhaseKey, phaseStr)) { in IOUnparseWorkloadConfig()
779 if (!idDict->setObject(kRootKey, root)) { in IOUnparseWorkloadConfig()
H A DIORegistryEntry.cpp1244 IORegistryEntry * root; in getPath() local
1290 root = gRegistryRoot->getChildEntry( plane ); in getPath()
1291 while (parent && (parent != root)) { in getPath()
2347 IORegistryIterator::iterateOver( IORegistryEntry * root, in iterateOver() argument
2353 if (NULL == root) { in iterateOver()
2363 root->retain(); in iterateOver()
2364 create->root = root; in iterateOver()
2366 create->start.current = root; in iterateOver()
2464 where->current = root; in reset()
2473 if (root) { in free()
[all …]
/xnu-11215/tools/lldbmacros/
H A Dsysreg.py66 root = tree.getroot()
74 ec_desc_paras = root.findall(ecxpath)
94 iss_condition = root.find(iss_condition_xpath)
98 iss_fields = root.findall(iss_fields_xpath)
H A Dscheduler.py236 root = kern.GetValueFromAddress(cmd_args[0], "struct sched_clutch_root *")
237 if not root:
240 print("{:>30s} : 0x{:<16x}".format("Root", root))
241 print("{:>30s} : 0x{:<16x}".format("Pset", root.scr_pset))
242 … print("{:>30s} : {:d}".format("Priority", (root.scr_priority if root.scr_thr_count > 0 else -1)))
243 print("{:>30s} : {:d}".format("Urgency", root.scr_urgency))
244 print("{:>30s} : {:d}".format("Threads", root.scr_thr_count))
246 …:b} (BG/UT/DF/IN/FG/FIX/NULL)".format("Runnable Root Buckets Bitmap", int(root.scr_runnable_bitmap…
/xnu-11215/tests/iokit/
H A Dioserviceusernotification_race.c31 io_registry_entry_t root = IO_OBJECT_NULL; //must release in ioclasscount() local
40 root = IORegistryGetRootEntry(kIOMainPortDefault); in ioclasscount()
41 status = IORegistryEntryCreateCFProperties(root, in ioclasscount()
99 if (root != IO_OBJECT_NULL) { in ioclasscount()
100 IOObjectRelease(root); in ioclasscount()
/xnu-11215/pexpert/gen/
H A Dpe_gen.c95 DTEntry root; in pe_init_debug() local
96 if (SecureDTLookupEntry(NULL, "/", &root) == kSuccess) { in pe_init_debug()
99 if (SecureDTGetProperty(root, "target-is-fpga", &prop, &size) == kSuccess) { in pe_init_debug()
H A Ddevice_tree.c151 skipTree(RealDTEntry root) in skipTree() argument
156 ASSERT_HEADER_IN_DT(root, sizeof(DeviceTreeNode)); in skipTree()
158 entry = skipProperties(root); in skipTree()
162 for (k = 0; k < root->nChildren; k++) { in skipTree()
/xnu-11215/bsd/miscfs/bindfs/
H A Dbind_subr.c260 …uct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root) in bind_getnewvnode() argument
281 vnfs_param.vnfs_markroot = root; in bind_getnewvnode()
307 …uct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root) in bind_nodeget() argument
334 error = bind_getnewvnode(mp, lowervp, dvp, &vp, cnp, root); in bind_nodeget()
H A Dbindfs.h132 …ct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root);
135 …ct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root);
/xnu-11215/tools/lldbmacros/core/
H A Dkernelcore.py190 def IterateSchedPriorityQueue(root, element_type, field_name): argument
203 root = root.GetSBValue()
206 root.Dereference() if root.TypeIsPointerType() else root,
212 def IterateMPSCQueue(root, element_type, field_name): argument
225 root.GetSBValue(), element_type, field_name
/xnu-11215/bsd/miscfs/nullfs/
H A Dnull_subr.c266 …uct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root) in null_getnewvnode() argument
287 vnfs_param.vnfs_markroot = root; in null_getnewvnode()
313 …uct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root) in null_nodeget() argument
340 error = null_getnewvnode(mp, lowervp, dvp, &vp, cnp, root); in null_nodeget()
H A Dnullfs.h144 …ct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root);
147 …ct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct componentname * cnp, int root);
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md28root bucket should be selected next for execution. Each root bucket with runnable threads is repre…
41root bucket transitions from non-runnable to runnable, its deadline is set to `(now + WCEL[bucket]…
57root bucket even when a higher QoS root bucket is runnable due to deadline ordering, the root buck…
118root level priority for the hierarchy in order to make decisions regarding pre-emptions and thread…
125 * Otherwise find the (non-AboveUI) highest priority root bucket that is runnable and select its hig…
126 …t priority (promoted or base pri) thread within that clutch bucket and assign that as root priority
129 * On thread insertion into the hierarchy, increment the root level urgency based on thread's sched_…
130 * On thread removal from the hierarchy, decrement the root level urgency based on thread's sched_pri
136 The root bucket priority is simply the deadline of the root bucket which is calculated by adding th…
139 root-bucket priority = now + WCEL[bucket]
[all …]
/xnu-11215/osfmk/kern/
H A Dmachine.c720 io_increase_timeouts(struct io_timeout_override *root, uintptr_t ioaddr_base, in io_increase_timeouts() argument
760 if (RB_INSERT(io_timeout_override, root, node)) { in io_increase_timeouts()
766 struct io_timeout_override_entry *prev = RB_PREV(io_timeout_override, root, node); in io_increase_timeouts()
768 RB_REMOVE(io_timeout_override, root, node); in io_increase_timeouts()
772 struct io_timeout_override_entry *next = RB_NEXT(io_timeout_override, root, node); in io_increase_timeouts()
774 RB_REMOVE(io_timeout_override, root, node); in io_increase_timeouts()
789 io_reset_timeouts(struct io_timeout_override *root, uintptr_t ioaddr_base, unsigned int size) in io_reset_timeouts() argument
797 struct io_timeout_override_entry *node = RB_FIND(io_timeout_override, root, &key); in io_reset_timeouts()
800 RB_REMOVE(io_timeout_override, root, node); in io_reset_timeouts()
817 io_override_timeout(struct io_timeout_override *root, uintptr_t addr, in io_override_timeout() argument
[all …]
/xnu-11215/bsd/net/
H A Dtrie_utility.c198 new_trie->root = trie_node_alloc(new_trie); in net_trie_init()
271 new_trie->root = 0; in net_trie_init_with_mem()
323 uint16_t current = trie->root; in net_trie_insert()
324 uint16_t child = trie->root; in net_trie_insert()
467 uint16_t current = trie->root; in net_trie_search()
H A Dtrie_utility.h78 uint16_t root; member
/xnu-11215/tools/lldbmacros/tests/
H A Dlldb_test_process.py49 logging.root.setLevel(logging.INFO)
175 logging.root.setLevel(logging.DEBUG)
/xnu-11215/iokit/IOKit/platform/
H A DAppleMacIO.h63 virtual void publishBelow( IORegistryEntry * root );
/xnu-11215/san/tools/
H A Dkasan_install11 if [[ `whoami` != root ]] ; then
/xnu-11215/bsd/dev/dtrace/scripts/
H A Ddarwin.d345 inline string root = curproc->p_fd.fd_rdir == NULL ? "/" : variable
348 #pragma D attributes Stable/Stable/Common root
349 #pragma D binding "1.0" root
/xnu-11215/libkern/libkern/
H A Dtree.h93 #define SPLAY_INITIALIZER(root) \ argument
96 #define SPLAY_INIT(root) do { \ argument
97 (root)->sph_root = NULL; \
346 #define RB_INITIALIZER(root) \ argument
349 #define RB_INIT(root) do { \ argument
350 (root)->rbh_root = NULL; \
/xnu-11215/iokit/bsddev/
H A DIOKitBSDInit.cpp675 dev_t * root, u_int32_t * oflags ) in IOFindBSDRoot() argument
812 …*root = mdevlookup(xchar); /* Find the device… in IOFindBSDRoot()
813 …if (*root >= 0) { /* Did we… in IOFindBSDRoot()
818 IOLog("BSD root: %s, major %d, minor %d\n", rootName, major(*root), minor(*root)); in IOFindBSDRoot()
991 *root = makedev( mjr, mnr ); in IOFindBSDRoot()
/xnu-11215/bsd/netinet/
H A Dflow_divert.h86 uint16_t root; member

123