Home
last modified time | relevance | path

Searched refs:actor (Results 1 – 22 of 22) sorted by relevance

/fs/squashfs/
A Dpage_actor.c32 if (actor->next_page == actor->pages) in cache_next_page()
35 return actor->buffer[actor->next_page++]; in cache_next_page()
48 if (actor == NULL) in squashfs_page_actor_init()
59 return actor; in squashfs_page_actor_init()
65 return page_folio(actor->page[actor->next_page])->index; in page_next_index()
75 if ((actor->next_page == actor->pages) || in handle_next_page()
76 (actor->next_index != page_next_index(actor))) { in handle_next_page()
85 actor->last_page = actor->page[actor->next_page]; in handle_next_page()
86 return actor->pageaddr = kmap_local_page(actor->page[actor->next_page++]); in handle_next_page()
122 kfree(actor); in squashfs_page_actor_init_special()
[all …]
A Dpage_actor.h36 struct page *last_page = actor->next_page == actor->pages ? actor->last_page : ERR_PTR(-EIO); in squashfs_page_actor_free()
38 kfree(actor->tmp_buffer); in squashfs_page_actor_free()
39 kfree(actor); in squashfs_page_actor_free()
43 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) in squashfs_first_page() argument
45 return actor->squashfs_first_page(actor); in squashfs_first_page()
47 static inline void *squashfs_next_page(struct squashfs_page_actor *actor) in squashfs_next_page() argument
49 return actor->squashfs_next_page(actor); in squashfs_next_page()
51 static inline void squashfs_finish_page(struct squashfs_page_actor *actor) in squashfs_finish_page() argument
53 actor->squashfs_finish_page(actor); in squashfs_finish_page()
55 static inline void squashfs_actor_nobuff(struct squashfs_page_actor *actor) in squashfs_actor_nobuff() argument
[all …]
A Ddecompressor.c91 struct squashfs_page_actor *actor = NULL; in get_comp_opts() local
104 actor = squashfs_page_actor_init(&buffer, 1, 0); in get_comp_opts()
105 if (actor == NULL) { in get_comp_opts()
111 sizeof(struct squashfs_super_block), 0, NULL, actor); in get_comp_opts()
122 kfree(actor); in get_comp_opts()
A Dcache.c111 &entry->next_index, entry->actor); in squashfs_cache_get()
210 kfree(cache->entry[i].actor); in squashfs_cache_delete()
276 entry->actor = squashfs_page_actor_init(entry->data, in squashfs_cache_init()
278 if (entry->actor == NULL) { in squashfs_cache_init()
415 struct squashfs_page_actor *actor; in squashfs_read_table() local
427 actor = squashfs_page_actor_init(data, pages, length); in squashfs_read_table()
428 if (actor == NULL) { in squashfs_read_table()
437 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor); in squashfs_read_table()
440 kfree(actor); in squashfs_read_table()
A Dfile_direct.c35 struct squashfs_page_actor *actor; in squashfs_readpage_block() local
70 actor = squashfs_page_actor_init_special(msblk, page, pages, expected, in squashfs_readpage_block()
72 if (actor == NULL) in squashfs_readpage_block()
76 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readpage_block()
78 last_page = squashfs_page_actor_free(actor); in squashfs_readpage_block()
A Dfile.c504 struct squashfs_page_actor *actor; in squashfs_readahead_fragment() local
512 actor = squashfs_page_actor_init_special(msblk, page, pages, in squashfs_readahead_fragment()
514 if (!actor) in squashfs_readahead_fragment()
517 squashfs_actor_nobuff(actor); in squashfs_readahead_fragment()
518 addr = squashfs_first_page(actor); in squashfs_readahead_fragment()
532 addr = squashfs_next_page(actor); in squashfs_readahead_fragment()
535 last_page = squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
558 squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
573 struct squashfs_page_actor *actor; in squashfs_readahead() local
620 if (!actor) in squashfs_readahead()
[all …]
A Dblock.c34 struct squashfs_page_actor *actor, in copy_bio_to_actor() argument
43 squashfs_actor_nobuff(actor); in copy_bio_to_actor()
44 actor_addr = squashfs_first_page(actor); in copy_bio_to_actor()
64 actor_addr = squashfs_next_page(actor); in copy_bio_to_actor()
75 squashfs_finish_page(actor); in copy_bio_to_actor()
A Dsquashfs_fs_sb.h40 struct squashfs_page_actor *actor; member
/fs/smb/server/
A Dvfs_cache.h118 filldir_t actor) in set_ctx_actor() argument
120 ctx->actor = actor; in set_ctx_actor()
A Dvfs.c1189 .ctx.actor = __caseless_lookup, in ksmbd_vfs_lookup_in_dir()
/fs/
A Dreaddir.c224 .ctx.actor = fillonedir, in SYSCALL_DEFINE3()
317 .ctx.actor = filldir, in SYSCALL_DEFINE3()
401 .ctx.actor = filldir64, in SYSCALL_DEFINE3()
484 .ctx.actor = compat_fillonedir, in COMPAT_SYSCALL_DEFINE3()
570 .ctx.actor = compat_filldir, in COMPAT_SYSCALL_DEFINE3()
A Dsplice.c444 splice_actor *actor) in splice_from_pipe_feed() argument
464 ret = actor(pipe, buf, sd); in splice_from_pipe_feed()
598 splice_actor *actor) in __splice_from_pipe() argument
607 ret = splice_from_pipe_feed(pipe, sd, actor); in __splice_from_pipe()
631 splice_actor *actor) in splice_from_pipe() argument
642 ret = __splice_from_pipe(pipe, &sd, actor); in splice_from_pipe()
1028 splice_direct_actor *actor) in splice_direct_to_actor() argument
1105 ret = actor(pipe, sd); in splice_direct_to_actor()
1185 splice_direct_actor *actor) in do_splice_direct_actor() argument
1204 ret = splice_direct_to_actor(in, &sd, actor); in do_splice_direct_actor()
/fs/overlayfs/
A Dreaddir.c354 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged()
575 .ctx.actor = ovl_fill_plain, in ovl_dir_read_impure()
693 res = orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real()
722 .ctx.actor = ovl_fill_real, in ovl_iterate_real()
1081 .ctx.actor = ovl_check_d_type, in ovl_check_d_type_supported()
1102 .ctx.actor = ovl_fill_plain, in ovl_workdir_cleanup_recurse()
1186 .ctx.actor = ovl_fill_plain, in ovl_indexdir_cleanup()
/fs/gfs2/
A Dexport.c92 .ctx.actor = get_name_filldir, in gfs2_get_name()
/fs/ecryptfs/
A Dfile.c132 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
/fs/afs/
A Ddir.c439 (ctx->actor == afs_lookup_filldir || in afs_dir_iterate_block()
440 ctx->actor == afs_lookup_one_filldir)? in afs_dir_iterate_block()
607 .ctx.actor = afs_lookup_one_filldir, in afs_do_lookup_one()
794 cookie->ctx.actor = afs_lookup_filldir; in afs_do_lookup()
/fs/exportfs/
A Dexpfs.c286 .ctx.actor = filldir_one, in get_name()
/fs/fat/
A Ddir.c778 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
/fs/nfsd/
A Dnfs4recover.c298 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
A Dvfs.c2177 .ctx.actor = nfsd_buffered_filldir, in nfsd_buffered_readdir()
/fs/ocfs2/
A Djournal.c2200 .ctx.actor = ocfs2_orphan_filldir, in ocfs2_queue_orphans()
A Ddir.c2150 .ctx.actor = ocfs2_empty_dir_filldir, in ocfs2_empty_dir()

Completed in 61 milliseconds