Searched refs:temp_list (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1294 struct list_head temp_list[HNS_ROCE_MAX_BT_LEVEL]; in hem_list_alloc_mid_bt() local 1322 INIT_LIST_HEAD(&temp_list[level]); in hem_list_alloc_mid_bt() 1347 list_add(&cur->list, &temp_list[level]); in hem_list_alloc_mid_bt() 1349 list_add(&cur->sibling, &temp_list[0]); in hem_list_alloc_mid_bt() 1360 list_splice(&temp_list[0], btm_bt); in hem_list_alloc_mid_bt() 1362 list_splice(&temp_list[level], &mid_bt[level]); in hem_list_alloc_mid_bt() 1368 hem_list_free_all(hr_dev, &temp_list[level], true); in hem_list_alloc_mid_bt() 1379 struct list_head temp_list[HNS_ROCE_MAX_BT_REGION]; in hem_list_alloc_root_bt() local 1410 INIT_LIST_HEAD(&temp_list[i]); in hem_list_alloc_root_bt() 1434 list_add(&hem->list, &temp_list[i]); in hem_list_alloc_root_bt() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 832 static void kfd_topology_update_device_list(struct list_head *temp_list, in kfd_topology_update_device_list() argument 835 while (!list_empty(temp_list)) { in kfd_topology_update_device_list() 836 list_move_tail(temp_list->next, master_list); in kfd_topology_update_device_list()
|
/Linux-v5.4/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 226 LIST_HEAD(temp_list); in lpfc_bsg_copy_data() 232 list_splice_init(&dma_buffers->list, &temp_list); in lpfc_bsg_copy_data() 233 list_add(&dma_buffers->list, &temp_list); in lpfc_bsg_copy_data() 243 list_for_each_entry(mp, &temp_list, list) { in lpfc_bsg_copy_data() 277 list_splice(&temp_list, &dma_buffers->list); in lpfc_bsg_copy_data()
|