Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/
H A Dkernel_inspection.c161 mach_msg_type_number_t i, j, tcnt, pcnt = 0; variable
166 T_ASSERT_MACH_SUCCESS(host_processor_sets(self, &psets, &pcnt),
169 for (i = 0; i < pcnt; i++) {
171 T_LOG("Checking pset %d/%d", i, pcnt - 1);
204 pcnt * sizeof(*psets));
H A Dimm_pinned_control_port.c243 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_task_thread_port_values() local
290 kr = host_processor_sets(host, &psets, &pcnt); in test_task_thread_port_values()
292 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_task_thread_port_values()
296 for (size_t i = 0; i < pcnt; i++) { in test_task_thread_port_values()
300 vm_deallocate(mach_task_self(), (vm_address_t)psets, (vm_size_t)pcnt * sizeof(mach_port_t)); in test_task_thread_port_values()
/xnu-12377.1.9/tests/ipc/
H A Dipc_read_inspect.c213 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_processor_set_tasks() local
221 kr = host_processor_sets(host, &psets, &pcnt); in test_processor_set_tasks()
223 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_processor_set_tasks()
227 for (size_t i = 0; i < pcnt; i++) { in test_processor_set_tasks()
/xnu-12377.1.9/bsd/sys/
H A Dkern_control_private.h292 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt);
/xnu-12377.1.9/bsd/net/pktsched/
H A Dpktsched.c455 int pcnt = 0; in pktsched_free_pkt() local
463 pp_free_packet_chain(kpkt, &pcnt); in pktsched_free_pkt()
464 VERIFY(cnt == (uint32_t)pcnt); in pktsched_free_pkt()
/xnu-12377.1.9/bsd/kern/
H A Dkern_control.c1248 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt) in ctl_getenqueuepacketcount() argument
1254 if (pcnt == NULL) { in ctl_getenqueuepacketcount()
1271 *pcnt = cnt; in ctl_getenqueuepacketcount()
/xnu-12377.1.9/bsd/skywalk/nexus/netif/
H A Dnx_netif.c3531 int fcnt = 0, pcnt = 0, dcnt = 0; local
3538 pcnt++;
3561 STATS_ADD(nifs, NETIF_STATS_FILTER_RX_NOT_FILTERABLE, pcnt);
3563 int, fcnt, int, pcnt, int, dcnt, struct __kern_packet *,