Home
last modified time | relevance | path

Searched refs:nr_elts (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Ddm-cache-policy-smq.c110 unsigned nr_elts; /* excluding sentinel entries */ member
116 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; member
259 q->nr_elts = 0; in q_init()
274 return q->nr_elts; in q_size()
283 q->nr_elts++; in q_push()
[all …]
/drivers/md/persistent-data/
Ddm-btree.c26 static void array_insert(void *base, size_t elt_size, unsigned nr_elts, in array_insert() argument
30 if (index < nr_elts) in array_insert()
33 (nr_elts - index) * elt_size); in array_insert()