Home
last modified time | relevance | path

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

/fs/squashfs/
Dpage_actor.c22 static void *cache_first_page(struct squashfs_page_actor *actor) in cache_first_page() argument
24 actor->next_page = 1; in cache_first_page()
25 return actor->buffer[0]; in cache_first_page()
28 static void *cache_next_page(struct squashfs_page_actor *actor) in cache_next_page() argument
30 if (actor->next_page == actor->pages) in cache_next_page()
33 return actor->buffer[actor->next_page++]; in cache_next_page()
36 static void cache_finish_page(struct squashfs_page_actor *actor) in cache_finish_page() argument
44 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); in squashfs_page_actor_init() local
46 if (actor == NULL) in squashfs_page_actor_init()
49 actor->length = length ? : pages * PAGE_SIZE; in squashfs_page_actor_init()
[all …]
Dpage_actor.h20 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); in squashfs_page_actor_init() local
22 if (actor == NULL) in squashfs_page_actor_init()
25 actor->length = length ? : pages * PAGE_SIZE; in squashfs_page_actor_init()
26 actor->page = page; in squashfs_page_actor_init()
27 actor->pages = pages; in squashfs_page_actor_init()
28 actor->next_page = 0; in squashfs_page_actor_init()
29 return actor; in squashfs_page_actor_init()
32 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) in squashfs_first_page() argument
34 actor->next_page = 1; in squashfs_first_page()
35 return actor->page[0]; in squashfs_first_page()
[all …]
Ddecompressor.c92 struct squashfs_page_actor *actor = NULL; in get_comp_opts() local
105 actor = squashfs_page_actor_init(&buffer, 1, 0); in get_comp_opts()
106 if (actor == NULL) { in get_comp_opts()
112 sizeof(struct squashfs_super_block), 0, NULL, actor); in get_comp_opts()
123 kfree(actor); in get_comp_opts()
Dfile_direct.c38 struct squashfs_page_actor *actor; in squashfs_readpage_block() local
54 actor = squashfs_page_actor_init_special(page, pages, 0); in squashfs_readpage_block()
55 if (actor == NULL) in squashfs_readpage_block()
93 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readpage_block()
119 kfree(actor); in squashfs_readpage_block()
138 kfree(actor); in squashfs_readpage_block()
Dcache.c111 &entry->next_index, entry->actor); in squashfs_cache_get()
210 kfree(cache->entry[i].actor); in squashfs_cache_delete()
272 entry->actor = squashfs_page_actor_init(entry->data, in squashfs_cache_init()
274 if (entry->actor == NULL) { in squashfs_cache_init()
411 struct squashfs_page_actor *actor; in squashfs_read_table() local
423 actor = squashfs_page_actor_init(data, pages, length); in squashfs_read_table()
424 if (actor == NULL) { in squashfs_read_table()
433 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor); in squashfs_read_table()
436 kfree(actor); in squashfs_read_table()
Dsquashfs_fs_sb.h40 struct squashfs_page_actor *actor; member
/fs/ntfs/
Ddir.c1013 u8 *name, struct dir_context *actor) in ntfs_filldir() argument
1055 "0x%lx, DT_%s.", name, name_len, actor->pos, mref, in ntfs_filldir()
1057 if (!dir_emit(actor, name, name_len, mref, dt_type)) in ntfs_filldir()
1085 static int ntfs_readdir(struct file *file, struct dir_context *actor) in ntfs_readdir() argument
1105 vdir->i_ino, actor->pos); in ntfs_readdir()
1109 if (actor->pos >= i_size + vol->mft_record_size) in ntfs_readdir()
1112 if (!dir_emit_dots(file, actor)) in ntfs_readdir()
1126 if (actor->pos >= vol->mft_record_size) in ntfs_readdir()
1141 ir_pos = (s64)actor->pos; in ntfs_readdir()
1197 actor->pos = (u8*)ie - (u8*)ir; in ntfs_readdir()
[all …]
/fs/iomap/
Dapply.c24 const struct iomap_ops *ops, void *data, iomap_actor_t actor) in iomap_apply() argument
61 written = actor(inode, pos, length, data, &iomap); in iomap_apply()
/fs/
Dreaddir.c182 .ctx.actor = fillonedir, in SYSCALL_DEFINE3()
272 .ctx.actor = filldir, in SYSCALL_DEFINE3()
358 .ctx.actor = filldir64, in ksys_getdents64()
449 .ctx.actor = compat_fillonedir, in COMPAT_SYSCALL_DEFINE3()
531 .ctx.actor = compat_filldir, in COMPAT_SYSCALL_DEFINE3()
Dsplice.c482 splice_actor *actor) in splice_from_pipe_feed() argument
500 ret = actor(pipe, buf, sd); in splice_from_pipe_feed()
615 splice_actor *actor) in __splice_from_pipe() argument
624 ret = splice_from_pipe_feed(pipe, sd, actor); in __splice_from_pipe()
648 splice_actor *actor) in splice_from_pipe() argument
659 ret = __splice_from_pipe(pipe, &sd, actor); in splice_from_pipe()
894 splice_direct_actor *actor) in splice_direct_to_actor() argument
976 ret = actor(pipe, sd); in splice_direct_to_actor()
/fs/overlayfs/
Dreaddir.c361 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged()
552 .ctx.actor = ovl_fill_plain, in ovl_dir_read_impure()
665 return orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real()
690 .ctx.actor = ovl_fill_real, in ovl_iterate_real()
1005 .ctx.actor = ovl_check_d_type, in ovl_check_d_type_supported()
1024 .ctx.actor = ovl_fill_merge, in ovl_workdir_cleanup_recurse()
1089 .ctx.actor = ovl_fill_merge, in ovl_indexdir_cleanup()
/fs/gfs2/
Dexport.c92 .ctx.actor = get_name_filldir, in gfs2_get_name()
/fs/xfs/scrub/
Dparent.c65 .dc.actor = xchk_parent_actor, in xchk_parent_count_parent_dentries()
Ddir.c772 .dir_iter.actor = xchk_dir_actor, in xchk_directory()
/fs/ecryptfs/
Dfile.c107 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
/fs/reiserfs/
Dxattr.c245 .ctx.actor = fill_with_dentries, in reiserfs_for_each_xattr()
843 .ctx.actor = listxattr_filler, in reiserfs_listxattr()
/fs/afs/
Ddir.c425 (ctx->actor == afs_lookup_filldir || in afs_dir_iterate_block()
426 ctx->actor == afs_lookup_one_filldir)? in afs_dir_iterate_block()
567 .ctx.actor = afs_lookup_one_filldir, in afs_do_lookup_one()
659 cookie->ctx.actor = afs_lookup_filldir; in afs_do_lookup()
/fs/sdcardfs/
Dlookup.c285 .ctx.actor = sdcardfs_name_match, in __sdcardfs_lookup()
/fs/exportfs/
Dexpfs.c289 .ctx.actor = filldir_one, in get_name()
/fs/fat/
Ddir.c766 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
/fs/nfsd/
Dvfs.c1878 .ctx.actor = nfsd_buffered_filldir, in nfsd_buffered_readdir()
Dnfs4recover.c302 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
/fs/ocfs2/
Djournal.c2087 .ctx.actor = ocfs2_orphan_filldir, in ocfs2_queue_orphans()
Ddir.c2119 .ctx.actor = ocfs2_empty_dir_filldir, in ocfs2_empty_dir()