Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/kern/
H A Dexclaves_sensor.c214 uint64_t s_startcount; member
293 if (sensor->s_startcount != 0) { in exclaves_sensor_healthcheck()
321 sensor->s_startcount = 0; in exclaves_sensor_init()
349 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()
354 if (sensor->s_startcount > 0) { in exclaves_sensor_start()
357 sensor->s_startcount += 1; in exclaves_sensor_start()
370 sensor->s_startcount += 1; in exclaves_sensor_start()
397 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()
402 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()
405 sensor->s_startcount -= 1; in exclaves_sensor_stop()
[all …]
H A Dexclaves_resource.c1649 for (int i = 0; i < resource->r_sensor.s_startcount; i++) { in exclaves_resource_sensor_reset()
1655 resource->r_sensor.s_startcount = 0; in exclaves_resource_sensor_reset()
1689 if (resource->r_sensor.s_startcount == UINT64_MAX) { in exclaves_resource_sensor_start()
1697 resource->r_sensor.s_startcount += 1; in exclaves_resource_sensor_start()
1724 if (resource->r_sensor.s_startcount == 0) { in exclaves_resource_sensor_stop()
1732 resource->r_sensor.s_startcount -= 1; in exclaves_resource_sensor_stop()
H A Dexclaves_resource.h133 uint64_t s_startcount; member