Lines Matching refs:can
11 Virtual files can provide human-readable output that is easy to get at
12 without any special utility programs; they can also make life easier for
45 better to do. The file is seekable, in that one can do something like the
54 wanting to see the full source for this module can find it at
75 Positioning can thus be done in whatever way makes the most sense for the
104 structure can be used. There is also a special value which can be returned
105 by the start() function called SEQ_START_TOKEN; it can be used if you wish
112 example module can simply increment the position by one; more useful
145 passed back to user space. This function can also return SEQ_SKIP, which
165 the seq_file code. It can thus be anything that is useful in stepping
166 through the data to be output. Counters can be useful, but it could also be
168 the programmer is aware that things can happen between calls to the
205 root is desired, it can be used with seq_path_root(). If it turns out that
219 So far, we have a nice set of functions which can produce output within the
221 can see. Creating a file within the kernel requires, of course, the
237 file->private_data. If you have an application where the same iterator can
238 be used for more than one file, you can store an arbitrary pointer in the
239 private field of the seq_file structure; that value can then be retrieved
326 module can define only the show() function, which should create all the
335 value given to single_open() can be found in the private field of the