| /xnu-8020.101.4/doc/ |
| H A D | task_ref.md | 33 Reference groups are a feature which keep track of statistics (and when 34 configured backtrace information) for a set of references. Reference groups are 56 first-level groups are static and sub-divide task references based on the 62 groups are created) changes depending on the 'task_refgrp' boot arg. 64 Task reference groups can be explored in `lldb` as follows: 81 Display a task's reference groups: 100 Reference groups are normally disabled, but task reference group statistics 101 *are* enabled by default (for `RELEASE` builds, reference groups are not available 102 at all). Backtrace logging for all groups is disabled, including task reference 103 groups. To enable backtrace logging and reference group statistics, the `rlog` [all …]
|
| H A D | sched_clutch_edge.md | 14 In order to reason about higher level user workloads, the clutch scheduler schedules groups of thre… 66 … group within a QoS bucket should be selected next for execution. Thread groups represent a colle… 75 …scheduler to prefer highly interactive thread groups over batch processing compute intensive threa… 76 * **Thread Group Type**: In order to improve battery life, the OS classifies thread groups (via the… 86 * It allows for a fair sharing of CPU among thread groups based on their recent behavior. Since the… 87 …he scheduler is able to maintain up-to-date information about all thread groups which leads to mor… 88 * Thread groups provide a convenient abstraction for groups of threads working together for a user … 90 …h bucket. This allows the system to round robin efficiently among thread groups at the same priori… 183 … on delineating work across E-cores and P-cores. Concepts such as thread groups, asymmetric spill …
|
| H A D | startup.md | 81 - `LCK_GRP_DECLARE*`: automatically initialized lock groups,
|
| /xnu-8020.101.4/tools/tests/personas/ |
| H A D | persona_test_run_src.sh | 222 local groups=${5:- } 277 local groups=${4:- } 293 if [ "$groups" != " " ]; then 294 spawn_args+=" -G $groups" 312 if [ "$groups" == " " ]; then 315 groups="${_g// /,}" 318 validate_child_info "${TMPDIR}/$file" "$pna_id" "$uid" "$gid" "$groups" $line 352 local groups=${5:- } 378 if [ "$groups" != " " ]; then 379 spawn_args+=" -G $groups" [all …]
|
| /xnu-8020.101.4/osfmk/kern/ |
| H A D | sched_grrr.c | 454 if (rq->groups[i].count > 0) { in sched_grrr_processor_queue_has_priority() 683 runq->groups[index].minpriority = (grrr_proportional_priority_t)prisearch; in grrr_runqueue_init() 688 runq->groups[index].index = index; in grrr_runqueue_init() 690 queue_init(&runq->groups[index].clients); in grrr_runqueue_init() 691 runq->groups[index].count = 0; in grrr_runqueue_init() 692 runq->groups[index].weight = 0; in grrr_runqueue_init() 693 runq->groups[index].work = 0; in grrr_runqueue_init() 694 runq->groups[index].current_client = THREAD_NULL; in grrr_runqueue_init() 709 rq->groups[index].work >>= 3; in grrr_rescale_work() 726 group = &rq->groups[gindex]; in grrr_enqueue() [all …]
|
| H A D | sched.h | 312 struct grrr_group groups[NUM_GRRR_GROUPS]; member
|
| H A D | lock_group.c | 112 #pragma mark lock groups
|
| /xnu-8020.101.4/tests/ |
| H A D | posix_spawn_posix_cred.c | 45 gid_t groups[3] = { 501, 250, 299 }; variable 46 ret = posix_spawnattr_set_groups_np(&attr, 3, &groups, KAUTH_UID_NONE);
|
| H A D | stackshot_tests.m | 1218 T_SKIP("thread groups not supported on this system"); 1221 T_DECL(thread_groups, "test getting thread groups in stackshot") 1226 .name = "thread-groups",
|
| /xnu-8020.101.4/libkdd/kdd.xcodeproj/ |
| H A D | project.pbxproj | 96 …shot-sample-thread-groups in Resources */ = {isa = PBXBuildFile; fileRef = 1862B0321E7A083F0005ADF… 97 …-sample-thread-groups.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 1862B0331E7A083F00… 98 …t-sample-thread-groups-flags in Resources */ = {isa = PBXBuildFile; fileRef = 18C577C11F96DB5100C6… 99 …mple-thread-groups-flags.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 18C577C51F96DB7… 247 …* stackshot-sample-thread-groups */ = {isa = PBXFileReference; lastKnownFileType = file; path = "s… 248 …ot-sample-thread-groups.plist.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gzip; p… 249 …tackshot-sample-thread-groups-flags */ = {isa = PBXFileReference; lastKnownFileType = file; path =… 250 …sample-thread-groups-flags.plist.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gzip… 342 18C577C51F96DB7100C67EB3 /* stackshot-sample-thread-groups-flags.plist.gz */, 343 18C577C11F96DB5100C67EB3 /* stackshot-sample-thread-groups-flags */, [all …]
|
| /xnu-8020.101.4/bsd/sys/ |
| H A D | persona.h | 493 int persona_set_groups(struct persona *persona, gid_t *groups, size_t ngroups, uid_t gmuid); 494 int persona_get_groups(struct persona *persona, size_t *ngroups, gid_t *groups, size_t groups_sz);
|
| H A D | kauth.h | 254 extern kauth_cred_t kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, size_t groupcount, uid_t…
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | kern_persona.c | 1242 persona_set_groups(struct persona *persona, gid_t *groups, size_t ngroups, uid_t gmuid) in persona_set_groups() argument 1266 cred = kauth_cred_setgroups(cred, groups, ngroups, gmuid); in persona_set_groups() 1275 persona_get_groups(struct persona *persona, size_t *ngroups, gid_t *groups, size_t groups_sz) in persona_get_groups() argument 1278 if (!persona || !persona->pna_cred || !groups || !ngroups || groups_sz > NGROUPS) { in persona_get_groups() 1287 kauth_cred_getgroups(persona->pna_cred, groups, &kauth_ngroups); in persona_get_groups()
|
| H A D | kern_credential.c | 2110 gid_t *groups; member 2131 kauth_cred_uid2groups(uid_t *uid, gid_t *groups, size_t *gcount) in kauth_cred_uid2groups() argument 2137 supgroups.groups = groups; in kauth_cred_uid2groups() 2853 memcpy(gp->groups, ki.ki_supgrps, sizeof(gid_t) * limit); in kauth_cred_cache_lookup() 4124 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, size_t groupcount, uid_t gmuid) in kauth_cred_setgroups() argument 4142 if (pcred->cr_groups[i] != groups[i]) { in kauth_cred_setgroups() 4161 bcopy(groups, temp_pcred->cr_groups, groupcount * sizeof(temp_pcred->cr_groups[0])); in kauth_cred_setgroups()
|
| H A D | kern_exec.c | 2775 gid_t groups[NGROUPS_MAX]; in spawn_validate_persona() local 2777 if (persona_get_groups(persona, &ngroups, groups, in spawn_validate_persona() 2787 if (px_persona->pspi_groups[ngroups] != groups[ngroups]) { in spawn_validate_persona()
|
| /xnu-8020.101.4/bsd/bsm/ |
| H A D | audit_record.h | 264 token_t *au_to_groups(int *groups) 266 token_t *au_to_newgroups(uint16_t n, gid_t *groups)
|
| /xnu-8020.101.4/bsd/security/audit/ |
| H A D | audit_bsm_token.c | 316 au_to_groups(int *groups) in au_to_groups() argument 318 return au_to_newgroups(AUDIT_MAX_GROUPS, (gid_t *)groups); in au_to_groups() 327 au_to_newgroups(u_int16_t n, gid_t *groups) in au_to_newgroups() argument 345 ADD_U_INT32(dptr, groups[i]); in au_to_newgroups()
|
| /xnu-8020.101.4/bsd/nfs/ |
| H A D | nfs_subs.c | 1241 get_auxiliary_groups(kauth_cred_t cred, gid_t groups[NGROUPS], size_t count) in get_auxiliary_groups() 1248 groups[i] = -2; /* Initialize to the nobody group */ in get_auxiliary_groups() 1250 (void)kauth_cred_getgroups(cred, groups, &maxcount); in get_auxiliary_groups() 1265 if (pgid == groups[0]) { in get_auxiliary_groups() 1268 groups[i] = groups[i + 1]; in get_auxiliary_groups() 2967 gid_t groups[NGROUPS]; in nfsrv_hang_addrlist() local 2972 if (!kauth_cred_getgroups(cred, groups, &groupcount) && in nfsrv_hang_addrlist() 2976 if (groups[i] != groups2[i]) { in nfsrv_hang_addrlist()
|
| /xnu-8020.101.4/tools/lldbmacros/ |
| H A D | scheduler.py | 677 grrr_group_count = sizeof(grrr_runq.groups) // sizeof(grrr_runq.groups[0]) 679 grrr_group = addressof(grrr_runq.groups[grrr_group_i])
|
| /xnu-8020.101.4/makedefs/ |
| H A D | MakeInc.top | 111 # Target configs come in groups of three parameters. The first is the 114 # many groups of configurations as you wish. Each item passed in is
|
| /xnu-8020.101.4/bsd/man/man2/ |
| H A D | getdirentriesattr.2 | 127 These groups are then placed into the buffer, one after another.
|