Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
Dblock.c34 struct squashfs_page_actor *actor, in copy_bio_to_actor() argument
37 void *actor_addr = squashfs_first_page(actor); in copy_bio_to_actor()
60 actor_addr = squashfs_next_page(actor); in copy_bio_to_actor()
71 squashfs_finish_page(actor); in copy_bio_to_actor()
Dsquashfs_fs_sb.h40 struct squashfs_page_actor *actor; member
/Linux-v5.15/net/sunrpc/xprtrdma/
Dsvc_rdma_pcl.c234 int (*actor)(const struct xdr_buf *, void *), in pcl_process_region()
243 return actor(&subbuf, data); in pcl_process_region()
267 int (*actor)(const struct xdr_buf *, void *), in pcl_process_nonpayloads()
278 return actor(xdr, data); in pcl_process_nonpayloads()
281 ret = pcl_process_region(xdr, 0, chunk->ch_position, actor, data); in pcl_process_nonpayloads()
292 actor, data); in pcl_process_nonpayloads()
301 ret = pcl_process_region(xdr, start, xdr->len - start, actor, data); in pcl_process_nonpayloads()
/Linux-v5.15/fs/ntfs/
Ddir.c1014 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 …]
/Linux-v5.15/fs/ksmbd/
Dvfs_cache.h115 filldir_t actor) in set_ctx_actor() argument
117 ctx->actor = actor; in set_ctx_actor()
/Linux-v5.15/fs/
Dreaddir.c186 .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()
Dsplice.c397 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()
/Linux-v5.15/fs/overlayfs/
Dreaddir.c349 .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()
/Linux-v5.15/security/keys/
Drequest_key.c227 request_key_actor_t actor; in construct_key() local
240 actor = call_sbin_request_key; in construct_key()
242 actor = key->type->request_key; in construct_key()
244 ret = actor(authkey, aux); in construct_key()
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dpfunc_core.c811 struct device_node *actor = of_node_get(target); in __pmf_find_function() local
834 of_node_put(actor); in __pmf_find_function()
835 actor = of_find_node_by_phandle(ph); in __pmf_find_function()
836 if (actor == NULL) in __pmf_find_function()
839 dev = pmf_find_device(actor); in __pmf_find_function()
857 of_node_put(actor); in __pmf_find_function()
/Linux-v5.15/include/linux/sunrpc/
Dsvc_rdma_pcl.h124 int (*actor)(const struct xdr_buf *,
/Linux-v5.15/fs/gfs2/
Dexport.c92 .ctx.actor = get_name_filldir, in gfs2_get_name()
/Linux-v5.15/Documentation/admin-guide/hw-vuln/
Dtsx_async_abort.rst61 The victim of a malicious actor does not need to make use of TSX. Only the
77 a result, the malicious actor has to sample as much data as possible and
262 might allow a malicious actor to leak data from the host or from other
/Linux-v5.15/fs/xfs/scrub/
Dparent.c76 .dc.actor = xchk_parent_actor, in xchk_parent_count_parent_dentries()
/Linux-v5.15/net/ethtool/
Dioctl.c2133 u32 cmd, u32 (*actor)(struct net_device *)) in ethtool_get_value()
2137 if (!actor) in ethtool_get_value()
2140 edata.data = actor(dev); in ethtool_get_value()
2148 void (*actor)(struct net_device *, u32)) in ethtool_set_value_void()
2152 if (!actor) in ethtool_set_value_void()
2158 actor(dev, edata.data); in ethtool_set_value_void()
2163 int (*actor)(struct net_device *, u32)) in ethtool_set_value()
2167 if (!actor) in ethtool_set_value()
2173 return actor(dev, edata.data); in ethtool_set_value()
/Linux-v5.15/fs/ecryptfs/
Dfile.c107 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
/Linux-v5.15/Documentation/driver-api/thermal/
Dpower_allocator.rst42 | | | tdp actor
223 maximum power that an actor can consume.
/Linux-v5.15/fs/reiserfs/
Dxattr.c245 .ctx.actor = fill_with_dentries, in reiserfs_for_each_xattr()
850 .ctx.actor = listxattr_filler, in reiserfs_listxattr()
/Linux-v5.15/fs/exportfs/
Dexpfs.c289 .ctx.actor = filldir_one, in get_name()
/Linux-v5.15/fs/afs/
Ddir.c495 (ctx->actor == afs_lookup_filldir || in afs_dir_iterate_block()
496 ctx->actor == afs_lookup_one_filldir)? in afs_dir_iterate_block()
644 .ctx.actor = afs_lookup_one_filldir, in afs_do_lookup_one()
840 cookie->ctx.actor = afs_lookup_filldir; in afs_do_lookup()

12