Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/fnic/
H A Dfnic.h39 #define FNIC_IO_LOCKS 64 /* IO locks: power of 2 */ macro
285 spinlock_t io_req_lock[FNIC_IO_LOCKS]; /* locks for scsi cmnds */
H A Dfnic_main.c754 for (i = 0; i < FNIC_IO_LOCKS; i++) in fnic_probe()
H A Dfnic_scsi.c98 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()