/* * Copyright (c) 2013 * Phillip Lougher <phillip@squashfs.org.uk> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/pagemap.h> #include "page_actor.h" /* * This file contains implementations of page_actor for decompressing into * an intermediate buffer, and for decompressing directly into the * page cache. * * Calling code should avoid sleeping between calls to squashfs_first_page() * and squashfs_finish_page(). */ /* Implementation of page_actor for decompressing into intermediate buffer */
static void *cache_first_page(struct squashfs_page_actor *actor) { actor->next_page = 1; return actor->buffer[0]; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 26 | 100.00% | 1 | 100.00% |
Total | 26 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 92 | 98.92% | 1 | 50.00% |
Kirill A. Shutemov | 1 | 1.08% | 1 | 50.00% |
Total | 93 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 33 | 100.00% | 1 | 100.00% |
Total | 33 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 53 | 100.00% | 1 | 100.00% |
Total | 53 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 99 | 99.00% | 1 | 50.00% |
Kirill A. Shutemov | 1 | 1.00% | 1 | 50.00% |
Total | 100 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Phillip Lougher | 391 | 99.49% | 1 | 50.00% |
Kirill A. Shutemov | 2 | 0.51% | 1 | 50.00% |
Total | 393 | 100.00% | 2 | 100.00% |