Lines Matching refs:term_func
26 netfs_io_terminated_t term_func; member
56 if (ki->term_func) { in cachefiles_read_complete()
64 ki->term_func(ki->term_func_priv, ret, ki->was_async); in cachefiles_read_complete()
77 netfs_io_terminated_t term_func, in cachefiles_read() argument
145 ki->term_func = term_func; in cachefiles_read()
149 if (ki->term_func) in cachefiles_read()
188 if (term_func) in cachefiles_read()
189 term_func(term_func_priv, ret < 0 ? ret : skipped, false); in cachefiles_read()
272 if (ki->term_func) in cachefiles_write_complete()
273 ki->term_func(ki->term_func_priv, ret, ki->was_async); in cachefiles_write_complete()
284 netfs_io_terminated_t term_func, in __cachefiles_write() argument
303 if (term_func) in __cachefiles_write()
304 term_func(term_func_priv, -ENOMEM, false); in __cachefiles_write()
316 ki->term_func = term_func; in __cachefiles_write()
321 if (ki->term_func) in __cachefiles_write()
373 netfs_io_terminated_t term_func, in cachefiles_write() argument
377 if (term_func) in cachefiles_write()
378 term_func(term_func_priv, -ENOBUFS, false); in cachefiles_write()
385 term_func, term_func_priv); in cachefiles_write()