Searched refs:nr_elts (Results 1 – 2 of 2) sorted by relevance
112 unsigned nr_elts; /* excluding sentinel entries */ member118 l->nr_elts = 0; in l_init()160 l->nr_elts++; in l_add_head()176 l->nr_elts++; in l_add_tail()193 l->nr_elts++; in l_add_before()213 l->nr_elts--; in l_del()255 unsigned nr_elts; member274 q->nr_elts = 0; in q_init()289 return q->nr_elts; in q_size()300 q->nr_elts++; in q_push()[all …]
26 static void array_insert(void *base, size_t elt_size, unsigned nr_elts, in array_insert() argument30 if (index < nr_elts) in array_insert()33 (nr_elts - index) * elt_size); in array_insert()