Searched refs:nr_elts (Results 1 – 2 of 2) sorted by relevance
110 unsigned nr_elts; /* excluding sentinel entries */ member116 l->nr_elts = 0; in l_init()158 l->nr_elts++; in l_add_head()174 l->nr_elts++; in l_add_tail()191 l->nr_elts++; in l_add_before()211 l->nr_elts--; in l_del()240 unsigned nr_elts; member259 q->nr_elts = 0; in q_init()274 return q->nr_elts; in q_size()283 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()