Home
last modified time | relevance | path

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

12

/linux-6.15/fs/squashfs/
H 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 …]
H 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 …]
H 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()
H 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()
H 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()
H A Dfile.c505 struct squashfs_page_actor *actor; in squashfs_readahead_fragment() local
513 actor = squashfs_page_actor_init_special(msblk, page, pages, in squashfs_readahead_fragment()
515 if (!actor) in squashfs_readahead_fragment()
518 squashfs_actor_nobuff(actor); in squashfs_readahead_fragment()
519 addr = squashfs_first_page(actor); in squashfs_readahead_fragment()
533 addr = squashfs_next_page(actor); in squashfs_readahead_fragment()
536 last_page = squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
559 squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
574 struct squashfs_page_actor *actor; in squashfs_readahead() local
621 if (!actor) in squashfs_readahead()
[all …]
H 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()
H A Dsquashfs_fs_sb.h40 struct squashfs_page_actor *actor; member
/linux-6.15/net/sunrpc/xprtrdma/
H A 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-6.15/include/linux/
H A Dsplice.h73 splice_actor *actor);
75 struct splice_desc *sd, splice_actor *actor);
83 splice_direct_actor *actor);
/linux-6.15/fs/smb/server/
H A Dvfs_cache.h117 filldir_t actor) in set_ctx_actor() argument
119 ctx->actor = actor; in set_ctx_actor()
/linux-6.15/fs/
H A Dreaddir.c224 .ctx.actor = fillonedir, in SYSCALL_DEFINE3()
313 .ctx.actor = filldir, in SYSCALL_DEFINE3()
394 .ctx.actor = filldir64, in SYSCALL_DEFINE3()
477 .ctx.actor = compat_fillonedir, in COMPAT_SYSCALL_DEFINE3()
559 .ctx.actor = compat_filldir, in COMPAT_SYSCALL_DEFINE3()
H 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()
1025 splice_direct_actor *actor) in splice_direct_to_actor() argument
1102 ret = actor(pipe, sd); in splice_direct_to_actor()
1182 splice_direct_actor *actor) in do_splice_direct_actor() argument
1201 ret = splice_direct_to_actor(in, &sd, actor); in do_splice_direct_actor()
/linux-6.15/security/keys/
H A Drequest_key.c230 request_key_actor_t actor; in construct_key() local
243 actor = call_sbin_request_key; in construct_key()
245 actor = key->type->request_key; in construct_key()
247 ret = actor(authkey, aux); in construct_key()
/linux-6.15/arch/powerpc/platforms/powermac/
H A 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-6.15/fs/overlayfs/
H A Dreaddir.c353 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged()
573 .ctx.actor = ovl_fill_plain, in ovl_dir_read_impure()
689 return orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real()
715 .ctx.actor = ovl_fill_real, in ovl_iterate_real()
1075 .ctx.actor = ovl_check_d_type, in ovl_check_d_type_supported()
1096 .ctx.actor = ovl_fill_plain, in ovl_workdir_cleanup_recurse()
1180 .ctx.actor = ovl_fill_plain, in ovl_indexdir_cleanup()
/linux-6.15/include/linux/sunrpc/
H A Dsvc_rdma_pcl.h124 int (*actor)(const struct xdr_buf *,
/linux-6.15/fs/gfs2/
H A Dexport.c92 .ctx.actor = get_name_filldir, in gfs2_get_name()
/linux-6.15/Documentation/admin-guide/hw-vuln/
H A 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
255 might allow a malicious actor to leak data from the host or from other
H A Dreg-file-data-sampling.rst7 a malicious actor to infer data values previously used in floating point
/linux-6.15/net/ethtool/
H A Dioctl.c2510 u32 cmd, u32 (*actor)(struct net_device *)) in ethtool_get_value()
2514 if (!actor) in ethtool_get_value()
2517 edata.data = actor(dev); in ethtool_get_value()
2525 void (*actor)(struct net_device *, u32)) in ethtool_set_value_void()
2529 if (!actor) in ethtool_set_value_void()
2535 actor(dev, edata.data); in ethtool_set_value_void()
2540 int (*actor)(struct net_device *, u32)) in ethtool_set_value()
2544 if (!actor) in ethtool_set_value()
2550 return actor(dev, edata.data); in ethtool_set_value()
/linux-6.15/Documentation/driver-api/thermal/
H A Dpower_allocator.rst42 | | | tdp actor
223 maximum power that an actor can consume.
/linux-6.15/fs/ecryptfs/
H A Dfile.c132 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
/linux-6.15/fs/exportfs/
H A Dexpfs.c286 .ctx.actor = filldir_one, in get_name()
/linux-6.15/fs/afs/
H 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()

12