Home
last modified time | relevance | path

Searched refs:cmd_pool_bits (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/block/
Dcpqarray.h108 unsigned long *cmd_pool_bits; member
Dcpqarray.c344 kfree(hba[i]->cmd_pool_bits); in cpqarray_remove_one()
425 hba[i]->cmd_pool_bits = kcalloc( in cpqarray_register_ctlr()
429 if (!hba[i]->cmd_pool_bits || !hba[i]->cmd_pool) in cpqarray_register_ctlr()
485 kfree(hba[i]->cmd_pool_bits); in cpqarray_register_ctlr()
1373 i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS); in cmd_alloc()
1376 } while(test_and_set_bit(i&(BITS_PER_LONG-1), h->cmd_pool_bits+(i/BITS_PER_LONG)) != 0); in cmd_alloc()
1396 clear_bit(i&(BITS_PER_LONG-1), h->cmd_pool_bits+(i/BITS_PER_LONG)); in cmd_free()
Dcciss.h119 unsigned long *cmd_pool_bits; member
Dcciss.c998 i = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds); in cmd_alloc()
1001 } while (test_and_set_bit(i, h->cmd_pool_bits) != 0); in cmd_alloc()
1065 clear_bit(i, h->cmd_pool_bits); in cmd_free()
1793 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) in cciss_check_queues()
1815 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) { in cciss_check_queues()
4831 h->cmd_pool_bits = kmalloc(BITS_TO_LONGS(h->nr_cmds) * in cciss_allocate_cmd_pool()
4839 if ((h->cmd_pool_bits == NULL) in cciss_allocate_cmd_pool()
4883 kfree(h->cmd_pool_bits); in cciss_free_cmd_pool()
5095 bitmap_zero(h->cmd_pool_bits, h->nr_cmds); in cciss_init_one()
/linux-4.4.14/drivers/scsi/
Dhpsa.h201 unsigned long *cmd_pool_bits; member
Dhpsa.c6013 i = find_next_zero_bit(h->cmd_pool_bits, in cmd_alloc()
6028 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_alloc()
6048 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_free()
7837 kfree(h->cmd_pool_bits); in hpsa_free_cmd_pool()
7838 h->cmd_pool_bits = NULL; in hpsa_free_cmd_pool()
7859 h->cmd_pool_bits = kzalloc( in hpsa_alloc_cmd_pool()
7868 if ((h->cmd_pool_bits == NULL) in hpsa_alloc_cmd_pool()