Searched refs:spare_idx (Results 1 – 4 of 4) sorted by relevance
537 int spare_idx = -1; in mtk_snand_setup_pagefmt() local603 spare_idx = i; in mtk_snand_setup_pagefmt()608 if (spare_idx < 0) { in mtk_snand_setup_pagefmt()616 (spare_idx << spare_size_shift) | in mtk_snand_setup_pagefmt()
1466 qp_table->idx_table.spare_idx = kcalloc(hr_dev->caps.num_qps, in hns_roce_init_qp_table()1468 if (!qp_table->idx_table.spare_idx) in hns_roce_init_qp_table()1498 kfree(hr_dev->qp_table.idx_table.spare_idx); in hns_roce_cleanup_qp_table()
471 u32 *spare_idx; member
4660 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx() local4669 spare_idx[*tail] = ibqp->qp_num; in get_dip_ctx_idx()4689 hr_dip->dip_idx = *dip_idx = spare_idx[*head]; in get_dip_ctx_idx()