Searched refs:SNIC_IO_LOCKS (Results 1 – 3 of 3) sorted by relevance
38 #define SNIC_IO_LOCKS 64 /* IO locks: power of 2 */ macro292 ____cacheline_aligned spinlock_t io_req_lock[SNIC_IO_LOCKS];
546 for (i = 0; i < SNIC_IO_LOCKS; i++) in snic_probe()
100 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash()108 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()