Searched refs:sb_array (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | main.c | 345 qedr_free_mem_sb(dev, &dev->sb_array[i], dev->sb_start + i); in qedr_free_resources() 350 kfree(dev->sb_array); in qedr_free_resources() 380 dev->sb_array = kcalloc(dev->num_cnq, sizeof(*dev->sb_array), in qedr_alloc_resources() 382 if (!dev->sb_array) { in qedr_alloc_resources() 403 rc = qedr_alloc_mem_sb(dev, &dev->sb_array[i], in qedr_alloc_resources() 414 cnq->sb = &dev->sb_array[i]; in qedr_alloc_resources() 415 cons_pi = dev->sb_array[i].sb_virt->pi_array; in qedr_alloc_resources() 426 qedr_free_mem_sb(dev, &dev->sb_array[i], dev->sb_start + i); in qedr_alloc_resources() 430 qedr_free_mem_sb(dev, &dev->sb_array[i], dev->sb_start + i); in qedr_alloc_resources() 434 kfree(dev->sb_array); in qedr_alloc_resources()
|
D | qedr.h | 140 struct qed_sb_info *sb_array; member
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
D | qedi.h | 320 struct qed_sb_info *sb_array; member
|
D | qedi_main.c | 388 sb_info = &qedi->sb_array[id]; in qedi_free_sb() 400 kfree(qedi->sb_array); in qedi_free_fp() 421 qedi->sb_array = kcalloc(MIN_NUM_CPUS_MSIX(qedi), in qedi_alloc_fp() 423 if (!qedi->sb_array) { in qedi_alloc_fp() 444 memset(qedi->sb_array, 0, MIN_NUM_CPUS_MSIX(qedi) * in qedi_int_fp() 445 sizeof(*qedi->sb_array)); in qedi_int_fp() 449 fp->sb_info = &qedi->sb_array[id]; in qedi_int_fp()
|