Lines Matching refs:that
11 Virtual files can provide human-readable output that is easy to get at
13 script writers. It is not surprising that the use of virtual files has
17 however. It is not that hard to make a virtual file which returns a
21 position within the virtual file - that position is, likely as not, in the
23 implementations that got this wrong.
45 better to do. The file is seekable, in that one can do something like the
59 Note that the above article uses create_proc_entry which was removed in
70 iterator object that allows stepping through the data of interest.
72 implement - but the interpretation of that position is up to the iterator
73 itself. A seq_file implementation that is formatting firewall rules, for
77 to an offset in the virtual file. The one obvious exception is that a
85 which will start reading at that position. For our simple sequence example,
99 iterator, but that will not be the case for most other seq_file
144 code in the usual manner indicates that something went wrong; it will be
147 generated output before returning SEQ_SKIP, that output will be dropped.
163 It's worth noting that the iterator value returned by start() and
165 the seq_file code. It can thus be anything that is useful in stepping
168 the programmer is aware that things can happen between calls to the
170 between the calls to start() and stop(), so holding a lock during that time
178 iterator and getting it into the user's buffer. But, for that to work, that
192 expect. seq_escape() is like seq_puts(), except that any character in s
205 root is desired, it can be used with seq_path_root(). If it turns out that
212 A true return from seq_has_overflowed means that the seq_file buffer will
220 seq_file system, but we have not yet turned them into a file that a user
222 creation of a set of file_operations which implement the operations on that
239 private field of the seq_file structure; that value can then be retrieved
254 identical except that, if successful, it returns the pointer to the allocated
291 code, that is done in the initialization code in the usual way:
303 And that is pretty much it.
327 output that the virtual file will contain. The file's open() method then