Searched refs:pcnt (Results 1 – 7 of 7) sorted by relevance
| /xnu-8796.141.3/tests/ |
| H A D | kernel_inspection.c | 160 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 D | imm_pinned_control_port.c | 229 mach_msg_type_number_t pcnt = 0, tcnt = 0; in test_task_thread_port_values() local 276 kr = host_processor_sets(host, &psets, &pcnt); in test_task_thread_port_values() 278 T_QUIET; T_ASSERT_GE(pcnt, 1, "should have at least 1 processor set"); in test_task_thread_port_values() 282 for (size_t i = 0; i < pcnt; i++) { in test_task_thread_port_values() 286 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 D | ipc_read_inspect.c | 222 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-8796.141.3/bsd/net/pktsched/ |
| H A D | pktsched.c | 353 int pcnt = 0; in pktsched_free_pkt() local 361 pp_free_packet_chain(kpkt, &pcnt); in pktsched_free_pkt() 362 VERIFY(cnt == (uint32_t)pcnt); in pktsched_free_pkt()
|
| /xnu-8796.141.3/bsd/sys/ |
| H A D | kern_control.h | 629 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt);
|
| /xnu-8796.141.3/bsd/kern/ |
| H A D | kern_control.c | 1236 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt) in ctl_getenqueuepacketcount() argument 1242 if (pcnt == NULL) { in ctl_getenqueuepacketcount() 1261 *pcnt = cnt; in ctl_getenqueuepacketcount()
|
| /xnu-8796.141.3/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.c | 3422 int fcnt = 0, pcnt = 0, dcnt = 0; local 3429 pcnt++; 3452 STATS_ADD(nifs, NETIF_STATS_FILTER_RX_NOT_FILTERABLE, pcnt); 3454 int, fcnt, int, pcnt, int, dcnt, struct __kern_packet *,
|