Searched refs:pcnt (Results 1 – 7 of 7) sorted by relevance
| /xnu-8019.80.24/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 | 213 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 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-8019.80.24/bsd/net/pktsched/ |
| H A D | pktsched.c | 348 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 D | kern_control.h | 629 ctl_getenqueuepacketcount(kern_ctl_ref kctlref, u_int32_t unit, u_int32_t *pcnt);
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_control.c | 1234 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 D | nx_netif.c | 3174 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 *,
|