Home
last modified time | relevance | path

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

12

/linux/fs/squashfs/
H A Dpage_actor.c24 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_obj(*actor); 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 …]
H A Dpage_actor.h34 static inline struct page *squashfs_page_actor_free(struct squashfs_page_actor *actor) in squashfs_page_actor_free() argument
36 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()
[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 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()
418 struct squashfs_page_actor *actor; in squashfs_read_table() local
430 actor = squashfs_page_actor_init(data, pages, length); in squashfs_read_table()
431 if (actor == NULL) { in squashfs_read_table()
440 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor); in squashfs_read_table()
443 kfree(actor); in squashfs_read_table()
H A Dfile.c513 struct squashfs_page_actor *actor; in squashfs_readahead_fragment() local
521 actor = squashfs_page_actor_init_special(msblk, page, pages, in squashfs_readahead_fragment()
523 if (!actor) in squashfs_readahead_fragment()
526 squashfs_actor_nobuff(actor); in squashfs_readahead_fragment()
527 addr = squashfs_first_page(actor); in squashfs_readahead_fragment()
541 addr = squashfs_next_page(actor); in squashfs_readahead_fragment()
544 last_page = squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
567 squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
582 struct squashfs_page_actor *actor; in squashfs_readahead() local
627 actor = squashfs_page_actor_init_special(msblk, pages, nr_pages, 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/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c289 int (*actor)(const struct xdr_buf *, void *), in pcl_process_region()
298 return actor(&subbuf, data); in pcl_process_region()
322 int (*actor)(const struct xdr_buf *, void *), in pcl_process_nonpayloads()
333 return actor(xdr, data); in pcl_process_nonpayloads()
336 ret = pcl_process_region(xdr, 0, chunk->ch_position, actor, data); in pcl_process_nonpayloads()
347 actor, data); in pcl_process_nonpayloads()
356 ret = pcl_process_region(xdr, start, xdr->len - start, actor, data); in pcl_process_nonpayloads()
/linux/include/linux/
H A Dsplice.h73 splice_actor *actor);
75 struct splice_desc *sd, splice_actor *actor);
83 splice_direct_actor *actor);
H A Dfs.h1854 filldir_t actor; member
3608 return ctx->actor(ctx, name, namelen, ctx->pos, ino, type & dt_mask); in dir_emit()
3612 return ctx->actor(ctx, ".", 1, ctx->pos, in dir_emit_dot()
3617 return ctx->actor(ctx, "..", 2, ctx->pos, in dir_emit_dotdot()
/linux/fs/ntfs/
H A Ddir.c594 u8 *name, struct dir_context *actor) in ntfs_filldir() argument
646 name, name_len, actor->pos, mref, dt_type == DT_DIR ? "DIR" : "REG"); in ntfs_filldir()
647 if (!dir_emit(actor, name, name_len, mref, dt_type)) in ntfs_filldir()
718 static int ntfs_readdir(struct file *file, struct dir_context *actor) in ntfs_readdir() argument
738 ndir->mft_no, actor->pos); in ntfs_readdir()
743 if (actor->pos != private->curr_pos) { in ntfs_readdir()
761 if (!dir_emit_dots(file, actor)) in ntfs_readdir()
805 if (actor->pos > vol->mft_record_size && ictx->ia_ni) { in ntfs_readdir()
806 err = ntfs_ia_blocks_readahead(ictx->ia_ni, actor->pos); in ntfs_readdir()
875 err = ntfs_ia_blocks_readahead(ictx->ia_ni, actor->pos); in ntfs_readdir()
[all …]
/linux/fs/smb/server/
H A Dvfs_cache.h141 filldir_t actor) in set_ctx_actor() argument
143 ctx->actor = actor; in set_ctx_actor()
H A Dvfs.c1141 .ctx.actor = __caseless_lookup, in ksmbd_vfs_lookup_in_dir()
/linux/fs/
H A Dsplice.c443 splice_actor *actor) in splice_from_pipe_feed() argument
463 ret = actor(pipe, buf, sd); in splice_from_pipe_feed()
597 splice_actor *actor) in __splice_from_pipe() argument
606 ret = splice_from_pipe_feed(pipe, sd, actor); in __splice_from_pipe()
630 splice_actor *actor) in splice_from_pipe() argument
641 ret = __splice_from_pipe(pipe, &sd, actor); in splice_from_pipe()
1026 splice_direct_actor *actor) in splice_direct_to_actor() argument
1103 ret = actor(pipe, sd); in splice_direct_to_actor()
1183 splice_direct_actor *actor) in do_splice_direct_actor() argument
1202 ret = splice_direct_to_actor(in, &sd, actor); in do_splice_direct_actor()
/linux/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()
249 /* check that the actor called complete_request_key() prior to in construct_key()
/linux/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/fs/overlayfs/
H A Dreaddir.c428 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged()
655 .ctx.actor = ovl_fill_plain, in ovl_dir_read_impure()
772 res = orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real()
801 .ctx.actor = ovl_fill_real, in ovl_iterate_real()
1162 .ctx.actor = ovl_check_d_type, in ovl_check_d_type_supported()
1183 .ctx.actor = ovl_fill_plain, in ovl_workdir_cleanup_recurse()
1264 .ctx.actor = ovl_fill_plain, in ovl_indexdir_cleanup()
/linux/include/linux/sunrpc/
H A Dsvc_rdma_pcl.h126 int (*actor)(const struct xdr_buf *,
/linux/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
/linux/Documentation/driver-api/thermal/
H A Dpower_allocator.rst42 | | | tdp actor
223 maximum power that an actor can consume.
/linux/fs/afs/
H A Ddir.c426 if (ctx->actor == AFS_LOOKUP) { in afs_dir_iterate_block()
431 } else if (ctx->actor == AFS_LOOKUP_ONE) { in afs_dir_iterate_block()
604 .ctx.actor = AFS_LOOKUP_ONE, in afs_do_lookup_one()
791 cookie->ctx.actor = AFS_LOOKUP; in afs_do_lookup()
/linux/fs/fat/
H A Ddir.c805 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
/linux/drivers/ata/
H A Dlibata-scsi.c2006 unsigned int (*actor)(struct ata_device *dev, in ata_scsi_rbuf_fill()
2015 len = actor(dev, cmd, ata_scsi_rbuf); in ata_scsi_rbuf_fill()
/linux/fs/nfsd/
H A Dnfs4recover.c221 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
/linux/Documentation/filesystems/nfs/
H A Dnfsd-maintainer-entry-profile.rst499 - **Outside Contributor** : A contributor who is not a regular actor

12