Searched refs:cur_list (Results 1 – 4 of 4) sorted by relevance
/linux/fs/btrfs/ |
H A D | ulist.c | 290 if (uiter->cur_list && uiter->cur_list->next == &ulist->nodes) in ulist_next() 292 if (uiter->cur_list) { in ulist_next() 293 uiter->cur_list = uiter->cur_list->next; in ulist_next() 295 uiter->cur_list = ulist->nodes.next; in ulist_next() 297 node = list_entry(uiter->cur_list, struct ulist_node, list); in ulist_next()
|
H A D | ulist.h | 22 struct list_head *cur_list; /* hint to start search */ member 75 #define ULIST_ITER_INIT(uiter) ((uiter)->cur_list = NULL)
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_arg.c | 34 struct list_head cur_list; in dr_arg_pool_alloc_objs() local 40 INIT_LIST_HEAD(&cur_list); in dr_arg_pool_alloc_objs() 79 list_add_tail(&arg_obj->list_node, &cur_list); in dr_arg_pool_alloc_objs() 84 list_splice_tail_init(&cur_list, &pool->free_list); in dr_arg_pool_alloc_objs() 90 list_for_each_entry_safe(arg_obj, tmp_arg, &cur_list, list_node) { in dr_arg_pool_alloc_objs()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_mbox.c | 188 struct htc_endpoint_credit_dist *cur_list; in ath6kl_credit_update() local 190 list_for_each_entry(cur_list, epdist_list, list) { in ath6kl_credit_update() 191 if (cur_list->endpoint == ENDPOINT_0) in ath6kl_credit_update() 194 if (cur_list->cred_to_dist > 0) { in ath6kl_credit_update() 195 cur_list->credits += cur_list->cred_to_dist; in ath6kl_credit_update() 196 cur_list->cred_to_dist = 0; in ath6kl_credit_update() 198 if (cur_list->credits > cur_list->cred_assngd) in ath6kl_credit_update() 200 cur_list, in ath6kl_credit_update() 201 cur_list->cred_assngd); in ath6kl_credit_update() 203 if (cur_list->credits > cur_list->cred_norm) in ath6kl_credit_update() [all …]
|