| /linux/fs/squashfs/ |
| H A 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 …]
|
| H A D | page_actor.h | 34 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 D | decompressor.c | 91 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 D | cache.c | 111 &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 D | file.c | 512 struct squashfs_page_actor *actor; in squashfs_readahead_fragment() local 520 actor = squashfs_page_actor_init_special(msblk, page, pages, in squashfs_readahead_fragment() 522 if (!actor) in squashfs_readahead_fragment() 525 squashfs_actor_nobuff(actor); in squashfs_readahead_fragment() 526 addr = squashfs_first_page(actor); in squashfs_readahead_fragment() 540 addr = squashfs_next_page(actor); in squashfs_readahead_fragment() 543 last_page = squashfs_page_actor_free(actor); in squashfs_readahead_fragment() 566 squashfs_page_actor_free(actor); in squashfs_readahead_fragment() 581 struct squashfs_page_actor *actor; in squashfs_readahead() local 626 actor = squashfs_page_actor_init_special(msblk, pages, nr_pages, in squashfs_readahead() [all …]
|
| H A D | squashfs_fs_sb.h | 40 struct squashfs_page_actor *actor; member
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_pcl.c | 234 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/include/linux/ |
| H A D | splice.h | 73 splice_actor *actor); 75 struct splice_desc *sd, splice_actor *actor); 83 splice_direct_actor *actor);
|
| /linux/fs/smb/server/ |
| H A D | vfs_cache.h | 120 filldir_t actor) in set_ctx_actor() argument 122 ctx->actor = actor; in set_ctx_actor()
|
| /linux/fs/ |
| H A D | splice.c | 444 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() 1028 splice_direct_actor *actor) in splice_direct_to_actor() argument 1105 ret = actor(pipe, sd); in splice_direct_to_actor() 1185 splice_direct_actor *actor) in do_splice_direct_actor() argument 1204 ret = splice_direct_to_actor(in, &sd, actor); in do_splice_direct_actor()
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | pfunc_core.c | 811 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/security/keys/ |
| H A D | request_key.c | 230 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/include/linux/sunrpc/ |
| H A D | svc_rdma_pcl.h | 124 int (*actor)(const struct xdr_buf *,
|
| H A D | xdr.h | 263 …f(const struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*actor)(struct scatterlis…
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | tsx_async_abort.rst | 61 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 D | power_allocator.rst | 42 | | | tdp actor 223 maximum power that an actor can consume.
|
| /linux/fs/ecryptfs/ |
| H A D | file.c | 130 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
|
| /linux/fs/exportfs/ |
| H A D | expfs.c | 286 .ctx.actor = filldir_one, in get_name()
|
| /linux/net/sunrpc/ |
| H A D | xdr.c | 2154 int (*actor)(struct scatterlist *, void *), void *data) in xdr_process_buf() 2169 ret = actor(sg, data); in xdr_process_buf() 2192 ret = actor(sg, data); in xdr_process_buf() 2209 ret = actor(sg, data); in xdr_process_buf()
|
| /linux/fs/afs/ |
| H A D | dir.c | 439 (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()
|
| /linux/arch/alpha/kernel/ |
| H A D | osf_sys.c | 157 .ctx.actor = osf_filldir, in SYSCALL_DEFINE4()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | slab-depot.c | 3399 struct slab_actor *actor = &allocator->slab_actor; in slab_action_callback() local 3401 if (--actor->slab_action_count == 0) { in slab_action_callback() 3402 actor->callback(completion); in slab_action_callback()
|
| /linux/fs/fat/ |
| H A D | dir.c | 778 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 1796 unsigned int (*actor)(struct ata_device *dev, in ata_scsi_rbuf_fill() 1805 len = actor(dev, cmd, ata_scsi_rbuf); in ata_scsi_rbuf_fill()
|
| /linux/fs/nfsd/ |
| H A D | nfs4recover.c | 220 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
|