Lines Matching defs:max
113 * max sequence numbers
551 * @max_cmdsn: max cmd sn in cpu format
1389 "received invalid itt index %u (max cmds "
2763 * Pre-allocate a pool of @max items of @item_size. By default, the pool
2769 iscsi_pool_init(struct iscsi_pool *q, int max, void ***items, int item_size)
2775 q->max = max;
2781 q->pool = kvcalloc(num_arrays * max, sizeof(void *), GFP_KERNEL);
2785 kfifo_init(&q->queue, (void*)q->pool, max * sizeof(void*));
2787 for (i = 0; i < max; i++) {
2790 q->max = i;
2797 *items = q->pool + max;
2798 memcpy(*items, q->pool, max * sizeof(void *));
2813 for (i = 0; i < q->max; i++)
2833 printk(KERN_ERR "iscsi: invalid max cmds of %d. Must be a power of two that is at least %d.\n",
2839 printk(KERN_INFO "iscsi: invalid max cmds of %d. Must be a power of 2 less than or equal to %d. Using %d.\n",
2848 printk(KERN_ERR "iscsi: invalid max cmds of %d. Must be a power of 2 greater than %d.\n", requested_cmds_max, ISCSI_TOTAL_CMDS_MIN);
2852 printk(KERN_INFO "iscsi: invalid max cmds %d. Must be a power of 2. Rounding max cmds down to %d.\n",
2860 printk(KERN_INFO "iscsi: requested max cmds %u is higher than driver limit. Using driver limit %u\n",
3464 * we have to reset max/exp cmdsn so we can see the new values.