Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 2 of 2) sorted by relevance

/kernel/power/
Dswap.c690 struct crc_data *crc = NULL; in save_image_lzo() local
717 crc = kmalloc(sizeof(*crc), GFP_KERNEL); in save_image_lzo()
718 if (!crc) { in save_image_lzo()
723 memset(crc, 0, offsetof(struct crc_data, go)); in save_image_lzo()
746 init_waitqueue_head(&crc->go); in save_image_lzo()
747 init_waitqueue_head(&crc->done); in save_image_lzo()
750 crc->crc32 = &handle->crc32; in save_image_lzo()
752 crc->unc[thr] = data[thr].unc; in save_image_lzo()
753 crc->unc_len[thr] = &data[thr].unc_len; in save_image_lzo()
756 crc->thr = kthread_run(crc32_threadfn, crc, "image_crc32"); in save_image_lzo()
[all …]
/kernel/
Dmodule.c446 const s32 *crc; member
460 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
1241 static u32 resolve_rel_crc(const s32 *crc) in resolve_rel_crc() argument
1243 return *(u32 *)((void *)crc + *crc); in resolve_rel_crc()
1249 const s32 *crc) in check_version() argument
1257 if (!crc) in check_version()
1275 crcval = resolve_rel_crc(crc); in check_version()
1277 crcval = *crc; in check_version()
1278 if (versions[i].crc == crcval) in check_version()
1281 crcval, versions[i].crc); in check_version()
[all …]