Home
last modified time | relevance | path

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

/linux-3.3/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()
1374 i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS); in cmd_alloc()
1377 } while(test_and_set_bit(i&(BITS_PER_LONG-1), h->cmd_pool_bits+(i/BITS_PER_LONG)) != 0); in cmd_alloc()
1397 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.c978 i = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds); in cmd_alloc()
982 h->cmd_pool_bits + (i / BITS_PER_LONG)) != 0); in cmd_alloc()
1050 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_free()
1776 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) in cciss_check_queues()
1798 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) { in cciss_check_queues()
4815 h->cmd_pool_bits = kmalloc( in cciss_allocate_cmd_pool()
4824 if ((h->cmd_pool_bits == NULL) in cciss_allocate_cmd_pool()
4868 kfree(h->cmd_pool_bits); in cciss_free_cmd_pool()
5071 memset(h->cmd_pool_bits, 0, in cciss_init_one()
/linux-3.3/drivers/scsi/
Dhpsa.h95 unsigned long *cmd_pool_bits; member
Dhpsa.c2340 i = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds); in cmd_alloc()
2345 h->cmd_pool_bits + (i / BITS_PER_LONG)) != 0); in cmd_alloc()
2413 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_free()
4037 h->cmd_pool_bits = kzalloc( in hpsa_allocate_cmd_pool()
4046 if ((h->cmd_pool_bits == NULL) in hpsa_allocate_cmd_pool()
4057 kfree(h->cmd_pool_bits); in hpsa_free_cmd_pool()
4509 kfree(h->cmd_pool_bits); in hpsa_remove_one()