Home
last modified time | relevance | path

Searched refs:s_startcount (Results 1 – 3 of 3) sorted by relevance

/xnu-11215.1.10/osfmk/kern/
H A Dexclaves_sensor.c218 uint64_t s_startcount; member
297 if (sensor->s_startcount != 0) { in exclaves_sensor_healthcheck()
325 sensor->s_startcount = 0; in exclaves_sensor_init()
353 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()
358 if (sensor->s_startcount > 0) { in exclaves_sensor_start()
361 sensor->s_startcount += 1; in exclaves_sensor_start()
374 sensor->s_startcount += 1; in exclaves_sensor_start()
401 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()
406 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()
409 sensor->s_startcount -= 1; in exclaves_sensor_stop()
[all …]
H A Dexclaves_resource.c1573 for (int i = 0; i < resource->r_sensor.s_startcount; i++) { in exclaves_resource_sensor_reset()
1579 resource->r_sensor.s_startcount = 0; in exclaves_resource_sensor_reset()
1613 if (resource->r_sensor.s_startcount == UINT64_MAX) { in exclaves_resource_sensor_start()
1621 resource->r_sensor.s_startcount += 1; in exclaves_resource_sensor_start()
1648 if (resource->r_sensor.s_startcount == 0) { in exclaves_resource_sensor_stop()
1656 resource->r_sensor.s_startcount -= 1; in exclaves_resource_sensor_stop()
H A Dexclaves_resource.h131 uint64_t s_startcount; member