Searched refs:temp_list (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1146 struct list_head temp_list[HNS_ROCE_MAX_BT_LEVEL]; in hem_list_alloc_mid_bt() local 1174 INIT_LIST_HEAD(&temp_list[level]); in hem_list_alloc_mid_bt() 1199 list_add(&cur->list, &temp_list[level]); in hem_list_alloc_mid_bt() 1201 list_add(&cur->sibling, &temp_list[0]); in hem_list_alloc_mid_bt() 1212 list_splice(&temp_list[0], btm_bt); in hem_list_alloc_mid_bt() 1214 list_splice(&temp_list[level], &mid_bt[level]); in hem_list_alloc_mid_bt() 1220 hem_list_free_all(hr_dev, &temp_list[level], true); in hem_list_alloc_mid_bt()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 931 static void kfd_topology_update_device_list(struct list_head *temp_list, in kfd_topology_update_device_list() argument 934 while (!list_empty(temp_list)) { in kfd_topology_update_device_list() 935 list_move_tail(temp_list->next, master_list); in kfd_topology_update_device_list()
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 217 LIST_HEAD(temp_list); in lpfc_bsg_copy_data() 223 list_splice_init(&dma_buffers->list, &temp_list); in lpfc_bsg_copy_data() 224 list_add(&dma_buffers->list, &temp_list); in lpfc_bsg_copy_data() 234 list_for_each_entry(mp, &temp_list, list) { in lpfc_bsg_copy_data() 268 list_splice(&temp_list, &dma_buffers->list); in lpfc_bsg_copy_data()
|