Searched refs:cmd_pool_bits (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/block/ |
D | cpqarray.h | 112 __u32 *cmd_pool_bits; member
|
D | cpqarray.c | 392 kfree(hba[i]->cmd_pool_bits); in cpqarray_remove_one() 429 kfree(hba[i]->cmd_pool_bits); in cpqarray_remove_one_eisa() 504 hba[ctlr]->cmd_pool_bits = (__u32*)kmalloc( in cpqarray_register_ctlr() 507 if (hba[ctlr]->cmd_pool_bits == NULL || hba[ctlr]->cmd_pool == NULL) { in cpqarray_register_ctlr() 508 if (hba[ctlr]->cmd_pool_bits) in cpqarray_register_ctlr() 509 kfree(hba[ctlr]->cmd_pool_bits); in cpqarray_register_ctlr() 522 memset(hba[ctlr]->cmd_pool_bits, 0, ((NR_CMDS+31)/32)*sizeof(__u32)); in cpqarray_register_ctlr() 1739 i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS); in cmd_alloc() 1742 } while(test_and_set_bit(i%32, h->cmd_pool_bits+(i/32)) != 0); in cmd_alloc() 1762 clear_bit(i%32, h->cmd_pool_bits+(i/32)); in cmd_free()
|
D | cciss.h | 80 __u32 *cmd_pool_bits; member
|
D | cciss.c | 408 i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS); in cmd_alloc() 411 } while(test_and_set_bit(i%32, h->cmd_pool_bits+(i/32)) != 0); in cmd_alloc() 456 clear_bit(i%32, h->cmd_pool_bits+(i/32)); in cmd_free() 3340 hba[i]->cmd_pool_bits = (__u32*)kmalloc( in cciss_init_one() 3348 if ((hba[i]->cmd_pool_bits == NULL) in cciss_init_one() 3352 if (hba[i]->cmd_pool_bits) in cciss_init_one() 3353 kfree(hba[i]->cmd_pool_bits); in cciss_init_one() 3377 memset(hba[i]->cmd_pool_bits, 0, ((NR_CMDS+31)/32)*sizeof(__u32)); in cciss_init_one() 3480 kfree(hba[i]->cmd_pool_bits); in cciss_remove_one()
|