Lines Matching defs:loop_device
67 struct device *loop_device;
73 list_for_each_entry(loop_device, device_list, node) {
74 if (strcmp(loop_device->path, devpath) > 0) {
86 list_add_tail(&new_device->node, &loop_device->node);
175 struct device *loop_device;
180 list_for_each_entry_safe(loop_device, tmp_device, device_list, node) {
182 if (strncmp(loop_device->path, first_list[i], strlen(first_list[i])) == 0) {
183 add_device(loop_device->path);
184 list_del(&loop_device->node);
185 free(loop_device);
192 list_for_each_entry_safe(loop_device, tmp_device, device_list, node) {
195 if (strncmp(loop_device->path, last_list[i], strlen(last_list[i])) == 0) {
203 add_device(loop_device->path);
204 list_del(&loop_device->node);
205 free(loop_device);
209 list_for_each_entry_safe(loop_device, tmp_device, device_list, node) {
210 add_device(loop_device->path);
211 list_del(&loop_device->node);
212 free(loop_device);