Home
last modified time | relevance | path

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

/drivers/scsi/snic/
Dsnic.h52 #define SNIC_IO_LOCKS 64 /* IO locks: power of 2 */ macro
306 ____cacheline_aligned spinlock_t io_req_lock[SNIC_IO_LOCKS];
Dsnic_main.c560 for (i = 0; i < SNIC_IO_LOCKS; i++) in snic_probe()
Dsnic_scsi.c114 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash()
122 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()