Lines Matching defs:max
101 * max sequence numbers
532 * @max_cmdsn: max cmd sn in cpu format
1317 "received invalid itt index %u (max cmds "
2640 * Pre-allocate a pool of @max items of @item_size. By default, the pool
2646 iscsi_pool_init(struct iscsi_pool *q, int max, void ***items, int item_size)
2652 q->max = max;
2658 q->pool = kvcalloc(num_arrays * max, sizeof(void *), GFP_KERNEL);
2662 kfifo_init(&q->queue, (void*)q->pool, max * sizeof(void*));
2664 for (i = 0; i < max; i++) {
2667 q->max = i;
2674 *items = q->pool + max;
2675 memcpy(*items, q->pool, max * sizeof(void *));
2690 for (i = 0; i < q->max; i++)
2710 printk(KERN_ERR "iscsi: invalid max cmds of %d. Must be a power of two that is at least %d.\n",
2716 printk(KERN_INFO "iscsi: invalid max cmds of %d. Must be a power of 2 less than or equal to %d. Using %d.\n",
2725 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);
2729 printk(KERN_INFO "iscsi: invalid max cmds %d. Must be a power of 2. Rounding max cmds down to %d.\n",
2737 printk(KERN_INFO "iscsi: requested max cmds %u is higher than driver limit. Using driver limit %u\n",
3306 * we have to reset max/exp cmdsn so we can see the new values.