Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c776 static unsigned int sdebug_unmap_alignment = DEF_UNMAP_ALIGNMENT; variable
1492 if (sdebug_unmap_alignment) { in inquiry_vpd_b0()
1493 put_unaligned_be32(sdebug_unmap_alignment, &arr[28]); in inquiry_vpd_b0()
3499 if (sdebug_unmap_alignment) in lba_to_map_index()
3500 lba += sdebug_unmap_granularity - sdebug_unmap_alignment; in lba_to_map_index()
3509 if (sdebug_unmap_alignment) in map_index_to_lba()
3510 lba -= sdebug_unmap_granularity - sdebug_unmap_alignment; in map_index_to_lba()
5759 module_param_named(unmap_alignment, sdebug_unmap_alignment, int, S_IRUGO);
6974 if (sdebug_unmap_alignment && in scsi_debug_init()
6976 sdebug_unmap_alignment) { in scsi_debug_init()