Home
last modified time | relevance | path

Searched refs:max_cmds (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/dev/ips/
H A Dips.c119 for(i = 0; i < sc->max_cmds; i++){ in ips_cmdqueue_free()
150 sc->max_cmds, M_DEVBUF, M_NOWAIT|M_ZERO); in ips_cmdqueue_init()
155 for(i = 0; i < sc->max_cmds; i++){ in ips_cmdqueue_init()
310 for(i = 0; i < sc->max_cmds; i++){ in ips_timeout()
385 sc->max_cmds = 1; in ips_adapter_init()
413 sc->max_cmds = min(128, sc->adapter_info.max_concurrent_cmds); in ips_adapter_init()
415 sc->max_cmds = 32; in ips_adapter_init()
H A Dips.h141 u_int8_t max_cmds; member
/freebsd-12.1/sys/dev/mthca/
H A Dmthca_cmd.c559 dev->cmd.context = kmalloc(dev->cmd.max_cmds * in mthca_cmd_use_events()
565 for (i = 0; i < dev->cmd.max_cmds; ++i) { in mthca_cmd_use_events()
570 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1; in mthca_cmd_use_events()
573 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events()
577 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events()
598 for (i = 0; i < dev->cmd.max_cmds; ++i) in mthca_cmd_use_polling()
823 dev->cmd.max_cmds = 1 << lg; in mthca_QUERY_FW()
826 (unsigned long long) dev->fw_ver, dev->cmd.max_cmds); in mthca_QUERY_FW()
H A Dmthca_dev.h127 int max_cmds; member
/freebsd-12.1/sys/dev/iser/
H A Dicl_iser.h442 u16 max_cmds; member
H A Diser_verbs.c466 iser_conn->max_cmds = in iser_create_ib_conn_res()
470 iser_conn->max_cmds = in iser_create_ib_conn_res()
/freebsd-12.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2625 priv->cmd.context = kmalloc(priv->cmd.max_cmds * in mlx4_cmd_use_events()
2632 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_use_events()
2642 priv->cmd.context[priv->cmd.max_cmds - 1].next = -1; in mlx4_cmd_use_events()
2645 for (i = 0; i != priv->cmd.max_cmds; i++) in mlx4_cmd_use_events()
2649 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events()
2675 for (i = 0; i < priv->cmd.max_cmds; ++i) in mlx4_cmd_use_polling()
2752 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_wake_completions()
H A Dmlx4.h623 int max_cmds; member
H A Dmlx4_fw.c1672 cmd->max_cmds = 1 << lg; in mlx4_QUERY_FW()
1678 cmd_if_rev, cmd->max_cmds); in mlx4_QUERY_FW()
H A Dmlx4_main.c1973 priv->cmd.max_cmds = 1; in mlx4_init_slave()
/freebsd-12.1/sys/dev/mfi/
H A Dmfireg.h839 uint16_t max_cmds; member
H A Dmfi.c143 SYSCTL_INT(_hw_mfi, OID_AUTO, max_cmds, CTLFLAG_RDTUN, &mfi_max_cmds,