Lines Matching refs:dif_storep
630 static struct sd_dif_tuple *dif_storep; /* protection info */ variable
684 return dif_storep + sector; in dif_store()
2477 const void *dif_store_end = dif_storep + sdebug_store_sectors; in dif_copy_prot()
2481 resid = sectors * sizeof(*dif_storep); in dif_copy_prot()
2504 memcpy(paddr + len - rest, dif_storep, rest); in dif_copy_prot()
2506 memcpy(dif_storep, paddr + len - rest, rest); in dif_copy_prot()
2509 sector += len / sizeof(*dif_storep); in dif_copy_prot()
2853 if (dif_storep) { in unmap_region()
2854 memset(dif_storep + lba, 0xff, in unmap_region()
2855 sizeof(*dif_storep) * in unmap_region()
4879 dif_storep = vmalloc(dif_size); in scsi_debug_init()
4881 pr_err("dif_storep %u bytes @ %p\n", dif_size, dif_storep); in scsi_debug_init()
4883 if (dif_storep == NULL) { in scsi_debug_init()
4889 memset(dif_storep, 0xff, dif_size); in scsi_debug_init()
4966 vfree(dif_storep); in scsi_debug_init()
4984 vfree(dif_storep); in scsi_debug_exit()