Searched refs:dump_size (Results 1 – 1 of 1) sorted by relevance
505 size_t dump_size, regs_size; in catpt_coredump() local514 dump_size = resource_size(&cdev->dram); in catpt_coredump()515 dump_size += resource_size(&cdev->iram); in catpt_coredump()516 dump_size += regs_size; in catpt_coredump()518 dump_size += 4 * sizeof(*hdr) + CATPT_DUMP_HASH_SIZE; in catpt_coredump()520 dump = vzalloc(dump_size); in catpt_coredump()530 hdr->size = dump_size - sizeof(*hdr); in catpt_coredump()588 dev_coredumpv(cdev->dev, dump, dump_size, GFP_KERNEL); in catpt_coredump()