/fs/squashfs/ |
D | page_actor.c | 24 static void *cache_first_page(struct squashfs_page_actor *actor) in cache_first_page() argument 26 actor->next_page = 1; in cache_first_page() 27 return actor->buffer[0]; in cache_first_page() 30 static void *cache_next_page(struct squashfs_page_actor *actor) in cache_next_page() argument 32 if (actor->next_page == actor->pages) in cache_next_page() 35 return actor->buffer[actor->next_page++]; in cache_next_page() 38 static void cache_finish_page(struct squashfs_page_actor *actor) in cache_finish_page() argument 46 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); in squashfs_page_actor_init() local 48 if (actor == NULL) in squashfs_page_actor_init() 51 actor->length = length ? : pages * PAGE_SIZE; in squashfs_page_actor_init() [all …]
|
D | page_actor.h | 33 static inline struct page *squashfs_page_actor_free(struct squashfs_page_actor *actor) in squashfs_page_actor_free() argument 35 struct page *last_page = actor->last_page; in squashfs_page_actor_free() 37 kfree(actor->tmp_buffer); in squashfs_page_actor_free() 38 kfree(actor); in squashfs_page_actor_free() 41 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) in squashfs_first_page() argument 43 return actor->squashfs_first_page(actor); in squashfs_first_page() 45 static inline void *squashfs_next_page(struct squashfs_page_actor *actor) in squashfs_next_page() argument 47 return actor->squashfs_next_page(actor); in squashfs_next_page() 49 static inline void squashfs_finish_page(struct squashfs_page_actor *actor) in squashfs_finish_page() argument 51 actor->squashfs_finish_page(actor); in squashfs_finish_page() [all …]
|
D | decompressor.c | 92 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()
|
D | file_direct.c | 35 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() 71 if (actor == NULL) in squashfs_readpage_block() 75 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readpage_block() 77 squashfs_page_actor_free(actor); in squashfs_readpage_block()
|
D | cache.c | 111 &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()
|
D | block.c | 35 struct squashfs_page_actor *actor, in copy_bio_to_actor() argument 44 squashfs_actor_nobuff(actor); in copy_bio_to_actor() 45 actor_addr = squashfs_first_page(actor); in copy_bio_to_actor() 65 actor_addr = squashfs_next_page(actor); in copy_bio_to_actor() 76 squashfs_finish_page(actor); in copy_bio_to_actor()
|
D | file.c | 542 struct squashfs_page_actor *actor; in squashfs_readahead() local 592 actor = squashfs_page_actor_init_special(msblk, pages, nr_pages, in squashfs_readahead() 594 if (!actor) in squashfs_readahead() 597 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readahead() 599 last_page = squashfs_page_actor_free(actor); in squashfs_readahead()
|
D | squashfs_fs_sb.h | 40 struct squashfs_page_actor *actor; member
|
/fs/ntfs/ |
D | dir.c | 1014 u8 *name, struct dir_context *actor) in ntfs_filldir() argument 1056 "0x%lx, DT_%s.", name, name_len, actor->pos, mref, in ntfs_filldir() 1058 if (!dir_emit(actor, name, name_len, mref, dt_type)) in ntfs_filldir() 1086 static int ntfs_readdir(struct file *file, struct dir_context *actor) in ntfs_readdir() argument 1106 vdir->i_ino, actor->pos); in ntfs_readdir() 1110 if (actor->pos >= i_size + vol->mft_record_size) in ntfs_readdir() 1113 if (!dir_emit_dots(file, actor)) in ntfs_readdir() 1127 if (actor->pos >= vol->mft_record_size) in ntfs_readdir() 1142 ir_pos = (s64)actor->pos; in ntfs_readdir() 1198 actor->pos = (u8*)ie - (u8*)ir; in ntfs_readdir() [all …]
|
/fs/ksmbd/ |
D | vfs_cache.h | 112 filldir_t actor) in set_ctx_actor() argument 114 ctx->actor = actor; in set_ctx_actor()
|
D | vfs.c | 1174 .ctx.actor = __caseless_lookup, in ksmbd_vfs_lookup_in_dir()
|
/fs/ |
D | readdir.c | 186 .ctx.actor = fillonedir, in SYSCALL_DEFINE3() 276 .ctx.actor = filldir, in SYSCALL_DEFINE3() 359 .ctx.actor = filldir64, in SYSCALL_DEFINE3() 444 .ctx.actor = compat_fillonedir, in COMPAT_SYSCALL_DEFINE3() 527 .ctx.actor = compat_filldir, in COMPAT_SYSCALL_DEFINE3()
|
D | splice.c | 397 splice_actor *actor) in splice_from_pipe_feed() argument 418 ret = actor(pipe, buf, sd); in splice_from_pipe_feed() 553 splice_actor *actor) in __splice_from_pipe() argument 562 ret = splice_from_pipe_feed(pipe, sd, actor); in __splice_from_pipe() 586 splice_actor *actor) in splice_from_pipe() argument 597 ret = __splice_from_pipe(pipe, &sd, actor); in splice_from_pipe() 813 splice_direct_actor *actor) in splice_direct_to_actor() argument 891 ret = actor(pipe, sd); in splice_direct_to_actor()
|
/fs/overlayfs/ |
D | readdir.c | 349 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged() 557 .ctx.actor = ovl_fill_plain, in ovl_dir_read_impure() 672 return orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real() 697 .ctx.actor = ovl_fill_real, in ovl_iterate_real() 1054 .ctx.actor = ovl_check_d_type, in ovl_check_d_type_supported() 1075 .ctx.actor = ovl_fill_merge, in ovl_workdir_cleanup_recurse() 1163 .ctx.actor = ovl_fill_merge, in ovl_indexdir_cleanup()
|
/fs/afs/ |
D | dir.c | 498 ctx->actor != afs_lookup_filldir && in afs_dir_iterate_block() 499 ctx->actor != afs_lookup_one_filldir && in afs_dir_iterate_block() 508 (ctx->actor == afs_lookup_filldir || in afs_dir_iterate_block() 509 ctx->actor == afs_lookup_one_filldir)? in afs_dir_iterate_block() 657 .ctx.actor = afs_lookup_one_filldir, in afs_do_lookup_one() 853 cookie->ctx.actor = afs_lookup_filldir; in afs_do_lookup()
|
/fs/gfs2/ |
D | export.c | 92 .ctx.actor = get_name_filldir, in gfs2_get_name()
|
/fs/xfs/scrub/ |
D | parent.c | 76 .dc.actor = xchk_parent_actor, in xchk_parent_count_parent_dentries()
|
D | dir.c | 798 .dir_iter.actor = xchk_dir_actor, in xchk_directory()
|
/fs/ecryptfs/ |
D | file.c | 107 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
|
/fs/reiserfs/ |
D | xattr.c | 245 .ctx.actor = fill_with_dentries, in reiserfs_for_each_xattr() 850 .ctx.actor = listxattr_filler, in reiserfs_listxattr()
|
/fs/exportfs/ |
D | expfs.c | 289 .ctx.actor = filldir_one, in get_name()
|
/fs/fat/ |
D | dir.c | 766 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
|
/fs/ocfs2/ |
D | journal.c | 2089 .ctx.actor = ocfs2_orphan_filldir, in ocfs2_queue_orphans()
|
/fs/nfsd/ |
D | nfs4recover.c | 294 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
|
D | vfs.c | 1993 .ctx.actor = nfsd_buffered_filldir, in nfsd_buffered_readdir()
|