Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 67) sorted by relevance

123

/xnu-11215/tests/
H A Dnet_bond.c166 network_interface_destroy(&S_bond_pair.one); in cleanup_common()
193 pair->one.if_name, pair->two.if_name); in test_traffic_for_pair()
195 server.v4 = pair->one.ip; in test_traffic_for_pair()
197 server.v6 = pair->one.ip6; in test_traffic_for_pair()
199 inet_test_traffic(af, &server, pair->one.if_name, pair->one.if_index, in test_traffic_for_pair()
258 network_interface_t one; in initialize_bond_pair() local
262 one = &S_bond_pair.one; in initialize_bond_pair()
263 network_interface_init(one, BOND100_NAME, 0, 1); in initialize_bond_pair()
271 network_interface_create(&scan->one, FETH_NAME); in initialize_bond_pair()
272 bond_add_member(one->if_name, scan->one.if_name); in initialize_bond_pair()
[all …]
H A Dnet_vlan.c216 one->if_name, two->if_name); in test_traffic_for_network_interfaces()
218 server.v4 = one->ip; in test_traffic_for_network_interfaces()
222 inet_test_traffic(af, &server, one->if_name, one->if_index, in test_traffic_for_network_interfaces()
264 network_interface_create(&scan->one, FETH_NAME); in initialize_feth_pairs()
267 network_interface_assign_address(&scan->one, i, 1); in initialize_feth_pairs()
270 fake_set_peer(scan->one.if_name, scan->two.if_name); in initialize_feth_pairs()
289 network_interface_create(&scan->one, name); in initialize_vlan_pairs()
290 siocsifvlan(scan->one.if_name, feth_pair->one.if_name, tag); in initialize_vlan_pairs()
318 ifname = S_feth_pairs->list->one.if_name; in vlan_send_short_packet()
435 vlan_pair->one.if_name); in vlan_test_bridged_traffic()
[all …]
H A Drecvmsg_x_ctrunc.c243 int one = 1; variable
244 …_SUCCESS(setsockopt(recvSocket, IPPROTO_IP, IP_RECVPKTINFO, (void *)&one, sizeof(one)), "setsockop…
246 …OSIX_SUCCESS(setsockopt(recvSocket, IPPROTO_IP, IP_RECVTOS, (void *)&one, sizeof(one)), "setsockop…
281 int one = 1; variable
282 …CESS(setsockopt(recvSocket, IPPROTO_IPV6, IPV6_RECVPKTINFO, (void *)&one, sizeof(one)), "setsockop…
284 …CCESS(setsockopt(recvSocket, IPPROTO_IPV6, IPV6_RECVTCLASS, (void *)&one, sizeof(one)), "setsockop…
H A Dos_thread_self_restrict_pagers.c73 const_page_t one; member
87 .one.reloc = &pager_state,
89 .one.magic = 0x41414141,
578 pager_test(&pager_state.one);
612 mmap_test(&pager_state.one);
H A Drecvmsg_x_test.c179 int one = 1; variable
180 …_SUCCESS(setsockopt(recvSocket, IPPROTO_IP, IP_RECVPKTINFO, (void *)&one, sizeof(one)), "setsockop…
H A Dstackshot_block_owner_14362384.m583 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
627 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
639 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
646 msg_recv_helper(test_recv_port); // thread should block until we receive one of its messages
672 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
769 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
805 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
838 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
873 T_EXPECT_EQ(len, 1, "Only one blocking thread should exist");
H A Dnet_test_lib.h86 network_interface one; member
/xnu-11215/osfmk/kern/
H A Dkcdata.modulemap3 // to support building libkdd (one of our alias projects). libkdd can’t use
5 // would pick up the old one in the SDK rather than mapping to the new one in
7 // the SDK and fall back on the one in SRCROOT. So far so good, but libkdd needs
H A Dkern_debug.modulemap8 // Darwin module to support building libkdd (one of our alias projects).
10 // itself, and so Xcode would pick up the old one in the SDK rather than
11 // mapping to the new one in SRCROOT. To get around that, libkdd uses
12 // <kcdata.h> to not match anything in the SDK and fall back on the one in
/xnu-11215/osfmk/mach/
H A Dmach_port.defs117 * The right must be one of
134 * The right must be one of
171 * A port set always has one user ref.
172 * A send-once right always has one user ref.
173 * A dead name always has one or more user refs.
174 * A send right always has one or more user refs.
175 * A receive right always has one user ref.
176 * The right must be one of
221 * or'ed with one of these element types:
332 * msgt_name must be one of
[all …]
H A Dthread_act.defs243 * Set one of the special ports associated with the
260 * Set an exception handler for a thread on one or more exception types
287 * Set an exception handler for a thread on one or more exception types.
416 * hardened exception handler. Only one hardened exception handler is allowed
H A Dtask.defs223 * Set one of the special ports associated with the
269 * Set an exception handler for a task on one or more exception types.
301 * Set an exception handler for a thread on one or more exception types.
555 /* Do not generate header, use the one in mach_init.h */
/xnu-11215/iokit/DriverKit/
H A DIODispatchQueue.iig69 * By default the queue is serial and will execute one block at a time.
77 … Creates a new dispatch queue object. All queues are currently serial, executing one block at time
101 …* second queue (ie. OnQueue can return true for more than one queue in a given contex…
190 * @param event A unique token matching one later passed to Wakeup().
191 * @param options Pass one of the kIOTimerClock* options to specify the timebase for the
204 * @param event A unique token matching one later passed to Wakeup().
221 * @param event A unique token matching one passed to Sleep().
231 * @param event A unique token matching one passed to Sleep().
234 The default is to wake only one of any waiting threads.
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_classq.c70 unsigned int one = 1; in fsw_classq_kpkt_to_mbuf() local
73 error = mbuf_allocpacket(MBUF_WAITOK, pkt->pkt_length, &one, &m); in fsw_classq_kpkt_to_mbuf()
/xnu-11215/doc/debugging/
H A Dtask_ref.md10 references - one for the caller and one for the task itself. Over the lifetime
61 one available). At the bottom level, there's a per-task (local) ref group under
/xnu-11215/doc/building/
H A Dbound_checks.md18 system's configuration `files` under each kernel component. For instance, one of
34 We can ask clang to give us one trap instruction per function, which can have
41 On the other hand, we can ask clang to give us one trap instruction per bounds
47 and make inferences based on register values. For instance, if we look at one
99 * one pull request with the necessary adoption code changes, configuring the
101 * one pull request that changes `bound-checks-pending` to `bound-checks-soft`.
H A Dxnu_version.md36 * `S` represents the kernel build stage (one of `d`, `a`, `b`, or `r`)
H A Dxnu_build_consolidation.md45 Although not often, the kernel may still require deriving, one way or another, parameters like cach…
69 2. Splitting the tunable-application code across different files, one per supported architecture (e…
115 …me cases, certain statically-allocated arrays/structures need to be cache line-aligned, or have one
/xnu-11215/bsd/miscfs/devfs/
H A DREADME20 (or directory) and a pointer to the vnode if one has been associated
55 directories in one without changing the other.
79 than you want in the real one. You might also want to delete some sensitive
113 e.g. symlinks, a comprehensive registration interface (only a crude one)
/xnu-11215/doc/observability/
H A Dmt_stackshot.md44 CPUs to pull from. On SMP systems, there is only one queue. On AMP systems,
63 one. The number of tries is recorded in the `stackshot_latency_collection_v2`
85 one should be ahead of time. Because of this, allocate kcdata buffers in
90 The chunks are sized such that only one is needed for the average task. If we
143 auxilliary CPU (i.e. a CPU other than the one which initiated the stackshot)
/xnu-11215/doc/vm/
H A Dsanitize.md101 When a new type needs sanitization, use one of the following macros to declare
234 corresponding sanitization function in `vm_sanitize.c`, please add one.
281 times with many values for one sanitized parameter (or group of related
290 least one trial for every possible set bit. The list of trial values for
302 The output of all trials in one test is collected as `results_t`, storing the
340 one of the following:
352 parameters get at least one test. Some functions are divided into multiple
361 has two parameter tests to perform, one for the protection parameter and one
371 least one trial) and probes edge cases like `rwx`. Address and size trials
/xnu-11215/tools/tests/perf_index/
H A DREADME4 where type is one of the test types explained below, threads is the number of
50 file_write - writes n bytes to files on disk. There is one file per each thread.
51 file_read - initializes by creating one large file on disk per each thread.
/xnu-11215/doc/allocators/
H A Dapi-basics.md48 When flags are expected, exactly one of `Z_WAITOK`, `Z_NOWAIT` or `Z_NOPAGEWAIT`
97 `kalloc_type` or one of its variants (like IOKit's `IOMallocType`) and untyped
99 one of its variants (like IOKit's `IOMallocData`). However, this comes with
159 consider splitting the allocation into two: one part that is typed and contains
292 All subclasses of `OSObject` must declare and define one of IOKit's
307 This can be accomplished through one of the following approaches, and it lets you
347 When a class/struct adopts typed allocators through one of those approaches,
/xnu-11215/libkern/libkern/
H A Dversion.h.template50 /* VERSION_STAGE, version_stage, is an integer set to one of the following: */
62 /* OSBUILD_CONFIG, osbuild_config is a one-word string describing the build
/xnu-11215/bsd/kern/
H A Dtty_pty.c92 #warning You have only one pty defined, redefining to 32.

123