/kernel/linux/linux-6.6/fs/cachefiles/ |
H A D | io.c | 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() 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() 270 if (ki->term_func) in cachefiles_write_complete() 73 cachefiles_read(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, enum netfs_read_from_hole read_hole, netfs_io_terminated_t term_func, void *term_func_priv) cachefiles_read() argument 278 __cachefiles_write(struct cachefiles_object *object, struct file *file, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) __cachefiles_write() argument 360 cachefiles_write(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) cachefiles_write() argument [all...] |
H A D | internal.h | 242 netfs_io_terminated_t term_func,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fscache.h | 481 * @term_func: The function to call upon completion 482 * @term_func_priv: The private data for @term_func 492 * Upon termination of the operation, @term_func will be called and supplied 511 netfs_io_terminated_t term_func, in fscache_read() 516 term_func, term_func_priv); in fscache_read() 551 * @term_func: The function to call upon completion 552 * @term_func_priv: The private data for @term_func 561 * Upon termination of the operation, @term_func will be called and supplied 569 netfs_io_terminated_t term_func, in fscache_write() 573 return ops->write(cres, start_pos, iter, term_func, term_func_pri in fscache_write() 507 fscache_read(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, enum netfs_read_from_hole read_hole, netfs_io_terminated_t term_func, void *term_func_priv) fscache_read() argument 566 fscache_write(struct netfs_cache_resources *cres, loff_t start_pos, struct iov_iter *iter, netfs_io_terminated_t term_func, void *term_func_priv) fscache_write() argument 617 fscache_write_to_cache(struct fscache_cookie *cookie, struct address_space *mapping, loff_t start, size_t len, loff_t i_size, netfs_io_terminated_t term_func, void *term_func_priv, bool caching) fscache_write_to_cache() argument [all...] |
H A D | netfs.h | 244 netfs_io_terminated_t term_func, 251 netfs_io_terminated_t term_func,
|
/kernel/linux/linux-6.6/fs/fscache/ |
H A D | io.c | 207 netfs_io_terminated_t term_func; member 241 if (wreq->term_func) in fscache_wreq_done() 242 wreq->term_func(wreq->term_func_priv, transferred_or_error, in fscache_wreq_done() 251 netfs_io_terminated_t term_func, in __fscache_write_to_cache() 272 wreq->term_func = term_func; in __fscache_write_to_cache() 299 if (term_func) in __fscache_write_to_cache() 300 term_func(term_func_priv, ret, false); in __fscache_write_to_cache() 248 __fscache_write_to_cache(struct fscache_cookie *cookie, struct address_space *mapping, loff_t start, size_t len, loff_t i_size, netfs_io_terminated_t term_func, void *term_func_priv, bool cond) __fscache_write_to_cache() argument
|