Home
last modified time | relevance | path

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

/linux-4.1.27/fs/squashfs/
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(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_CACHE_SIZE; in squashfs_page_actor_init()
[all …]
Dpage_actor.h22 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); in squashfs_page_actor_init() local
24 if (actor == NULL) in squashfs_page_actor_init()
27 actor->length = length ? : pages * PAGE_CACHE_SIZE; in squashfs_page_actor_init()
28 actor->page = page; in squashfs_page_actor_init()
29 actor->pages = pages; in squashfs_page_actor_init()
30 actor->next_page = 0; in squashfs_page_actor_init()
31 return actor; in squashfs_page_actor_init()
34 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) in squashfs_first_page() argument
36 actor->next_page = 1; in squashfs_first_page()
37 return actor->page[0]; in squashfs_first_page()
[all …]
Ddecompressor.c98 struct squashfs_page_actor *actor = NULL; in get_comp_opts() local
111 actor = squashfs_page_actor_init(&buffer, 1, 0); in get_comp_opts()
112 if (actor == NULL) { in get_comp_opts()
118 sizeof(struct squashfs_super_block), 0, NULL, actor); in get_comp_opts()
129 kfree(actor); in get_comp_opts()
Dfile_direct.c39 struct squashfs_page_actor *actor; in squashfs_readpage_block() local
55 actor = squashfs_page_actor_init_special(page, pages, 0); in squashfs_readpage_block()
56 if (actor == NULL) in squashfs_readpage_block()
94 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readpage_block()
115 kfree(actor); in squashfs_readpage_block()
134 kfree(actor); in squashfs_readpage_block()
Dcache.c124 &entry->next_index, entry->actor); in squashfs_cache_get()
223 kfree(cache->entry[i].actor); in squashfs_cache_delete()
285 entry->actor = squashfs_page_actor_init(entry->data, in squashfs_cache_init()
287 if (entry->actor == NULL) { in squashfs_cache_init()
421 struct squashfs_page_actor *actor; in squashfs_read_table() local
433 actor = squashfs_page_actor_init(data, pages, length); in squashfs_read_table()
434 if (actor == NULL) { in squashfs_read_table()
443 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor); in squashfs_read_table()
446 kfree(actor); in squashfs_read_table()
Dsquashfs_fs_sb.h53 struct squashfs_page_actor *actor; member
/linux-4.1.27/fs/ntfs/
Ddir.c1027 u8 *name, struct dir_context *actor) in ntfs_filldir() argument
1069 "0x%lx, DT_%s.", name, name_len, actor->pos, mref, in ntfs_filldir()
1071 if (!dir_emit(actor, name, name_len, mref, dt_type)) in ntfs_filldir()
1099 static int ntfs_readdir(struct file *file, struct dir_context *actor) in ntfs_readdir() argument
1119 vdir->i_ino, actor->pos); in ntfs_readdir()
1123 if (actor->pos >= i_size + vol->mft_record_size) in ntfs_readdir()
1126 if (!dir_emit_dots(file, actor)) in ntfs_readdir()
1140 if (actor->pos >= vol->mft_record_size) in ntfs_readdir()
1155 ir_pos = (s64)actor->pos; in ntfs_readdir()
1211 actor->pos = (u8*)ie - (u8*)ir; in ntfs_readdir()
[all …]
/linux-4.1.27/fs/
Dreaddir.c116 .ctx.actor = fillonedir, in SYSCALL_DEFINE3()
202 .ctx.actor = filldir, in SYSCALL_DEFINE3()
283 .ctx.actor = filldir64, in SYSCALL_DEFINE3()
Dsplice.c755 splice_actor *actor) in splice_from_pipe_feed() argument
774 ret = actor(pipe, buf, sd); in splice_from_pipe_feed()
883 splice_actor *actor) in __splice_from_pipe() argument
891 ret = splice_from_pipe_feed(pipe, sd, actor); in __splice_from_pipe()
915 splice_actor *actor) in splice_from_pipe() argument
926 ret = __splice_from_pipe(pipe, &sd, actor); in splice_from_pipe()
1161 splice_direct_actor *actor) in splice_direct_to_actor() argument
1237 ret = actor(pipe, sd); in splice_direct_to_actor()
Dcompat.c890 .ctx.actor = compat_fillonedir, in COMPAT_SYSCALL_DEFINE3()
970 .ctx.actor = compat_filldir, in COMPAT_SYSCALL_DEFINE3()
1057 .ctx.actor = compat_filldir64, in COMPAT_SYSCALL_DEFINE3()
/linux-4.1.27/security/keys/
Drequest_key.c208 request_key_actor_t actor; in construct_key() local
230 actor = call_sbin_request_key; in construct_key()
232 actor = key->type->request_key; in construct_key()
234 ret = actor(cons, "create", aux); in construct_key()
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dpfunc_core.c810 struct device_node *actor = of_node_get(target); in __pmf_find_function() local
833 of_node_put(actor); in __pmf_find_function()
834 actor = of_find_node_by_phandle(ph); in __pmf_find_function()
835 if (actor == NULL) in __pmf_find_function()
838 dev = pmf_find_device(actor); in __pmf_find_function()
856 of_node_put(actor); in __pmf_find_function()
/linux-4.1.27/net/core/
Dethtool.c1413 u32 cmd, u32 (*actor)(struct net_device *)) in ethtool_get_value()
1417 if (!actor) in ethtool_get_value()
1420 edata.data = actor(dev); in ethtool_get_value()
1428 void (*actor)(struct net_device *, u32)) in ethtool_set_value_void()
1432 if (!actor) in ethtool_set_value_void()
1438 actor(dev, edata.data); in ethtool_set_value_void()
1443 int (*actor)(struct net_device *, u32)) in ethtool_set_value()
1447 if (!actor) in ethtool_set_value()
1453 return actor(dev, edata.data); in ethtool_set_value()
/linux-4.1.27/fs/gfs2/
Dexport.c95 .ctx.actor = get_name_filldir, in gfs2_get_name()
/linux-4.1.27/include/linux/sunrpc/
Dxdr.h231 extern int xdr_process_buf(struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*actor)…
/linux-4.1.27/net/sunrpc/
Dxdr.c1451 int (*actor)(struct scatterlist *, void *), void *data) in xdr_process_buf()
1466 ret = actor(sg, data); in xdr_process_buf()
1489 ret = actor(sg, data); in xdr_process_buf()
1506 ret = actor(sg, data); in xdr_process_buf()
/linux-4.1.27/fs/ecryptfs/
Dfile.c110 .ctx.actor = ecryptfs_filldir, in ecryptfs_readdir()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c238 .ctx.actor = ll_nfs_get_name_filldir, in ll_get_name()
/linux-4.1.27/fs/exportfs/
Dexpfs.c282 .ctx.actor = filldir_one, in get_name()
/linux-4.1.27/fs/reiserfs/
Dxattr.c241 .ctx.actor = fill_with_dentries, in reiserfs_for_each_xattr()
872 .ctx.actor = listxattr_filler, in reiserfs_listxattr()
/linux-4.1.27/fs/afs/
Ddir.c305 ctx->actor == afs_lookup_filldir ? in afs_dir_iterate_block()
431 .ctx.actor = afs_lookup_filldir, in afs_do_lookup()
/linux-4.1.27/include/linux/
Dfs.h1555 const filldir_t actor; member
2969 return ctx->actor(ctx, name, namelen, ctx->pos, ino, type) == 0; in dir_emit()
2973 return ctx->actor(ctx, ".", 1, ctx->pos, in dir_emit_dot()
2978 return ctx->actor(ctx, "..", 2, ctx->pos, in dir_emit_dotdot()
/linux-4.1.27/fs/overlayfs/
Dreaddir.c289 .ctx.actor = ovl_fill_merge, in ovl_dir_read_merged()
/linux-4.1.27/fs/hppfs/
Dhppfs.c569 .ctx.actor = hppfs_filldir, in hppfs_readdir()
/linux-4.1.27/fs/nfsd/
Dnfs4recover.c272 .ctx.actor = nfsd4_build_namelist, in nfsd4_list_rec_dir()
Dvfs.c1878 .ctx.actor = nfsd_buffered_filldir, in nfsd_buffered_readdir()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c152 .ctx.actor = osf_filldir, in SYSCALL_DEFINE4()
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c1954 unsigned int (*actor)(struct ata_scsi_args *args, u8 *rbuf)) in ata_scsi_rbuf_fill()
1962 rc = actor(args, rbuf); in ata_scsi_rbuf_fill()
/linux-4.1.27/fs/fat/
Ddir.c759 .ctx.actor = filldir, in FAT_IOCTL_FILLDIR_FUNC()
/linux-4.1.27/Documentation/filesystems/caching/
Dcachefiles.txt325 fsgid and actor security label) that the process acts as - without changing the
/linux-4.1.27/fs/ocfs2/
Djournal.c2041 .ctx.actor = ocfs2_orphan_filldir, in ocfs2_queue_orphans()
Ddir.c2155 .ctx.actor = ocfs2_empty_dir_filldir, in ocfs2_empty_dir()
/linux-4.1.27/security/selinux/
Dhooks.c1489 static int cred_has_perm(const struct cred *actor, in cred_has_perm() argument
1493 u32 asid = cred_sid(actor), tsid = cred_sid(target); in cred_has_perm()