Home
last modified time | relevance | path

Searched refs:P (Results 1 – 22 of 22) sorted by relevance

/xnu-10063.101.15/EXTERNAL_HEADERS/
H A Dptrcheck.h135 #define __unsafe_forge_bidi_indexable(T, P, S) \ argument
136 ((T __bidi_indexable)__builtin_unsafe_forge_bidi_indexable((P), (S)))
140 #define __unsafe_forge_single(T, P) \ argument
141 ((T __single)__builtin_unsafe_forge_single((P)))
145 #define __unsafe_forge_terminated_by(T, P, E) \ argument
146 ((T __terminated_by(E))__builtin_unsafe_forge_terminated_by((P), (E)))
150 #define __unsafe_forge_null_terminated(T, P) __unsafe_forge_terminated_by(T, P, 0) argument
174 #define __terminated_by_to_indexable(P) \ argument
175 __builtin_terminated_by_to_indexable(P)
176 #define __unsafe_terminated_by_to_indexable(P) \ argument
[all …]
/xnu-10063.101.15/bsd/dev/dtrace/scripts/
H A Ddarwin.d198 translator psinfo_t < struct proc * P > {
199 pr_nlwp = ((struct task *)(P->p_proc_ro->pr_task))->thread_count;
200 pr_pid = P->p_pid;
201 pr_ppid = P->p_ppid;
202 pr_pgid = P->p_pgrp.__smr_ptr->pg_id;
203 pr_sid = P->p_pgrp.__smr_ptr->pg_session->s_sid;
204 pr_uid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_ruid;
205 pr_euid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_uid;
206 pr_gid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_rgid;
207 pr_egid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_groups[0];
[all …]
H A Dip.d50 translator csinfo_t < struct inpcb *P > {
51 cs_addr = P;
52 ip_ver = (P != NULL) ? (((P->inp_vflag & 0x2) != 0) ? 6 : 4) : 0;
53 dport = (P != NULL) ? ntohs(P->inp_fport) : 0;
54 sport = (P != NULL) ? ntohs(P->inp_lport) : 0;
55 ip_saddr = (P != NULL) ? (((P->inp_vflag & 0x2) != 0) ?
56 inet_ntoa6(&P->inp_dependladdr.inp6_local) :
57 inet_ntoa((uint32_t *)&P->inp_dependladdr.inp46_local.ia46_addr4.s_addr)) : "<null>";
58 ip_daddr = (P != NULL) ? (((P->inp_vflag & 0x2) != 0) ?
59 inet_ntoa6(&P->inp_dependfaddr.inp6_foreign) :
[all …]
H A Dsched.d50 translator cpuinfo_t < processor_t P > {
51 cpu_id = P->cpu_id;
53 cpu_chip = P->cpu_id; /* XXX */
/xnu-10063.101.15/iokit/DriverKit/
H A Dbounded_ptr.h494 …template <typename U, typename P> friend struct bounded_ptr; // for cross-type operations and conv…
526 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
528 operator==(bounded_ptr<T, P> const& a, U* b)
533 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
535 operator==(U* a, bounded_ptr<T, P> const& b)
540 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
542 operator!=(bounded_ptr<T, P> const& a, U* b)
547 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
549 operator!=(U* a, bounded_ptr<T, P> const& b)
625 template <typename T, typename U, typename P, typename = detail::WhenOrderable<T*, U*> >
[all …]
H A Dbounded_array_ref.h271 template <typename T, typename P>
273 operator==(bounded_array_ref<T, P> const& x, bar_detail::nullptr_t)
278 template <typename T, typename P>
280 operator!=(bounded_array_ref<T, P> const& x, bar_detail::nullptr_t)
285 template <typename T, typename P>
287 operator==(bar_detail::nullptr_t, bounded_array_ref<T, P> const& x)
292 template <typename T, typename P>
294 operator!=(bar_detail::nullptr_t, bounded_array_ref<T, P> const& x)
H A Dsafe_allocation.h459 template <typename T, typename A, typename P>
461 operator==(safe_allocation<T, A, P> const& x, sa_detail::nullptr_t)
466 template <typename T, typename A, typename P>
468 operator!=(safe_allocation<T, A, P> const& x, sa_detail::nullptr_t)
473 template <typename T, typename A, typename P>
475 operator==(sa_detail::nullptr_t, safe_allocation<T, A, P> const& x)
480 template <typename T, typename A, typename P>
482 operator!=(sa_detail::nullptr_t, safe_allocation<T, A, P> const& x)
/xnu-10063.101.15/libkern/libkern/c++/
H A Dbounded_ptr.h494 …template <typename U, typename P> friend struct bounded_ptr; // for cross-type operations and conv…
526 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
528 operator==(bounded_ptr<T, P> const& a, U* b)
533 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
535 operator==(U* a, bounded_ptr<T, P> const& b)
540 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
542 operator!=(bounded_ptr<T, P> const& a, U* b)
547 template <typename T, typename P, typename U, typename = detail::WhenComparable<T*, U*> >
549 operator!=(U* a, bounded_ptr<T, P> const& b)
625 template <typename T, typename U, typename P, typename = detail::WhenOrderable<T*, U*> >
[all …]
H A Dbounded_array_ref.h271 template <typename T, typename P>
273 operator==(bounded_array_ref<T, P> const& x, bar_detail::nullptr_t)
278 template <typename T, typename P>
280 operator!=(bounded_array_ref<T, P> const& x, bar_detail::nullptr_t)
285 template <typename T, typename P>
287 operator==(bar_detail::nullptr_t, bounded_array_ref<T, P> const& x)
292 template <typename T, typename P>
294 operator!=(bar_detail::nullptr_t, bounded_array_ref<T, P> const& x)
H A Dsafe_allocation.h459 template <typename T, typename A, typename P>
461 operator==(safe_allocation<T, A, P> const& x, sa_detail::nullptr_t)
466 template <typename T, typename A, typename P>
468 operator!=(safe_allocation<T, A, P> const& x, sa_detail::nullptr_t)
473 template <typename T, typename A, typename P>
475 operator==(sa_detail::nullptr_t, safe_allocation<T, A, P> const& x)
480 template <typename T, typename A, typename P>
482 operator!=(sa_detail::nullptr_t, safe_allocation<T, A, P> const& x)
/xnu-10063.101.15/bsd/sys/
H A Dcdefs.h1121 #define __unsafe_forge_bidi_indexable(T, P, S) ((T)(P)) argument
1122 #define __unsafe_forge_single(T, P) ((T)(P)) argument
1123 #define __unsafe_forge_terminated_by(T, P, E) ((T)(P)) argument
1124 #define __unsafe_forge_null_terminated(T, P) ((T)(P)) argument
1125 #define __terminated_by_to_indexable(P) (P) argument
1126 #define __unsafe_terminated_by_to_indexable(P) (P) argument
1127 #define __null_terminated_to_indexable(P) (P) argument
1128 #define __unsafe_null_terminated_to_indexable(P) (P) argument
1129 #define __unsafe_terminated_by_from_indexable(T, P, ...) (P) argument
1130 #define __unsafe_null_terminated_from_indexable(P, ...) (P) argument
/xnu-10063.101.15/libkern/os/
H A Dalloc_util.h48 #define os_is_ptr_like(P) (__builtin_classify_type(P) == 5) argument
50 #define os_is_ptr_like(P) (sizeof(P) == sizeof(void *)) argument
/xnu-10063.101.15/EXTERNAL_HEADERS/CoreTrust/
H A DCTConfig.h32 #define __unsafe_forge_bidi_indexable(T, P, S) ((T)(P)) argument
33 #define __unsafe_forge_single(T, P) ((T)(P)) argument
/xnu-10063.101.15/tools/
H A Dsyscall_map.lua32 local identifier = (lpeg.alnum + lpeg.P('_'))^1
36 local function_ptn = lpeg.Cg(identifier^1, 'name') * lpeg.P('(')
37 local nosys_ptn = lpeg.P('e')^-1 * lpeg.P('nosys(')
41 local args_ptn = lpeg.Ct(arg * (lpeg.P(',') * space * arg)^0)
48 local old_ptn = lpeg.P('old') * space * lpeg.Cg(identifier^1, 'name') *
H A Dentropy_health_test_bounds.py33 P = INV2 ** H variable
93 return comb(W, k) * P**k * (1 - P)**(W-k)
/xnu-10063.101.15/EXTERNAL_HEADERS/corecrypto/
H A Dcc_config.h769 #define cc_unsafe_forge_bidi_indexable(P, S) __builtin_unsafe_forge_bidi_indexable(P, S) argument
770 #define cc_unsafe_forge_single(P) __builtin_unsafe_forge_single(P) argument
784 #define cc_unsafe_forge_bidi_indexable(P, S) (P) argument
785 #define cc_unsafe_forge_single(P) (P) argument
/xnu-10063.101.15/bsd/net/
H A Dstrict_type_cnv_private.h140 #define __STC_CONVERT_INDEXABLE_PTR_TO(T, P) \ argument
141 __unsafe_forge_bidi_indexable(T, (P), __ptr_upper_bound((P)) - (P));
146 #define __STC_CONVERT_INDEXABLE_PTR_TO(T, P) ((T)(P)) argument
/xnu-10063.101.15/doc/observability/
H A Drecount.md31 | `TASK_INSPECT_BASIC_COUNTS` | task | task inspect | P | | ✓ | | …
32 | `THREAD_BASIC_INFO` | thread | thread port | P | ✓ | | | …
41 | `stackshot` | task/thread | all | P | ✓ | ✓ | | ✓² …
45 - Under Tests, "F" is functional and "P" is performance.
47 - ² These return overall totals and hard-code a separate, P-core-only value.
/xnu-10063.101.15/doc/building/
H A Dxnu_build_consolidation.md61 * On all P-cores or all E-cores.
140 generation. These are named after the P-CORE introduced by each (for example, `APPLEMONSOON`, or
/xnu-10063.101.15/bsd/dev/i386/
H A Ddis_tables.c138 P, enumerator
2256 /* [E,4] */ TNS("inb",P), TS("in",P), TNS("outb",P), TS("out",P),
4646 case P: in dtrace_disx86()
/xnu-10063.101.15/makedefs/
H A DMakeInc.def777 # memory as part of the V-to-P mapping.
/xnu-10063.101.15/doc/scheduler/
H A Dsched_clutch_edge.md182 …ned, much of the emphasis was placed on delineating work across E-cores and P-cores. Concepts such…