Lines Matching refs:n_devices
34 size_t n_devices, current_device_index; member
82 device_unref_many(enumerator->devices, enumerator->n_devices); in device_enumerator_unref_devices()
84 enumerator->n_devices = 0; in device_enumerator_unref_devices()
431 device_unref_many(enumerator->devices, enumerator->n_devices); in enumerator_sort_devices()
433 enumerator->n_devices = n; in enumerator_sort_devices()
1015 if (enumerator->n_devices == 0) in sd_device_enumerator_get_device_first()
1027 enumerator->current_device_index + 1 >= enumerator->n_devices) in sd_device_enumerator_get_device_next()
1082 if (enumerator->n_devices == 0) in sd_device_enumerator_get_subsystem_first()
1094 enumerator->current_device_index + 1 >= enumerator->n_devices) in sd_device_enumerator_get_subsystem_next()
1155 if (enumerator->n_devices == 0) in device_enumerator_get_first()
1166 enumerator->current_device_index + 1 >= enumerator->n_devices) in device_enumerator_get_next()
1182 *ret_n_devices = enumerator->n_devices; in device_enumerator_get_devices()