Home
last modified time | relevance | path

Searched refs:pcnt (Results 1 – 7 of 7) sorted by relevance

/xnu-8019.80.24/tests/
H A Dkernel_inspection.c160 mach_msg_type_number_t i, j, tcnt, pcnt = 0; variable
165 T_ASSERT_MACH_SUCCESS(host_processor_sets(self, &psets, &pcnt),
168 for (i = 0; i < pcnt; i++) {
170 T_LOG("Checking pset %d/%d", i, pcnt - 1);
203 pcnt * sizeof(*psets));
H A Dimm_pinned_control_port.c213 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_task_thread_port_values() local
260 kr = host_processor_sets(host, &psets, &pcnt); in test_task_thread_port_values()
262 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_task_thread_port_values()
266 for (size_t i = 0; i < pcnt; i++) { in test_task_thread_port_values()
270 vm_deallocate(mach_task_self(), (vm_address_t)psets, (vm_size_t)pcnt * sizeof(mach_port_t)); in test_task_thread_port_values()
H A Dipc_read_inspect.c222 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_processor_set_tasks() local
230 kr = host_processor_sets(host, &psets, &pcnt); in test_processor_set_tasks()
232 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_processor_set_tasks()
236 for (size_t i = 0; i < pcnt; i++) { in test_processor_set_tasks()
/xnu-8019.80.24/bsd/net/pktsched/
H A Dpktsched.c348 int pcnt = 0; in pktsched_free_pkt() local
356 pp_free_packet_chain(kpkt, &pcnt); in pktsched_free_pkt()
357 VERIFY(cnt == (uint32_t)pcnt); in pktsched_free_pkt()
/xnu-8019.80.24/bsd/sys/
H A Dkern_control.h629 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt);
/xnu-8019.80.24/bsd/kern/
H A Dkern_control.c1234 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt) in ctl_getenqueuepacketcount() argument
1240 if (pcnt == NULL) { in ctl_getenqueuepacketcount()
1259 *pcnt = cnt; in ctl_getenqueuepacketcount()
/xnu-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif.c3174 int fcnt = 0, pcnt = 0, dcnt = 0; local
3181 pcnt++;
3204 STATS_ADD(nifs, NETIF_STATS_FILTER_RX_NOT_FILTERABLE, pcnt);
3206 int, fcnt, int, pcnt, int, dcnt, struct __kern_packet *,