Lines Matching refs:dif_storep
690 static struct t10_pi_tuple *dif_storep; /* protection info */ variable
749 return dif_storep + sector; in dif_store()
2592 const void *dif_store_end = dif_storep + sdebug_store_sectors; in dif_copy_prot()
2596 resid = sectors * sizeof(*dif_storep); in dif_copy_prot()
2619 memcpy(paddr + len - rest, dif_storep, rest); in dif_copy_prot()
2621 memcpy(dif_storep, paddr + len - rest, rest); in dif_copy_prot()
2624 sector += len / sizeof(*dif_storep); in dif_copy_prot()
2963 if (dif_storep) { in unmap_region()
2964 memset(dif_storep + lba, 0xff, in unmap_region()
2965 sizeof(*dif_storep) * in unmap_region()
5426 dif_storep = vmalloc(dif_size); in scsi_debug_init()
5428 pr_err("dif_storep %u bytes @ %p\n", dif_size, dif_storep); in scsi_debug_init()
5430 if (dif_storep == NULL) { in scsi_debug_init()
5436 memset(dif_storep, 0xff, dif_size); in scsi_debug_init()
5515 vfree(dif_storep); in scsi_debug_init()
5535 vfree(dif_storep); in scsi_debug_exit()