Searched refs:actor (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/fs/squashfs/
H A Dpage_actor.c24 static void *cache_first_page(struct squashfs_page_actor *actor) argument
26 actor->next_page = 1;
27 return actor->buffer[0];
30 static void *cache_next_page(struct squashfs_page_actor *actor) argument
32 if (actor->next_page == actor->pages)
35 return actor->buffer[actor->next_page++];
38 static void cache_finish_page(struct squashfs_page_actor *actor) argument
46 struct squashfs_page_actor *actor local
63 handle_next_page(struct squashfs_page_actor *actor) argument
84 direct_first_page(struct squashfs_page_actor *actor) argument
89 direct_next_page(struct squashfs_page_actor *actor) argument
99 direct_finish_page(struct squashfs_page_actor *actor) argument
108 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); local
[all...]
H A Dpage_actor.h33 static inline struct page *squashfs_page_actor_free(struct squashfs_page_actor *actor) argument
35 struct page *last_page = actor->last_page;
37 kfree(actor->tmp_buffer);
38 kfree(actor);
41 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) argument
43 return actor->squashfs_first_page(actor);
45 static inline void *squashfs_next_page(struct squashfs_page_actor *actor) argument
47 return actor->squashfs_next_page(actor);
49 squashfs_finish_page(struct squashfs_page_actor *actor) argument
53 squashfs_actor_nobuff(struct squashfs_page_actor *actor) argument
[all...]
H A Ddecompressor.c91 struct squashfs_page_actor *actor = NULL; local
104 actor = squashfs_page_actor_init(&buffer, 1, 0);
105 if (actor == NULL) {
111 sizeof(struct squashfs_super_block), 0, NULL, actor);
122 kfree(actor);
H A Dfile_direct.c35 struct squashfs_page_actor *actor; local
67 * Create a "page actor" which will kmap and kunmap the
70 actor = squashfs_page_actor_init_special(msblk, page, pages, expected);
71 if (actor == NULL)
75 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
77 squashfs_page_actor_free(actor);
H A Dcache.c111 &entry->next_index, entry->actor);
210 kfree(cache->entry[i].actor);
272 entry->actor = squashfs_page_actor_init(entry->data,
274 if (entry->actor == NULL) {
411 struct squashfs_page_actor *actor; local
423 actor = squashfs_page_actor_init(data, pages, length);
424 if (actor == NULL) {
433 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor);
436 kfree(actor);
H A Dsquashfs_fs_sb.h40 struct squashfs_page_actor *actor; member in struct:squashfs_cache_entry
H A Dblock.c31 * Returns the amount of bytes copied to the page actor.
34 struct squashfs_page_actor *actor,
43 squashfs_actor_nobuff(actor);
44 actor_addr = squashfs_first_page(actor);
64 actor_addr = squashfs_next_page(actor);
75 squashfs_finish_page(actor);
33 copy_bio_to_actor(struct bio *bio, struct squashfs_page_actor *actor, int offset, int req_length) argument
H A Dfile.c544 struct squashfs_page_actor *actor; local
595 actor = squashfs_page_actor_init_special(msblk, pages, nr_pages,
597 if (!actor)
600 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
602 last_page = squashfs_page_actor_free(actor);
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c234 int (*actor)(const struct xdr_buf *, void *),
243 return actor(&subbuf, data);
250 * @actor: Function to invoke on each non-payload region
251 * @data: Arguments for @actor
263 * The return value of @actor
267 int (*actor)(const struct xdr_buf *, void *),
278 return actor(xdr, data);
281 ret = pcl_process_region(xdr, 0, chunk->ch_position, actor, data);
292 actor, data);
301 ret = pcl_process_region(xdr, start, xdr->len - start, actor, dat
[all...]
/linux-master/include/linux/
H A Dsplice.h34 * actor() private data
73 splice_actor *actor);
75 struct splice_desc *sd, splice_actor *actor);
83 splice_direct_actor *actor);
/linux-master/fs/smb/server/
H A Dvfs_cache.h116 filldir_t actor)
118 ctx->actor = actor;
115 set_ctx_actor(struct dir_context *ctx, filldir_t actor) argument
/linux-master/include/linux/sunrpc/
H A Dsvc_rdma_pcl.h124 int (*actor)(const struct xdr_buf *,
H A Dxdr.h265 extern int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*actor)(struct scatterlist *, void *), void *data);
/linux-master/fs/
H A Dreaddir.c226 .ctx.actor = fillonedir,
316 .ctx.actor = filldir,
399 .ctx.actor = filldir64,
484 .ctx.actor = compat_fillonedir,
567 .ctx.actor = compat_filldir,
H A Dsplice.c428 * @sd: information to @actor
429 * @actor: handler that splices the data
432 * This function loops over the pipe and calls @actor to do the
446 splice_actor *actor)
467 ret = actor(pipe, buf, sd);
589 * __splice_from_pipe - splice data from a pipe to given actor
591 * @sd: information to @actor
592 * @actor: handler that splices the data
596 * @actor to do the actual moving of a single struct pipe_buffer to
602 splice_actor *actor)
445 splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument
601 __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument
633 splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_actor *actor) argument
1030 splice_direct_to_actor(struct file *in, struct splice_desc *sd, splice_direct_actor *actor) argument
1185 do_splice_direct_actor(struct file *in, loff_t *ppos, struct file *out, loff_t *opos, size_t len, unsigned int flags, splice_direct_actor *actor) argument
[all...]
/linux-master/security/keys/
H A Drequest_key.c230 request_key_actor_t actor; local
243 actor = call_sbin_request_key;
245 actor = key->type->request_key;
247 ret = actor(authkey, aux);
249 /* check that the actor called complete_request_key() prior to
/linux-master/arch/powerpc/platforms/powermac/
H A Dpfunc_core.c811 struct device_node *actor = of_node_get(target); local
831 * Ok, now try to find the actor. If we can't find it, we fail,
834 of_node_put(actor);
835 actor = of_find_node_by_phandle(ph);
836 if (actor == NULL)
839 dev = pmf_find_device(actor);
857 of_node_put(actor);
/linux-master/fs/overlayfs/
H A Dreaddir.c353 .ctx.actor = ovl_fill_merge,
573 .ctx.actor = ovl_fill_plain,
689 return orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type);
715 .ctx.actor = ovl_fill_real,
1075 .ctx.actor = ovl_check_d_type,
1096 .ctx.actor = ovl_fill_plain,
1180 .ctx.actor = ovl_fill_plain,
/linux-master/fs/gfs2/
H A Dexport.c92 .ctx.actor = get_name_filldir,
/linux-master/fs/ecryptfs/
H A Dfile.c124 * @ctx: The actor to feed the entries to
132 .ctx.actor = ecryptfs_filldir,
/linux-master/net/ethtool/
H A Dioctl.c2291 u32 cmd, u32 (*actor)(struct net_device *))
2295 if (!actor)
2298 edata.data = actor(dev);
2306 void (*actor)(struct net_device *, u32))
2310 if (!actor)
2316 actor(dev, edata.data);
2321 int (*actor)(struct net_device *, u32))
2325 if (!actor)
2331 return actor(dev, edata.data);
/linux-master/fs/exportfs/
H A Dexpfs.c288 .ctx.actor = filldir_one,
/linux-master/fs/reiserfs/
H A Dxattr.c246 .ctx.actor = fill_with_dentries,
852 .ctx.actor = listxattr_filler,
/linux-master/net/sunrpc/
H A Dxdr.c2178 int (*actor)(struct scatterlist *, void *), void *data)
2193 ret = actor(sg, data);
2216 ret = actor(sg, data);
2233 ret = actor(sg, data);
/linux-master/fs/afs/
H A Ddir.c480 (ctx->actor == afs_lookup_filldir ||
481 ctx->actor == afs_lookup_one_filldir)?
614 .ctx.actor = afs_lookup_one_filldir,
810 cookie->ctx.actor = afs_lookup_filldir;

Completed in 233 milliseconds

12