Home
last modified time | relevance | path

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

/xnu-10063.101.15/osfmk/kern/
H A Dexclaves_sensor.c217 uint64_t s_startcount; member
296 if (sensor->s_startcount != 0) { in exclaves_sensor_healthcheck()
324 sensor->s_startcount = 0; in exclaves_sensor_init()
352 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()
357 if (sensor->s_startcount > 0) { in exclaves_sensor_start()
360 sensor->s_startcount += 1; in exclaves_sensor_start()
373 sensor->s_startcount += 1; in exclaves_sensor_start()
400 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()
405 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()
408 sensor->s_startcount -= 1; in exclaves_sensor_stop()
[all …]
H A Dexclaves_resource.c1523 for (int i = 0; i < resource->r_sensor.s_startcount; i++) { in exclaves_resource_sensor_reset()
1529 resource->r_sensor.s_startcount = 0; in exclaves_resource_sensor_reset()
1563 if (resource->r_sensor.s_startcount == UINT64_MAX) { in exclaves_resource_sensor_start()
1571 resource->r_sensor.s_startcount += 1; in exclaves_resource_sensor_start()
1598 if (resource->r_sensor.s_startcount == 0) { in exclaves_resource_sensor_stop()
1606 resource->r_sensor.s_startcount -= 1; in exclaves_resource_sensor_stop()
H A Dexclaves_resource.h128 uint64_t s_startcount; member