Lines Matching full:struct
24 The folio_queue struct forms a single segment in a segmented list of folios
30 struct folio_queue {
31 struct folio_queue *next;
32 struct folio_queue *prev;
64 void folioq_init(struct folio_queue *folioq);
74 Folios can be set in the next unused slot in a segment struct by calling one
77 unsigned int folioq_append(struct folio_queue *folioq,
78 struct folio *folio);
80 unsigned int folioq_append_mark(struct folio_queue *folioq,
81 struct folio *folio);
91 void folioq_clear(struct folio_queue *folioq, unsigned int slot);
104 struct folio *folioq_folio(const struct folio_queue *folioq,
110 unsigned int folioq_folio_order(const struct folio_queue *folioq,
113 size_t folioq_folio_size(const struct folio_queue *folioq,
126 unsigned int folioq_nr_slots(const struct folio_queue *folioq);
128 unsigned int folioq_count(struct folio_queue *folioq);
130 bool folioq_full(struct folio_queue *folioq);
152 void folioq_mark(struct folio_queue *folioq, unsigned int slot);
153 void folioq_mark2(struct folio_queue *folioq, unsigned int slot);
154 void folioq_mark3(struct folio_queue *folioq, unsigned int slot);
158 void folioq_unmark(struct folio_queue *folioq, unsigned int slot);
159 void folioq_unmark2(struct folio_queue *folioq, unsigned int slot);
160 void folioq_unmark3(struct folio_queue *folioq, unsigned int slot);
164 bool folioq_is_marked(const struct folio_queue *folioq, unsigned int slot);
165 bool folioq_is_marked2(const struct folio_queue *folioq, unsigned int slot);
166 bool folioq_is_marked3(const struct folio_queue *folioq, unsigned int slot);
178 void iov_iter_folio_queue(struct iov_iter *i, unsigned int direction,
179 const struct folio_queue *folioq,
198 the IOV iterators, an iov_iter struct will be left pointing to the last segment