Home
last modified time | relevance | path

Searched refs:prio_list (Results 1 – 4 of 4) sorted by relevance

/drivers/bus/
Dda8xx-mstpri.c210 const struct da8xx_mstpri_board_priorities *prio_list; in da8xx_mstpri_probe() local
226 prio_list = da8xx_mstpri_get_board_prio(); in da8xx_mstpri_probe()
227 if (!prio_list) { in da8xx_mstpri_probe()
232 for (i = 0; i < prio_list->numprio; i++) { in da8xx_mstpri_probe()
233 prio = &prio_list->priorities[i]; in da8xx_mstpri_probe()
/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c215 struct list_head prio_list; member
270 list_for_each_entry(it, &zone_alloc->prios, prio_list) in mlx4_zone_add_one()
274 if (&it->prio_list == &zone_alloc->prios || it->priority > priority) in mlx4_zone_add_one()
275 list_add_tail(&zone->prio_list, &it->prio_list); in mlx4_zone_add_one()
290 if (!list_empty(&entry->prio_list)) { in __mlx4_zone_remove_one_entry()
298 list_add_tail(&next->prio_list, &entry->prio_list); in __mlx4_zone_remove_one_entry()
301 list_del(&entry->prio_list); in __mlx4_zone_remove_one_entry()
310 list_for_each_entry(it, &zone_alloc->prios, prio_list) { in __mlx4_zone_remove_one_entry()
328 list_del(&zone->prio_list); in mlx4_zone_allocator_destroy()
354 list_for_each_entry(curr_node, &zone_alloc->prios, prio_list) { in __mlx4_alloc_from_zone()
[all …]
/drivers/lightnvm/
Drrpc.c437 list_add_tail(&rblk->prio, &rlun->prio_list); in rrpc_block_gc()
458 struct list_head *prio_list = &rlun->prio_list; in block_prio_find_max() local
461 BUG_ON(list_empty(prio_list)); in block_prio_find_max()
463 max = list_first_entry(prio_list, struct rrpc_block, prio); in block_prio_find_max()
464 list_for_each_entry(rblk, prio_list, prio) in block_prio_find_max()
485 !list_empty(&rlun->prio_list)) { in rrpc_lun_gc()
525 list_add_tail(&rblk->prio, &rlun->prio_list); in rrpc_gc_queue()
1347 INIT_LIST_HEAD(&rlun->prio_list); in rrpc_luns_init()
Drrpc.h84 struct list_head prio_list; /* Blocks that may be GC'ed */ member