Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/
Dpriority-table.h29 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 *table);
Dpriority-table.c38 struct priority_table { struct
54 int vdo_make_priority_table(unsigned int max_priority, struct priority_table **table_ptr) in vdo_make_priority_table()
56 struct priority_table *table; in vdo_make_priority_table()
63 result = vdo_allocate_extended(struct priority_table, max_priority + 1, in vdo_make_priority_table()
88 void vdo_free_priority_table(struct priority_table *table) in vdo_free_priority_table()
110 void vdo_reset_priority_table(struct priority_table *table) in vdo_reset_priority_table()
127 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority, in vdo_priority_table_enqueue()
140 static inline void mark_bucket_empty(struct priority_table *table, struct bucket *bucket) in mark_bucket_empty()
155 struct list_head *vdo_priority_table_dequeue(struct priority_table *table) in vdo_priority_table_dequeue()
189 void vdo_priority_table_remove(struct priority_table *table, struct list_head *entry) in vdo_priority_table_remove()
[all …]
Dslab-depot.h395 struct priority_table *prioritized_slabs;