Searched refs:max_cmds (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Dcmd.c378 priv->cmd.context = kmalloc(priv->cmd.max_cmds *
384 for (i = 0; i < priv->cmd.max_cmds; ++i) {
389 priv->cmd.context[priv->cmd.max_cmds - 1].next = -1;
392 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds);
396 priv->cmd.token_mask < priv->cmd.max_cmds;
418 for (i = 0; i < priv->cmd.max_cmds; ++i)
H A Dmlx4.h175 int max_cmds; member in struct:mlx4_cmd
H A Dfw.c668 cmd->max_cmds = 1 << lg;
674 cmd_if_rev, cmd->max_cmds);
/freebsd-9.3-release/sys/dev/ips/
H A Dips.c113 for(i = 0; i < sc->max_cmds; i++){
144 sc->max_cmds, M_DEVBUF, M_NOWAIT|M_ZERO);
149 for(i = 0; i < sc->max_cmds; i++){
304 for(i = 0; i < sc->max_cmds; i++){
380 sc->max_cmds = 1;
409 sc->max_cmds = min(128, sc->adapter_info.max_concurrent_cmds);
411 sc->max_cmds = 32;
H A Dips.h141 u_int8_t max_cmds; member in struct:ips_softc
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c516 dev->cmd.context = kmalloc(dev->cmd.max_cmds *
522 for (i = 0; i < dev->cmd.max_cmds; ++i) {
527 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1;
530 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds);
534 dev->cmd.token_mask < dev->cmd.max_cmds;
555 for (i = 0; i < dev->cmd.max_cmds; ++i)
780 dev->cmd.max_cmds = 1 << lg;
783 (unsigned long long) dev->fw_ver, dev->cmd.max_cmds);
H A Dmthca_dev.h125 int max_cmds; member in struct:mthca_cmd
/freebsd-9.3-release/sys/dev/mfi/
H A Dmfireg.h835 uint16_t max_cmds; member in struct:mfi_ctrl_info
H A Dmfi.c145 TUNABLE_INT("hw.mfi.max_cmds", &mfi_max_cmds);
146 SYSCTL_INT(_hw_mfi, OID_AUTO, max_cmds, CTLFLAG_RDTUN, &mfi_max_cmds,

Completed in 87 milliseconds