Home
last modified time | relevance | path

Searched refs:NR_CMDS (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcpqarray.c64 #define NR_CMDS 128 /* This could probably go as high as ~400 */ macro
390 NR_CMDS * sizeof(cmdlist_t), (hba[i]->cmd_pool), in cpqarray_remove_one()
427 NR_CMDS * sizeof(cmdlist_t), (hba[i]->cmd_pool), in cpqarray_remove_one_eisa()
502 hba[ctlr]->pci_dev, NR_CMDS * sizeof(cmdlist_t), in cpqarray_register_ctlr()
505 ((NR_CMDS+31)/32)*sizeof(__u32), GFP_KERNEL); in cpqarray_register_ctlr()
512 NR_CMDS * sizeof(cmdlist_t), in cpqarray_register_ctlr()
521 memset(hba[ctlr]->cmd_pool, 0, NR_CMDS * sizeof(cmdlist_t)); 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()
1740 if (i == NR_CMDS) in cmd_alloc()
Dcciss.c140 #define NR_CMDS 128 /* #commands that can be outstanding */ macro
408 i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS); in cmd_alloc()
409 if (i == NR_CMDS) in cmd_alloc()
3341 ((NR_CMDS+31)/32)*sizeof(__u32), GFP_KERNEL); in cciss_init_one()
3343 hba[i]->pdev, NR_CMDS * sizeof(CommandList_struct), in cciss_init_one()
3346 hba[i]->pdev, NR_CMDS * sizeof( ErrorInfo_struct), in cciss_init_one()
3356 NR_CMDS * sizeof(CommandList_struct), in cciss_init_one()
3360 NR_CMDS * sizeof( ErrorInfo_struct), in cciss_init_one()
3377 memset(hba[i]->cmd_pool_bits, 0, ((NR_CMDS+31)/32)*sizeof(__u32)); in cciss_init_one()
3476 pci_free_consistent(hba[i]->pdev, NR_CMDS * sizeof(CommandList_struct), in cciss_remove_one()
[all …]