Searched refs:old_res (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/kvm/x86_64/ |
| D | get_msr_index_features.c | 37 int old_res, res, kvm_fd, r; in test_get_msr_index() local 42 old_res = kvm_num_index_msrs(kvm_fd, 0); in test_get_msr_index() 43 TEST_ASSERT(old_res != 0, "Expecting nmsrs to be > 0"); in test_get_msr_index() 45 if (old_res != 1) { in test_get_msr_index() 48 TEST_ASSERT(res == old_res, "Expecting nmsrs to be identical"); in test_get_msr_index() 51 list = malloc(sizeof(*list) + old_res * sizeof(list->indices[0])); in test_get_msr_index() 52 list->nmsrs = old_res; in test_get_msr_index() 58 TEST_ASSERT(list->nmsrs == old_res, "Expecting nmsrs to be identical"); in test_get_msr_index() 99 int res, old_res, i, kvm_fd; in test_get_msr_feature() local 104 old_res = kvm_num_feature_msrs(kvm_fd, 0); in test_get_msr_feature() [all …]
|
| /Linux-v5.15/drivers/hv/ |
| D | vmbus_drv.c | 2160 struct resource **old_res = &hyperv_mmio; in vmbus_walk_resources() local 2227 if (!*old_res) { in vmbus_walk_resources() 2228 *old_res = new_res; in vmbus_walk_resources() 2232 if (((*old_res)->end + 1) == new_res->start) { in vmbus_walk_resources() 2233 (*old_res)->end = new_res->end; in vmbus_walk_resources() 2238 if ((*old_res)->start == new_res->end + 1) { in vmbus_walk_resources() 2239 (*old_res)->start = new_res->start; in vmbus_walk_resources() 2244 if ((*old_res)->start > new_res->end) { in vmbus_walk_resources() 2245 new_res->sibling = *old_res; in vmbus_walk_resources() 2248 *old_res = new_res; in vmbus_walk_resources() [all …]
|
| /Linux-v5.15/drivers/scsi/ |
| D | pmcraid.c | 5459 LIST_HEAD(old_res); in pmcraid_init_res_table() 5473 list_move_tail(&res->queue, &old_res); in pmcraid_init_res_table() 5489 list_for_each_entry_safe(res, temp, &old_res, queue) { in pmcraid_init_res_table() 5536 list_for_each_entry_safe(res, temp, &old_res, queue) { in pmcraid_init_res_table()
|
| D | ipr.c | 7815 LIST_HEAD(old_res); in ipr_init_res_table() 7827 list_move_tail(&res->queue, &old_res); in ipr_init_res_table() 7841 list_for_each_entry_safe(res, temp, &old_res, queue) { in ipr_init_res_table() 7868 list_for_each_entry_safe(res, temp, &old_res, queue) { in ipr_init_res_table() 7876 list_for_each_entry_safe(res, temp, &old_res, queue) { in ipr_init_res_table()
|
| /Linux-v5.15/drivers/pci/ |
| D | probe.c | 3085 struct resource old_res = *res; in pci_bus_update_busn_res_end() local 3095 &old_res, ret ? "can not be" : "is", bus_max); in pci_bus_update_busn_res_end()
|