Searched refs:cmd_pool_bits (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/block/ |
D | cpqarray.h | 108 unsigned long *cmd_pool_bits; member
|
D | cpqarray.c | 344 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()
|
D | cciss.h | 119 unsigned long *cmd_pool_bits; member
|
D | cciss.c | 982 i = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds); in cmd_alloc() 985 } while (test_and_set_bit(i, h->cmd_pool_bits) != 0); in cmd_alloc() 1049 clear_bit(i, h->cmd_pool_bits); in cmd_free() 1777 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) in cciss_check_queues() 1799 if ((find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds)) == h->nr_cmds) { in cciss_check_queues() 4816 h->cmd_pool_bits = kmalloc(BITS_TO_LONGS(h->nr_cmds) * 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() 5080 bitmap_zero(h->cmd_pool_bits, h->nr_cmds); in cciss_init_one()
|
/linux-4.1.27/drivers/scsi/ |
D | hpsa.h | 167 unsigned long *cmd_pool_bits; member
|
D | hpsa.c | 4688 i = find_next_zero_bit(h->cmd_pool_bits, h->nr_cmds, offset); in cmd_alloc() 4701 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_alloc() 4733 h->cmd_pool_bits + (i / BITS_PER_LONG)); in cmd_free() 6413 h->cmd_pool_bits = kzalloc( in hpsa_allocate_cmd_pool() 6422 if ((h->cmd_pool_bits == NULL) in hpsa_allocate_cmd_pool() 6436 kfree(h->cmd_pool_bits); in hpsa_free_cmd_pool() 7125 kfree(h->cmd_pool_bits); in hpsa_remove_one()
|