Searched refs:pcnt (Results 1 – 7 of 7) sorted by relevance
| /xnu-11215/tests/ |
| H A D | kernel_inspection.c | 161 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 D | imm_pinned_control_port.c | 245 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_task_thread_port_values() local 292 kr = host_processor_sets(host, &psets, &pcnt); in test_task_thread_port_values() 294 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_task_thread_port_values() 298 for (size_t i = 0; i < pcnt; i++) { in test_task_thread_port_values() 302 vm_deallocate(mach_task_self(), (vm_address_t)psets, (vm_size_t)pcnt * sizeof(mach_port_t)); in test_task_thread_port_values()
|
| /xnu-11215/tests/ipc/ |
| H A D | ipc_read_inspect.c | 223 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_processor_set_tasks() local 231 kr = host_processor_sets(host, &psets, &pcnt); in test_processor_set_tasks() 233 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_processor_set_tasks() 237 for (size_t i = 0; i < pcnt; i++) { in test_processor_set_tasks()
|
| /xnu-11215/bsd/net/pktsched/ |
| H A D | pktsched.c | 355 int pcnt = 0; in pktsched_free_pkt() local 363 pp_free_packet_chain(kpkt, &pcnt); in pktsched_free_pkt() 364 VERIFY(cnt == (uint32_t)pcnt); in pktsched_free_pkt()
|
| /xnu-11215/bsd/sys/ |
| H A D | kern_control.h | 631 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_control.c | 1248 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-11215/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.c | 3468 int fcnt = 0, pcnt = 0, dcnt = 0; local 3475 pcnt++; 3498 STATS_ADD(nifs, NETIF_STATS_FILTER_RX_NOT_FILTERABLE, pcnt); 3500 int, fcnt, int, pcnt, int, dcnt, struct __kern_packet *,
|