/darwin-on-arm/xnu/bsd/net/pktsched/ |
H A D | pktsched_cbq.c | 198 struct rm_class *borrow, *parent; local 232 /* Get pointers to parent and borrow classes. */ 233 parent = cbq_clh_to_clp(cbqp, parent_qid); 235 borrow = parent; 240 * A class must borrow from its parent or it can not 243 if (parent == NULL && (flags & CBQCLF_ROOTCLASS) == 0) { 244 log(LOG_ERR, "%s: %s no parent class!\n", 249 if ((borrow != parent) && (borrow != NULL)) { 250 log(LOG_ERR, "%s: %s borrow class != parent\n", 260 if (parent ! [all...] |
H A D | pktsched_rmclass.c | 196 * parent parent class pointer. 198 * borrow class to borrow from (should be either 'parent' or null). 239 struct rm_class *parent, struct rm_class *borrow, u_int32_t maxidle, 301 cl->parent_ = parent; 416 cl->next_ = parent->children_; 417 parent->children_ = cl; 418 parent->leaf_ = 0; 589 /* no change to this parent */ 626 * If the class has a parent, the 237 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int32_t nsecPerByte, void (*action)(rm_class_t *, rm_class_t *), u_int32_t qid, u_int32_t maxq, struct rm_class *parent, struct rm_class *borrow, u_int32_t maxidle, int minidle, u_int32_t offtime, int pktsize, int flags) argument [all...] |
H A D | pktsched_hfsc.c | 345 struct hfsc_class *cl = NULL, *parent; local 350 parent = NULL; 351 else if ((parent = hfsc_clh_to_clp(hif, parent_qid)) == NULL) 357 cl = hfsc_class_create(hif, rtsc, lssc, ulsc, parent, 371 struct hfsc_class *parent, u_int32_t qlimit, int flags, u_int32_t qid) 527 cl->cl_parent = parent; 584 if (parent == NULL) { 588 /* add this class to the children list of the parent */ 589 if ((p = parent->cl_children) == NULL) 590 parent 369 hfsc_class_create(struct hfsc_if *hif, struct service_curve *rsc, struct service_curve *fsc, struct service_curve *usc, struct hfsc_class *parent, u_int32_t qlimit, int flags, u_int32_t qid) argument [all...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IORegistryEntry.h | 93 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 107 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 121 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 134 @abstract Returns an registry entry's first parent entry in a plane. Available in Mac OS X 10.1 or later. 135 @discussion This function will return the parent to which a registry entry was first attached. Since the majority of registry entrys have only one provider, this is a useful simplification. 137 @result Returns the first parent of the registry entry, or zero if the entry is not attached into the registry in that plane. A reference on the entry is returned to caller, which should be released. */ 392 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 406 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 420 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 494 @abstract Returns an iterator over an registry entry's parent entrie [all...] |
H A D | IOPlatformExpert.h | 217 virtual bool createNubs( IOService * parent, OSIterator * iter );
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_exit.c | 156 static int reap_child_locked(proc_t parent, proc_t child, int deadparent, int reparentedtoinit, int locked, int droplock); 242 * to zombie, and unlink proc from allproc and parent's lists. Save exit 420 * If parent is waiting for us to exit or exec, 421 * P_LPPWAIT is set; we will wakeup the parent below. 659 panic("parent child linkage broken"); 805 * Notify parent that we're gone. 812 * If the parent is ignoring SIGCHLD, then POSIX requires 813 * us to not add the resource usage to the parent process - 820 * Add child resource usage to parent before giving 851 * no one except parent (reapin 934 reap_child_locked(proc_t parent, proc_t child, int deadparent, int reparentedtoinit, int locked, int droplock) argument 1559 proc_reparentlocked(proc_t child, proc_t parent, int cansignal, int locked) argument [all...] |
H A D | kern_newsysctl.c | 171 struct sysctl_oid_list *parent = new_oidp->oid_parent; local 240 /* First, find the highest oid in the parent list >OID_AUTO_START-1 */ 242 SLIST_FOREACH(p, parent, oid_link) { 256 * Insert the oid into the parent's list in order. 259 SLIST_FOREACH(p, parent, oid_link) { 267 SLIST_INSERT_HEAD(parent, oidp, oid_link);
|
H A D | kern_resource.c | 1104 proc_limitfork(proc_t parent, proc_t child) argument 1107 child->p_limit = parent->p_limit;
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_kern.c | 836 * parent Map to take range from 845 vm_map_t parent, 867 vm_map_min(parent) : vm_map_trunc_page(*addr); 869 kr = vm_map_enter(parent, &map_addr, map_size, 879 pmap_reference(vm_map_pmap(parent)); 880 map = vm_map_create(vm_map_pmap(parent), map_addr, map_addr + map_size, pageable); 884 kr = vm_map_submap(parent, map_addr, map_addr + map_size, map, map_addr, FALSE); 889 vm_map_remove(parent, map_addr, map_addr + map_size, VM_MAP_NO_FLAGS); 844 kmem_suballoc( vm_map_t parent, vm_offset_t *addr, vm_size_t size, boolean_t pageable, int flags, vm_map_t *new_map) argument
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | fbt.c | 262 const char *parent; local 282 * If we have a parent container, we must manually import it. 284 if ((parent = ctf_parent_name(fp)) != NULL) { 290 * is our parent. 293 if (strcmp(mp->mod_modname, parent) == 0) {
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOServicePM.cpp | 294 parent. 310 time, the parent decides to lower or raise the power state of the entire 327 state, we suggest to the parent that it lower the power domain state. 330 How a change to a lower power domain state initiated by the parent is handled: 337 -> Then we acknowledge our preparedness to our parent. When all its 344 How a change to a higher power domain state initiated by the parent is handled: 347 -> If it is different from our current state we acknowledge the parent. 348 -> When all the parent's interested parties have acknowledged, it raises 363 do but acknowledge the parent. So when the parent call 1007 IOService * parent; local 1867 IOService * parent; local 1966 IOService * parent; local 2751 IOService * parent; local 4323 IOService * parent; local 4774 IOService * parent; local [all...] |
H A D | IOService.cpp | 539 IORegistryEntry * parent = this; local 541 while( parent && (parent != root)) 542 parent = parent->getParentEntry( gIOServicePlane); 544 if( parent != root) { 771 IOService * parent; local 778 parent = (IOService *) getParentEntry( gIOServicePlane); 779 if( parent == IORegistryEntry::getRegistryRoot()) 781 parent 4595 IOService * parent; local [all...] |
H A D | IOPMrootDomain.cpp | 335 IOPMrootDomain *parent; member in class:PMSettingObject 625 of the power state provided by its parent. The driver expresses its desire by 647 the clamshell, or selecting the menu item. In this case the root's parent 969 // create our power parent 4318 IORegistryEntry * parent = child->getParentEntry(gIOPowerPlane); local 4322 if ((parent == pciHostBridgeDriver) || 4323 (parent == this)) 4332 child = parent; 4333 parent = child->getParentEntry(gIOPowerPlane); 4376 IORegistryEntry * parent local [all...] |
H A D | IOPlatformExpert.cpp | 506 multiParentMatch = true; // again we indicate a match if there is no multi-parent node 509 OSNumber * aNumber = (OSNumber *) entry->getObject ("multiple-parent"); 533 multipleParentKeyValue = (OSNumber *) entry->getObject ("multiple-parent"); 590 // also we must notify the parent of this node (if a registered service 1106 bool IODTPlatformExpert::createNubs( IOService * parent, OSIterator * iter ) argument 1118 nub->attach( parent );
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfsdefs.h | 112 devnode_t * parent; member in struct:devnode_type::__anon139
|
H A D | devfs_vnops.c | 199 * exists, lookup returns both the target and its parent directory locked. 223 * NOTE: (LOOKUP | LOCKPARENT) currently returns the parent node unlocked. 378 * parent directory before getting the requested directory. 380 * and parent directories are removed before the lock for the 916 * the source and source-parent vnodes are referenced 928 * directory was moved and the parent of the destination 1012 * parent) then the source directory must not be in the 1028 } while ((tmp = tmp->dn_typeinfo.Dir.parent) != ntmp); 1229 devnode_t * dir_p; /* devnode for parent directory */ 1319 if(dir_node->dn_typeinfo.Dir.parent) [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | fpu.c | 688 thread_t parent, 695 ppcb = THREAD_TO_PCB(parent); 713 assert(current_thread() == parent); 715 fp_save(parent); 687 fpu_dup_fxstate( thread_t parent, thread_t child) argument
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | processor.h | 118 pset_node_t parent; member in struct:pset_node
|
/darwin-on-arm/xnu/pexpert/gen/ |
H A D | device_tree.c | 116 GetFirstChild(RealDTEntry parent) argument 118 return skipProperties(parent);
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | ddp_rtmptable.c | 363 * our parent node. 391 RT_entry *rt_sortedshow(RT_entry *parent); 392 RT_entry *rt_sortedshow(RT_entry *parent) argument 396 me = parent; 398 if (parent == NULL) { 402 parent = me; 405 /* parent = parent->parent; */ 407 return (parent); [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2.c | 213 * Each dynamic rule holds a pointer to the parent ipfw rule so 215 * the parent rule is deleted. XXX we should make them survive. 1273 /* remove a refcount to the parent */ \ 1275 q->parent->count--; \ 1321 * because O_LIMIT refer to parent rules, during the first pass only 1337 * handle parent in the second pass, 1537 * (O_LIMIT). When they are created, the parent is 1539 * the third parameter is the parent rule and not the chain. 1540 * - "parent" rules for the above (O_LIMIT_PARENT). 1567 /* increase refcount on parent, an 1569 ipfw_dyn_rule *parent = (ipfw_dyn_rule *)rule; local 1681 ipfw_dyn_rule *parent; local [all...] |
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | status.c | 387 * Set the parent owner of the specified thread. 389 void thread_set_parent(thread_t parent, int pid) argument 392 iss = parent->machine.uss;
|
/darwin-on-arm/xnu/iokit/IOKit/pci/ |
H A D | IOPCIDevice.h | 75 IOPCIBridge * parent; member in class:IOPCIDevice
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_hotfiles.c | 2124 hotfile_entry_t *entry, *parent, *next; local 2126 parent = NULL; 2133 parent = entry; 2169 * the good pointer of our parent entry. 2171 if (parent == NULL) 2173 else if (parent->left == entry) 2174 parent->left = next; 2176 parent->right = next;
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit.h | 254 void audit_proc_fork(struct proc *parent, struct proc *child);
|