Lines Matching refs:dif_storep
682 static struct t10_pi_tuple *dif_storep; /* protection info */ variable
741 return dif_storep + sector; in dif_store()
2594 const void *dif_store_end = dif_storep + sdebug_store_sectors; in dif_copy_prot()
2598 resid = sectors * sizeof(*dif_storep); in dif_copy_prot()
2621 memcpy(paddr + len - rest, dif_storep, rest); in dif_copy_prot()
2623 memcpy(dif_storep, paddr + len - rest, rest); in dif_copy_prot()
2626 sector += len / sizeof(*dif_storep); in dif_copy_prot()
2956 if (dif_storep) { in unmap_region()
2957 memset(dif_storep + lba, 0xff, in unmap_region()
2958 sizeof(*dif_storep) * in unmap_region()
5339 dif_storep = vmalloc(dif_size); in scsi_debug_init()
5341 pr_err("dif_storep %u bytes @ %p\n", dif_size, dif_storep); in scsi_debug_init()
5343 if (dif_storep == NULL) { in scsi_debug_init()
5349 memset(dif_storep, 0xff, dif_size); in scsi_debug_init()
5428 vfree(dif_storep); in scsi_debug_init()
5448 vfree(dif_storep); in scsi_debug_exit()