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

/linux-4.1.27/drivers/md/
H A Ddm-cache-policy-mq.c133 unsigned nr_elts; member in struct:queue
144 q->nr_elts = 0; queue_init()
157 return q->nr_elts; queue_size()
162 return q->nr_elts == 0; queue_empty()
170 q->nr_elts++; queue_push()
176 q->nr_elts--; queue_remove()
207 q->nr_elts--; queue_pop()
227 q->nr_elts--; queue_pop_old()
/linux-4.1.27/drivers/md/persistent-data/
H A Ddm-btree.c26 static void array_insert(void *base, size_t elt_size, unsigned nr_elts,
30 if (index < nr_elts) __dm_written_to_disk()
33 (nr_elts - index) * elt_size); __dm_written_to_disk()

Completed in 149 milliseconds