Lines Matching refs:nic_models
945 GPtrArray *nic_models = g_ptr_array_new(); in qemu_get_nic_models() local
964 g_ptr_array_add(nic_models, (gpointer)name); in qemu_get_nic_models()
972 g_ptr_array_add(nic_models, NULL); in qemu_get_nic_models()
974 return nic_models; in qemu_get_nic_models()
1197 GPtrArray *nic_models = qemu_get_nic_models(parent_type); in qemu_create_nic_bus_devices() local
1207 for (i = 0; i < nic_models->len - 1; i++) { in qemu_create_nic_bus_devices()
1208 add_nic_model_help(nic_models->pdata[i], NULL); in qemu_create_nic_bus_devices()
1213 nic_models->len--; in qemu_create_nic_bus_devices()
1232 if (!g_ptr_array_find_with_equal_func(nic_models, model, in qemu_create_nic_bus_devices()
1243 g_ptr_array_free(nic_models, true); in qemu_create_nic_bus_devices()
1793 GPtrArray *nic_models = qemu_get_nic_models(TYPE_DEVICE); in net_param_nic() local
1799 for (i = 0 ; nic_models->pdata[i]; i++) { in net_param_nic()
1800 printf("%s\n", (char *)nic_models->pdata[i]); in net_param_nic()
1802 g_ptr_array_free(nic_models, true); in net_param_nic()