Searched refs:FNIC_IO_LOCKS (Results 1 – 3 of 3) sorted by relevance
39 #define FNIC_IO_LOCKS 64 /* IO locks: power of 2 */ macro285 spinlock_t io_req_lock[FNIC_IO_LOCKS]; /* locks for scsi cmnds */
754 for (i = 0; i < FNIC_IO_LOCKS; i++) in fnic_probe()
98 u32 hash = scsi_cmd_to_rq(sc)->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash()106 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)]; in fnic_io_lock_tag()