| /xnu-11215/tests/ |
| H A D | net_vlan.c | 210 network_interface_t two, in test_traffic_for_network_interfaces() argument 216 one->if_name, two->if_name); in test_traffic_for_network_interfaces() 220 server.v6 = two->ip6; in test_traffic_for_network_interfaces() 223 two->if_name, two->if_index); in test_traffic_for_network_interfaces() 265 network_interface_create(&scan->two, FETH_NAME); in initialize_feth_pairs() 268 network_interface_assign_address(&scan->two, i, 2); in initialize_feth_pairs() 270 fake_set_peer(scan->one.if_name, scan->two.if_name); in initialize_feth_pairs() 296 network_interface_create(&scan->two, name); in initialize_vlan_pairs() 297 siocsifvlan(scan->two.if_name, feth_pair->two.if_name, tag); in initialize_vlan_pairs() 448 test_traffic_for_network_interfaces(&vlan_pair->two, &feth_pair->two, in vlan_test_bridged_traffic() [all …]
|
| H A D | net_bond.c | 167 network_interface_destroy(&S_bond_pair.two); in cleanup_common() 193 pair->one.if_name, pair->two.if_name); in test_traffic_for_pair() 200 pair->two.if_name, pair->two.if_index); in test_traffic_for_pair() 259 network_interface_t two; in initialize_bond_pair() local 265 two = &S_bond_pair.two; in initialize_bond_pair() 266 network_interface_init(two, BOND101_NAME, 0, 2); in initialize_bond_pair() 274 network_interface_create(&scan->two, FETH_NAME); in initialize_bond_pair() 275 fake_set_peer(scan->one.if_name, scan->two.if_name); in initialize_bond_pair() 276 bond_add_member(two->if_name, scan->two.if_name); in initialize_bond_pair() 306 vlan_interface_init(&scan->two, S_bond_pair.two.if_name, in initialize_vlan_pairs()
|
| H A D | os_thread_self_restrict_pagers.c | 74 const_page_t two; member 88 .two.reloc = &pager_state, 90 .two.magic = 0x41414141, 585 pager_test(&pager_state.two); 613 vm_allocate_test(&pager_state.two);
|
| H A D | net_test_lib.h | 87 network_interface two; member
|
| /xnu-11215/doc/debugging/ |
| H A D | macro_testing.md | 8 Unit-test architecture supports two kinds of tests: 82 The framework provides two kinds of mocks:
|
| H A D | task_ref.md | 9 Tasks in XNU are reference counted. When a task is created it starts with two
|
| /xnu-11215/doc/primitives/ |
| H A D | sched_cond.md | 40 This scheme has two key inefficiences: 85 step is critical for two reasons.
|
| H A D | string-handling.md | 31 Using `strncmp` with two NUL-terminated strings is uncommon and it has no 40 then you might need to swap the two string arguments. `strlcmp` is sensitive to 90 two distinct types, and they do not implicitly convert to each other. This 91 prevents confusing the two in the way that is problematic with `strlcpy`, for 160 This example has two views of the same data: `my_buffer` (through which the
|
| H A D | atomics.md | 42 By default, C11 comes with two variants of each atomic "operation": 186 For any such operation, two variants exist: 195 This convention is picked for two reasons: 222 There are two variants of `os_atomic_cmpxchg` which are wrappers around
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 11 These two metrics are abbreviated to cycles-per-instruction, or CPI, for brevity. 53 Tables also include formulaic columns that can be derived from two metrics, like CPI or power. 98 It stores the last update time in a 64-bit value combined with a state stored in the top two bits t…
|
| H A D | cpu_counters.md | 13 Counters are typically used in one of two ways:
|
| H A D | mt_stackshot.md | 45 there are two, and tasks are sorted between the queues based on their
|
| /xnu-11215/tools/tests/perf_index/ |
| H A D | README | 2 two modes. In regulular (offline mode) the usage is: 10 iperf will run the cpu workload on two threads with a total work load size of
|
| /xnu-11215/doc/building/ |
| H A D | xnu_build_consolidation.md | 7 …s supported on approximately 20 different targets. Whilst in some cases the differences between two 35 * Certain kernel-visible architectural features are optional, which means that two same-generation … 84 two same-generation SoCs to diverge.
|
| /xnu-11215/doc/vm/ |
| H A D | sanitize.md | 60 behavior for binary compatibility purposes. There are two possible rewrites: 66 Telemetry similarly may record two cases: 324 There are two sets of kernel entrypoints that are not exercised by these tests 356 each get their own set of tests as if they were two different functions, 361 has two parameter tests to perform, one for the protection parameter and one
|
| H A D | freezer.md | 26 The freezer has two limits on "shared memory". `memorystatus_frozen_shared_mb_max` is a global limi… 102 On the trial website, the freezer namespace has two versions. "V1" is for iOS, and "V2" is for watc…
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_port.h | 453 #define IP_TIMESTAMP_ORDER(one, two) ((int) ((one) - (two)) < 0) argument
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 169 char two[] = "fd/2"; in devfs_fdesc_makelinks() local 181 if ((error = devfs_make_symlink(root_devnode, err, 0555, two, &stderr_ent))) { in devfs_fdesc_makelinks()
|
| H A D | README | 54 i.e. if you have two devfs trees mounted, you can change the
|
| /xnu-11215/doc/arm/ |
| H A D | sme.md | 52 (SVL), a power-of-two between 128 and 2048 inclusive. Each `Z` register is SVL 66 SME adds two orthogonal states to `PSTATE`. 230 and `ZT0` state back to memory when one of two things happens:
|
| /xnu-11215/osfmk/mach/machine/ |
| H A D | machine_types.defs | 64 * type-casting between the two.
|
| /xnu-11215/doc/allocators/ |
| H A D | api-basics.md | 7 XNU proposes two ways to allocate memory: 139 These come in two variants: arrays, and arrays prefixed with a header. 159 consider splitting the allocation into two: one part that is typed and contains
|
| H A D | read-only.md | 89 We require identifiers for read-only zones for two reasons: firstly to ensure
|
| /xnu-11215/osfmk/tests/ |
| H A D | README.md | 33 …* There are two locations ```osfmk/tests/``` and ```bsd/tests``` where you can add tests based on …
|
| /xnu-11215/doc/mach_ipc/ |
| H A D | kmsg.md | 81 As far as layout is concerned, an IPC kernel message is made of two halves: some
|