Lines Matching refs:function
86 the start() function looks like:
100 implementations; in most cases the start() function should check for a
105 by the start() function called SEQ_START_TOKEN; it can be used if you wish
106 to instruct your show() function (described below) to print a header at the
110 The next function to implement is called, amazingly, next(); its job is to
114 next() function returns a new iterator, or NULL if the sequence is
124 The stop() function is called when iteration is complete; its job, of
133 Finally, the show() function should format the object currently pointed to
134 by the iterator for output. The example module's show() function is:
143 If all is well, the show() function should return zero. A negative error
145 passed back to user space. This function can also return SEQ_SKIP, which
146 causes the current item to be skipped; if the show() function has already
169 iterator function. However, the seq_file code (by design) will not sleep
208 A function producing complicated output may want to check
213 be discarded and the seq_show function will attempt to allocate a larger
225 method, however, to hook everything up. The open function is often a single
242 There is also a wrapper function to seq_open() called seq_open_private(). It
245 block size is specified in a third parameter to the function, e.g.:
253 There is also a variant function, __seq_open_private(), which is functionally
272 A corresponding close function, seq_release_private() is available which
326 module can define only the show() function, which should create all the
334 When output time comes, the show() function will be called once. The data