ram.c (b3b515bbd689ba3937cac2dd3fc55057f8c50329) | ram.c (9a4e1398208d147a9240731a1f8cfe7d8cc4c553) |
---|---|
1/* 2 * RAM Oops/Panic logger 3 * 4 * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com> 5 * Copyright (C) 2011 Kees Cook <keescook@chromium.org> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 119 unchanged lines hidden (view full) --- 128 *typep = type; 129 *id = i; 130 131 return prz; 132} 133 134static ssize_t ramoops_pstore_read(u64 *id, enum pstore_type_id *type, 135 int *count, struct timespec *time, | 1/* 2 * RAM Oops/Panic logger 3 * 4 * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com> 5 * Copyright (C) 2011 Kees Cook <keescook@chromium.org> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 119 unchanged lines hidden (view full) --- 128 *typep = type; 129 *id = i; 130 131 return prz; 132} 133 134static ssize_t ramoops_pstore_read(u64 *id, enum pstore_type_id *type, 135 int *count, struct timespec *time, |
136 char **buf, struct pstore_info *psi) | 136 char **buf, bool *compressed, 137 struct pstore_info *psi) |
137{ 138 ssize_t size; 139 ssize_t ecc_notice_size; 140 struct ramoops_context *cxt = psi->data; 141 struct persistent_ram_zone *prz; 142 143 prz = ramoops_get_next_prz(cxt->przs, &cxt->dump_read_cnt, 144 cxt->max_dump_cnt, id, type, --- 434 unchanged lines hidden --- | 138{ 139 ssize_t size; 140 ssize_t ecc_notice_size; 141 struct ramoops_context *cxt = psi->data; 142 struct persistent_ram_zone *prz; 143 144 prz = ramoops_get_next_prz(cxt->przs, &cxt->dump_read_cnt, 145 cxt->max_dump_cnt, id, type, --- 434 unchanged lines hidden --- |