Lines Matching defs:list
52 /* Put new value into list. */
54 rte_eth_devargs_enlist(uint16_t *list, uint16_t *len_list,
60 if (list[i] == val)
65 list[(*len_list)++] = val;
71 rte_eth_devargs_process_range(char *str, uint16_t *list, uint16_t *len_list,
80 if (rte_eth_devargs_enlist(list, len_list, max_list, lo) != 0)
86 if (rte_eth_devargs_enlist(list, len_list, max_list,
96 * Parse list of values separated by ",".
100 * [1,2,3] - single list
101 * [1,3-5,7,9-11] - list with singles and ranges
104 rte_eth_devargs_process_list(char *str, uint16_t *list, uint16_t *len_list,
112 pos = rte_eth_devargs_process_range(pos, list, len_list,
116 if (*pos != ',') /* end of list */
138 * [1,2,3] - single list
139 * [1,3-5,7,9-11] - list with singles and ranges