/fs/squashfs/ |
H A D | page_actor.c | 24 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 62 direct_first_page(struct squashfs_page_actor *actor) argument 68 direct_next_page(struct squashfs_page_actor *actor) argument 77 direct_finish_page(struct squashfs_page_actor *actor) argument 86 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); local [all...] |
H A D | page_actor.h | 22 struct squashfs_page_actor *actor = kmalloc(sizeof(*actor), GFP_KERNEL); local 24 if (actor == NULL) 27 actor->length = length ? : pages * PAGE_CACHE_SIZE; 28 actor->page = page; 29 actor->pages = pages; 30 actor->next_page = 0; 31 return actor; 34 static inline void *squashfs_first_page(struct squashfs_page_actor *actor) argument 36 actor 40 squashfs_next_page(struct squashfs_page_actor *actor) argument 46 squashfs_finish_page(struct squashfs_page_actor *actor) argument 68 squashfs_first_page(struct squashfs_page_actor *actor) argument 72 squashfs_next_page(struct squashfs_page_actor *actor) argument 76 squashfs_finish_page(struct squashfs_page_actor *actor) argument [all...] |
H A D | decompressor.c | 98 struct squashfs_page_actor *actor = NULL; local 111 actor = squashfs_page_actor_init(&buffer, 1, 0); 112 if (actor == NULL) { 118 sizeof(struct squashfs_super_block), 0, NULL, actor); 129 kfree(actor);
|
H A D | file_direct.c | 39 struct squashfs_page_actor *actor; local 52 * Create a "page actor" which will kmap and kunmap the 55 actor = squashfs_page_actor_init_special(page, pages, 0); 56 if (actor == NULL) 94 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); 115 kfree(actor); 134 kfree(actor);
|
H A D | cache.c | 124 &entry->next_index, entry->actor); 223 kfree(cache->entry[i].actor); 285 entry->actor = squashfs_page_actor_init(entry->data, 287 if (entry->actor == NULL) { 421 struct squashfs_page_actor *actor; local 433 actor = squashfs_page_actor_init(data, pages, length); 434 if (actor == NULL) { 443 SQUASHFS_COMPRESSED_BIT_BLOCK, NULL, actor); 446 kfree(actor);
|
H A D | squashfs_fs_sb.h | 53 struct squashfs_page_actor *actor; member in struct:squashfs_cache_entry
|
/fs/ntfs/ |
H A D | dir.c | 1011 * @actor: what to feed the entries to 1027 u8 *name, struct dir_context *actor) 1069 "0x%lx, DT_%s.", name, name_len, actor->pos, mref, 1071 if (!dir_emit(actor, name, name_len, mref, dt_type)) 1099 static int ntfs_readdir(struct file *file, struct dir_context *actor) argument 1119 vdir->i_ino, actor->pos); 1123 if (actor->pos >= i_size + vol->mft_record_size) 1126 if (!dir_emit_dots(file, actor)) 1140 if (actor->pos >= vol->mft_record_size) 1155 ir_pos = (s64)actor 1025 ntfs_filldir(ntfs_volume *vol, ntfs_inode *ndir, struct page *ia_page, INDEX_ENTRY *ie, u8 *name, struct dir_context *actor) argument [all...] |
/fs/ |
H A D | splice.c | 732 * @sd: information to @actor 733 * @actor: handler that splices the data 736 * This function loops over the pipe and calls @actor to do the 750 splice_actor *actor) 769 ret = actor(pipe, buf, sd); 865 * __splice_from_pipe - splice data from a pipe to given actor 867 * @sd: information to @actor 868 * @actor: handler that splices the data 872 * @actor to do the actual moving of a single struct pipe_buffer to 878 splice_actor *actor) 749 splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument 877 __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument 908 splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_actor *actor) argument 1170 splice_direct_to_actor(struct file *in, struct splice_desc *sd, splice_direct_actor *actor) argument [all...] |