| /xnu-11215/bsd/dev/i386/ |
| H A D | instr_size.c | 81 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) in dtrace_dis_isize() argument 87 mode = (model == DATAMODEL_LP64) ? SIZE64 : SIZE32; in dtrace_dis_isize() 107 dtrace_instr_size_isa(uchar_t *instr, model_t model, int *rmindex) in dtrace_instr_size_isa() argument 109 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, model, rmindex)); in dtrace_instr_size_isa()
|
| H A D | sysctl.c | 407 SYSCTL_PROC(_machdep_cpu, OID_AUTO, model, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_LOCKED,
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_prot.c | 712 ^bool (kauth_cred_t parent, kauth_cred_t model) { in setuid() 754 return kauth_cred_model_setresuid(model, in setuid() 796 ^bool (kauth_cred_t parent, kauth_cred_t model) { in seteuid() 810 return kauth_cred_model_setresuid(model, in seteuid() 873 ^bool (kauth_cred_t parent, kauth_cred_t model) { in setreuid() 914 return kauth_cred_model_setresuid(model, want_ruid, want_euid, in setreuid() 963 ^bool (kauth_cred_t parent, kauth_cred_t model) { in setgid() 1029 ^bool (kauth_cred_t parent, kauth_cred_t model) { in setegid() 1044 return kauth_cred_model_setresgid(model, KAUTH_GID_NONE, in setegid() 1110 ^bool (kauth_cred_t parent, kauth_cred_t model) { in setregid() [all …]
|
| H A D | kern_credential.c | 3828 struct ucred model = { in posix_cred_create_internal() local 3877 mac_cred_label_init(&model); in posix_cred_create_internal() 3909 struct ucred model = { in kauth_cred_derive() local 3915 if (derive_fn(cred, &model)) { in kauth_cred_derive() 4004 kauth_cred_t model, in kauth_cred_model_setresuid() argument 4065 kauth_cred_t model, in kauth_cred_model_setresgid() argument 4277 model->cr_posix = pcred; in kauth_cred_model_setuidgid() 4298 if (memcmp(&model->cr_audit, auditinfo_p, sizeof(model->cr_audit)) != 0) { in kauth_cred_model_setauditinfo() 4315 mac_cred_label_init(model); in kauth_cred_label_update() 4330 mac_cred_label_init(model); in kauth_proc_label_update() [all …]
|
| H A D | kern_exec.c | 3298 kauth_cred_t model, in kauth_cred_model_setpersona() argument 3304 updated |= kauth_cred_model_setresuid(model, in kauth_cred_model_setpersona() 3312 updated |= kauth_cred_model_setresgid(model, in kauth_cred_model_setpersona() 3319 updated |= kauth_cred_model_setgroups(model, in kauth_cred_model_setpersona() 3344 return kauth_cred_model_setpersona(model, px_persona); in spawn_persona_adopt() 4186 ^bool (kauth_cred_t parent __unused, kauth_cred_t model){ in posix_spawn() 4187 return kauth_cred_model_setuidgid(model, in posix_spawn() 6756 return kauth_cred_model_setresuid(model, in exec_handle_sugid() 6767 return kauth_cred_model_setresgid(model, in exec_handle_sugid() 6945 ^bool (kauth_cred_t parent __unused, kauth_cred_t model) { in exec_handle_sugid() [all …]
|
| H A D | kern_mib.c | 1014 SYSCTL_PROC(_hw, HW_MODEL, model, CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, 0,…
|
| /xnu-11215/osfmk/i386/ |
| H A D | machine_check.c | 90 uint32_t model = cpuid_info()->cpuid_model; in mca_get_availability() local 94 ((model == CPUID_MODEL_HASWELL && stepping < 3) || in mca_get_availability() 95 (model == CPUID_MODEL_HASWELL_ULT && stepping < 1) || in mca_get_availability() 96 (model == CPUID_MODEL_CRYSTALWELL && stepping < 1))) { in mca_get_availability()
|
| /xnu-11215/bsd/sys/ |
| H A D | kauth.h | 505 typedef bool (^kauth_cred_derive_t)(kauth_cred_t parent, kauth_cred_t model); 532 extern bool kauth_cred_model_setresuid(kauth_cred_t model, uid_t ruid, uid_t euid, uid_t sv… 533 extern bool kauth_cred_model_setresgid(kauth_cred_t model, gid_t rgid, gid_t egid, gid_t sv… 534 extern bool kauth_cred_model_setuidgid(kauth_cred_t model, uid_t uid, gid_t gid); 535 extern bool kauth_cred_model_setgroups(kauth_cred_t model, gid_t *groups, size_t groupcount… 536 extern bool kauth_cred_model_setauditinfo(kauth_cred_t model, au_session_t *);
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | IOPMPowerSource.h | 258 OSSymbol *model(void);
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit_session.c | 1194 ^bool (kauth_cred_t parent __unused, kauth_cred_t model) { in audit_session_setaia() 1195 return kauth_cred_model_setauditinfo(model, asp); in audit_session_setaia() 1414 ^bool (kauth_cred_t parent __unused, kauth_cred_t model) { in audit_session_join_internal() 1417 old_aia_p = model->cr_audit.as_aia_p; in audit_session_join_internal() 1427 return kauth_cred_model_setauditinfo(model, &new_as); in audit_session_join_internal()
|
| /xnu-11215/san/memory/ |
| H A D | kasan.c | 429 SYSCTL_STRING(_kern_kasan, OID_AUTO, model, CTLFLAG_RD, KASAN_MODEL_STR, 0, "");
|
| /xnu-11215/doc/primitives/ |
| H A D | atomics.md | 14 the [C11 memory model](https://en.cppreference.com/w/c/atomic/memory_order) 16 model. 39 While the C11 memory model has likely been one of the most important additions
|
| H A D | string-handling.md | 72 such assumption, this mental model isn't entirely adopted by many users. For
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOPMPowerSource.cpp | 569 IOPMPowerSource::model(void) in model() function in IOPMPowerSource
|
| /xnu-11215/doc/scheduler/ |
| H A D | sched_clutch_edge.md | 7 …model based on priority decay to penalize threads as they use CPU to achieve fairshare and starvat… 16 …vidual threads. Breaking away from the traditional single-tier scheduling model, it implements a h… 55 …imeshare bucket will eventually drop in priority as it consumes CPU, this model provides the desir… 95 …ch uses load & CPU usage to decay priority for a thread. The thread decay model is more suited at …
|
| /xnu-11215/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_poll.c | 56 struct ifnet_model_params p = { .model = mode, .reserved = { 0 } }; in nx_netif_rxpoll_set_mode()
|
| /xnu-11215/bsd/net/pktsched/ |
| H A D | pktsched_netem.c | 1491 netem_model_str(netem_model_t model) in netem_model_str() argument 1493 switch (model) { in netem_model_str()
|
| /xnu-11215/bsd/miscfs/nullfs/ |
| H A D | null_vnops.c | 131 ^bool (kauth_cred_t parent __unused, kauth_cred_t model) { in nullfs_get_patched_context() 132 return kauth_cred_model_setuidgid(model, in nullfs_get_patched_context()
|
| /xnu-11215/bsd/net/ |
| H A D | kpi_interface.h | 877 ifnet_model_t model; member 1468 u_int32_t model);
|
| H A D | dlil.c | 3283 .model = mode, .reserved = { 0 } in dlil_rxpoll_input_thread_cont() 4712 ifnet_set_output_sched_model(struct ifnet *ifp, u_int32_t model) in ifnet_set_output_sched_model() argument 4718 if (ifp == NULL || model >= IFNET_SCHED_MODEL_MAX) { in ifnet_set_output_sched_model() 4727 ifp->if_output_sched_model = model; in ifnet_set_output_sched_model()
|
| /xnu-11215/doc/allocators/ |
| H A D | api-basics.md | 107 The typed allocators assume that allocated types fit a very precise model. 108 If the allocations you perform do not fit the model, then your types
|