1/* 2 * Copyright 2016, NICTA 3 * 4 * This software may be distributed and modified according to the terms of 5 * the GNU General Public License version 2. Note that NO WARRANTY is provided. 6 * See "LICENSE_GPLv2.txt" for details. 7 * 8 * @TAG(NICTA_GPL) 9 */ 10 11#include "bilbyfs.h" 12 13void dump_sum_entry( struct obj_sum_entry *entry) 14{ 15 bilbyfs_err("{id=0x%llx,sqnum=%llu,len=%u,is_del=%d,offs=%u,count=%u}\n", 16 le64_to_cpu(entry->id), le64_to_cpu(entry->sqnum), le32_to_cpu(entry->len), 17obj_sum_entry_is_del(entry), obj_sum_entry_offs(entry), le16_to_cpu(entry->count)); 18} 19 20void dump_obj_addr( struct obj_addr *addr) 21{ 22 bilbyfs_err("{lnum=%u,offs=%u,len=%u,sqnum=%llu}\n", addr->lnum, addr->offs, addr->len, addr->sqnum); 23} 24 25