Searched refs:priority_table (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/md/dm-vdo/
H A Dpriority-table.h12 * A priority_table is a simple implementation of a priority queue for entries with priorities that
20 * object can also be used to queue it in a priority_table, assuming the field is not used for
29 struct priority_table;
32 struct priority_table **table_ptr);
34 void vdo_free_priority_table(struct priority_table *table);
36 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority,
39 void vdo_reset_priority_table(struct priority_table *table);
41 struct list_head * __must_check vdo_priority_table_dequeue(struct priority_table *table);
43 void vdo_priority_table_remove(struct priority_table *table, struct list_head *entry);
45 bool __must_check vdo_is_priority_table_empty(struct priority_table *tabl
[all...]
H A Dpriority-table.c38 struct priority_table { struct
48 * vdo_make_priority_table() - Allocate and initialize a new priority_table.
54 int vdo_make_priority_table(unsigned int max_priority, struct priority_table **table_ptr)
56 struct priority_table *table;
63 result = vdo_allocate_extended(struct priority_table, max_priority + 1,
83 * vdo_free_priority_table() - Free a priority_table.
88 void vdo_free_priority_table(struct priority_table *table)
110 void vdo_reset_priority_table(struct priority_table *table)
127 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority,
140 static inline void mark_bucket_empty(struct priority_table *tabl
[all...]
H A Dslab-depot.h395 struct priority_table *prioritized_slabs;

Completed in 370 milliseconds