Lines Matching refs:iterator
32 * An iterator interface which lets a virtual file implementation
67 The iterator interface
70 iterator object that allows stepping through the data of interest.
72 implement - but the interpretation of that position is up to the iterator
80 The /proc/sequence iterator just uses the count of the next number it
83 Four functions must be implemented to make the iterator work. The first,
84 called start() takes a position as an argument and returns an iterator
97 The entire data structure for this iterator is a single loff_t value
99 iterator, but that will not be the case for most other seq_file
111 move the iterator forward to the next position in the sequence. The
114 next() function returns a new iterator, or NULL if the sequence is
125 course, is to clean up. If dynamic memory is allocated for the iterator,
134 by the iterator for output. The example module's show() function is:
150 seq_file iterator is finished by creating a seq_operations structure with
160 This structure will be needed to tie our iterator to the /proc file in
163 It's worth noting that the iterator value returned by start() and
169 iterator function. However, the seq_file code (by design) will not sleep
172 other locks while the iterator is active.
178 iterator and getting it into the user's buffer. But, for that to work, that
237 file->private_data. If you have an application where the same iterator can
240 by the iterator functions.