Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 27) sorted by relevance

12

/xnu-11215/bsd/kern/
H A Dprocess_policy.c111 int scope = uap->scope; in process_policy() local
127 if ((scope != PROC_POLICY_SCOPE_PROCESS) && (scope != PROC_POLICY_SCOPE_THREAD)) { in process_policy()
366 handle_applifecycle(__unused int scope, in handle_applifecycle() argument
443 handle_apptype( int scope, in handle_apptype() argument
453 if (scope != PROC_POLICY_SCOPE_PROCESS) { in handle_apptype()
504 handle_boost(int scope, in handle_boost() argument
516 if (scope != PROC_POLICY_SCOPE_PROCESS) { in handle_boost()
580 if (scope == PROC_POLICY_SCOPE_PROCESS) { in handle_no_smt()
585 } else if (scope == PROC_POLICY_SCOPE_THREAD) { in handle_no_smt()
604 if (scope == PROC_POLICY_SCOPE_PROCESS) { in handle_tecs()
[all …]
H A Dkern_authorization.c249 kauth_deregister_scope(kauth_scope_t scope) in kauth_deregister_scope() argument
255 TAILQ_REMOVE(&kauth_scopes, scope, ks_link); in kauth_deregister_scope()
261 scope->ks_listeners[i].kll_listenerp = NULL; in kauth_deregister_scope()
269 kfree_type(struct kauth_scope, scope); in kauth_deregister_scope()
378 if (scope->ks_callback != NULL) { in kauth_authorize_action()
379 result = scope->ks_callback(credential, scope->ks_idata, action, arg0, arg1, arg2, arg3); in kauth_authorize_action()
385 if ((scope->ks_flags & KS_F_HAS_LISTENERS) != 0) { in kauth_authorize_action()
398 ret = scope->ks_listeners[i].kll_callback( in kauth_authorize_action()
399 credential, scope->ks_listeners[i].kll_idata, in kauth_authorize_action()
428 kauth_scope_valid(kauth_scope_t scope)
[all …]
H A Dkern_resource.c1990 switch (scope) { in iopolicysys_disk()
2110 switch (scope) { in iopolicysys_vfs_hfs_case_sensitivity()
2212 switch (scope) { in iopolicysys_vfs_atime_updates()
2319 switch (scope) { in iopolicysys_vfs_materialize_dataless_files()
2377 switch (scope) { in iopolicysys_vfs_statfs_no_data_volume()
2447 switch (scope) { in iopolicysys_vfs_trigger_resolve()
2507 switch (scope) { in iopolicysys_vfs_ignore_content_protection()
2578 switch (scope) { in iopolicysys_vfs_ignore_node_permissions()
2664 switch (scope) { in iopolicysys_vfs_skip_mtime_update()
2726 switch (scope) { in iopolicysys_vfs_allow_lowspace_writes()
[all …]
/xnu-11215/bsd/netinet6/
H A Dscope6.c125 int scope; in in6_addrscope() local
128 scope = addr->s6_addr8[1] & 0xc0; in in6_addrscope()
130 switch (scope) { in in6_addrscope()
141 scope = addr->s6_addr8[1] & 0x0f; in in6_addrscope()
147 switch (scope) { in in6_addrscope()
178 int scope = in6_addrscope(addr); in in6_addr2scopeid() local
187 switch (scope) { in in6_addr2scopeid()
389 int scope; in in6_setscope() local
408 scope = in6_addrscope(in6); in in6_setscope()
419 switch (scope) { in in6_setscope()
H A Din6_src.c1095 unsigned int scope = ifscope; in selectroute() local
1109 if (scope == IFSCOPE_NONE) { in selectroute()
1110 scope = rt_ifp->if_index; in selectroute()
1111 if (scope != get_primary_ifscope(AF_INET6) && in selectroute()
1113 scope = get_primary_ifscope(AF_INET6); in selectroute()
1118 ifa_foraddr6_scoped(&srcsock->sin6_addr, scope); in selectroute()
1141 scope, if_name(ifa->ifa_ifp), in selectroute()
1146 s_src, s_dst, ifscope, scope, in selectroute()
H A Dnd6_rtr.c1279 uint16_t *scope = &dr0.rtaddr.s6_addr16[1]; in defrtrlist_ioctl() local
1281 if (*scope == 0) { in defrtrlist_ioctl()
1282 *scope = htons(dr_ifp->if_index); in defrtrlist_ioctl()
1283 } else if (*scope != htons(dr_ifp->if_index)) { in defrtrlist_ioctl()
/xnu-11215/libsyscall/wrappers/
H A Dgetiopolicy_np.c31 getiopolicy_np(int iotype, int scope) in getiopolicy_np() argument
38 iop_param.iop_scope = scope; in getiopolicy_np()
54 setiopolicy_np(int iotype, int scope, int policy) in setiopolicy_np() argument
59 iop_param.iop_scope = scope; in setiopolicy_np()
/xnu-11215/pexpert/gen/
H A Ddevice_tree.c524 newScope->scope = iter->currentScope; in SecureDTEnterEntry()
546 iter->currentScope = newScope->scope; in SecureDTExitEntry()
582 DTSavedScopePtr scope; in SecureDTRestartEntryIteration()
585 while ((scope = iter->savedScope) != NULL) { in SecureDTRestartEntryIteration()
586 iter->savedScope = scope->nextScope; in SecureDTRestartEntryIteration()
587 kfree_type(struct DTSavedScope, scope); in SecureDTRestartEntryIteration()
/xnu-11215/osfmk/kern/
H A Denergy_perf.c47 gpu_accumulate_time(__unused uint32_t scope, __unused uint32_t gpu_id, __unused uint32_t gpu_domain… in gpu_accumulate_time() argument
49 …KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_ENERGY_PERF, 2), scope, gpu_id, gpu_domain, gpu_accumu… in gpu_accumulate_time()
H A Dtask_policy.c2479 int scope; in proc_get_task_ruse_cpu() local
2490 if (scope == TASK_RUSECPU_FLAGS_PERTHR_LIMIT) { in proc_get_task_ruse_cpu()
2591 int scope; in proc_set_task_ruse_cpu() local
2603 scope = TASK_RUSECPU_FLAGS_PROC_LIMIT; in proc_set_task_ruse_cpu()
2611 scope = TASK_RUSECPU_FLAGS_DEADLINE; in proc_set_task_ruse_cpu()
2617 scope = TASK_RUSECPU_FLAGS_PERTHR_LIMIT; in proc_set_task_ruse_cpu()
2742 *scope = TASK_RUSECPU_FLAGS_PERTHR_LIMIT; in task_get_cpuusage()
2746 *scope = TASK_RUSECPU_FLAGS_PROC_LIMIT; in task_get_cpuusage()
2750 *scope = TASK_RUSECPU_FLAGS_DEADLINE; in task_get_cpuusage()
2753 *scope = 0; in task_get_cpuusage()
[all …]
H A Dexclaves_resource.c376 exclaves_resource_domain_alloc(const char *scope) in exclaves_resource_domain_alloc() argument
378 assert3u(strlen(scope), >, 0); in exclaves_resource_domain_alloc()
379 assert3u(strlen(scope), <=, EXCLAVES_RESOURCE_NAME_MAX); in exclaves_resource_domain_alloc()
383 (void) strlcpy(domain->d_name, scope, in exclaves_resource_domain_alloc()
398 table_put(&root_table, scope, strlen(scope), item); in exclaves_resource_domain_alloc()
539 ^(const char *name, const char *scope, in exclaves_resource_init()
545 exclaves_resource_domain_t *domain = lookup_domain(scope); in exclaves_resource_init()
547 domain = exclaves_resource_domain_alloc(scope); in exclaves_resource_init()
H A Denergy_perf.h63 uint64_t gpu_accumulate_time(uint32_t scope, uint32_t gpu_id, uint32_t gpu_domain, uint64_t gpu_acc…
H A Dexclaves_log.c204 uuidstr, signpost->fmtOffset, signpost->nameOffset, signpost->type, signpost->scope); in replay_redacted_signpost()
/xnu-11215/bsd/sys/
H A Dresourcevar.h138 int iopolicysys_vfs_materialize_dataless_files(struct proc *p, int cmd, int scope,
H A Dprocess_policy.h209 int process_policy(int scope, int action, int policy, int policy_subtype, proc_policy_attribute_t *…
/xnu-11215/pexpert/pexpert/
H A Ddevice_tree.h94 RealDTEntry scope; member
/xnu-11215/bsd/netinet/
H A Dip_output.c3130 unsigned int scope = ifscope; in in_selectsrcif() local
3141 if (scope == IFSCOPE_NONE) { in in_selectsrcif()
3142 scope = rt_ifp->if_index; in in_selectsrcif()
3143 if (scope != get_primary_ifscope(AF_INET) && in in_selectsrcif()
3145 scope = get_primary_ifscope(AF_INET); in in_selectsrcif()
3149 ifa = (struct ifaddr *)ifa_foraddr_scoped(src.s_addr, scope); in in_selectsrcif()
3171 scope, if_name(ifa->ifa_ifp), in in_selectsrcif()
3175 s_src, s_dst, ifscope, scope, in in_selectsrcif()
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c1388 uint32_t scope = ifp->if_index; in _flow_route_laddr_validate() local
1397 src_ip._v4.s_addr, scope); in _flow_route_laddr_validate()
1402 src_ip._v6.s6_addr16[1] = htons((uint16_t)scope); in _flow_route_laddr_validate()
1405 scope); in _flow_route_laddr_validate()
/xnu-11215/doc/lifecycle/
H A Dhibernation.md11 works in XNU; a detailed discussion of S2R is beyond the scope of this
244 file. The details of this lifecycle are beyond the scope of this document, but
259 details for how this key is derived and used are beyond the scope of this
/xnu-11215/tools/lldbmacros/
H A Dkasan.py643 scope = 2 * self._sm.granule_size * (
645 print_area = self._sm.iterator(base, scope)
/xnu-11215/libsyscall/wrappers/libproc/
H A Dlibproc.c42 int __process_policy(int scope, int action, int policy, int policy_subtype, proc_policy_attribute_t…
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md19 scope of this document only includes XNU. In cases where KEXTs also differ across targets, or perha…
/xnu-11215/bsd/net/
H A Dif.c976 ifa_foraddr_scoped(unsigned int addr, unsigned int scope) in ifa_foraddr_scoped() argument
984 (scope == IFSCOPE_NONE || ia->ia_ifp->if_index == scope)) { in ifa_foraddr_scoped()
1005 ifa_foraddr6_scoped(struct in6_addr *addr6, unsigned int scope) in ifa_foraddr6_scoped() argument
1013 (scope == IFSCOPE_NONE || ia->ia_ifp->if_index == scope)) { in ifa_foraddr6_scoped()
/xnu-11215/
H A DAPPLE_LICENSE154 Externally Deploy Your Modifications of the same scope and extent as
171 rights consistent with the scope of the license granted herein
/xnu-11215/bsd/dev/dtrace/
H A Ddtrace.c983 uint8_t scope; in dtrace_canstore_statvar() local
989 scope = svar->dtsv_var.dtdv_scope; in dtrace_canstore_statvar()
10401 uchar_t scope; in dtrace_difo_chunksize() local
10416 scope = DIFV_SCOPE_THREAD; in dtrace_difo_chunksize()
10429 scope = DIFV_SCOPE_THREAD; in dtrace_difo_chunksize()
10431 scope = DIFV_SCOPE_GLOBAL; in dtrace_difo_chunksize()
10502 if (v->dtdv_id == id && v->dtdv_scope == scope) { in dtrace_difo_chunksize()
10549 uint8_t scope = v->dtdv_scope; in dtrace_difo_init() local
10557 switch (scope) { in dtrace_difo_init()
10705 uint8_t scope = v->dtdv_scope; in dtrace_difo_destroy() local
[all …]

12