Searched refs:wqs (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_wq.c | 139 return queue_alloc_page(wqs->hwif, &wqs->page_vaddr[page_idx], in wqs_allocate_page() 198 size = wqs->num_pages * sizeof(*wqs->page_paddr); in alloc_page_arrays() 200 if (!wqs->page_paddr) in alloc_page_arrays() 203 size = wqs->num_pages * sizeof(*wqs->page_vaddr); in alloc_page_arrays() 205 if (!wqs->page_vaddr) in alloc_page_arrays() 208 size = wqs->num_pages * sizeof(*wqs->shadow_page_vaddr); in alloc_page_arrays() 240 wqs->num_free_blks--; in wqs_next_block() 243 wqs->num_free_blks++; in wqs_next_block() 274 wqs->num_free_blks++; in wqs_return_block() 318 wqs->hwif = hwif; in hinic_wqs_alloc() [all …]
|
A D | hinic_hw_wq.h | 85 int hinic_wqs_alloc(struct hinic_wqs *wqs, int num_wqs, 88 void hinic_wqs_free(struct hinic_wqs *wqs); 90 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, 94 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq);
|
A D | hinic_hw_io.c | 283 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->sq_wq[q_id], in init_qp() 291 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->rq_wq[q_id], in init_qp() 335 hinic_wq_free(&func_to_io->wqs, &func_to_io->rq_wq[q_id]); in init_qp() 338 hinic_wq_free(&func_to_io->wqs, &func_to_io->sq_wq[q_id]); in init_qp() 357 hinic_wq_free(&func_to_io->wqs, &func_to_io->rq_wq[q_id]); in destroy_qp() 358 hinic_wq_free(&func_to_io->wqs, &func_to_io->sq_wq[q_id]); in destroy_qp() 551 err = hinic_wqs_alloc(&func_to_io->wqs, 2 * max_qps, hwif); in hinic_io_init() 607 hinic_wqs_free(&func_to_io->wqs); in hinic_io_init() 633 hinic_wqs_free(&func_to_io->wqs); in hinic_io_free()
|
A D | hinic_hw_io.h | 65 struct hinic_wqs wqs; member
|
/linux/drivers/dma/idxd/ |
A D | device.c | 319 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_unmap_portal() 698 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_wqs_clear_state() 901 struct idxd_wq *wq = idxd->wqs[i]; in idxd_wqs_config_write() 975 group->grpcfg.wqs[j] = 0; in idxd_wqs_setup() 979 wq = idxd->wqs[i]; in idxd_wqs_setup() 993 group->grpcfg.wqs[wq->id / 64] |= BIT(wq->id % 64); in idxd_wqs_setup() 1076 group->id, i, grpcfg_offset, group->grpcfg.wqs[i]); in idxd_group_load_config() 1090 if (group->grpcfg.wqs[i] & BIT(j)) { in idxd_group_load_config() 1091 wq = idxd->wqs[id]; in idxd_group_load_config() 1135 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_load_config() [all …]
|
A D | irq.c | 41 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_reinit() 80 struct idxd_wq *wq = idxd->wqs[id]; in process_misc_interrupts() 88 struct idxd_wq *wq = idxd->wqs[i]; in process_misc_interrupts()
|
A D | init.c | 211 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs() 213 if (!idxd->wqs) in idxd_setup_wqs() 248 idxd->wqs[i] = wq; in idxd_setup_wqs() 255 wq = idxd->wqs[i]; in idxd_setup_wqs() 371 put_device(wq_confdev(idxd->wqs[i])); in idxd_cleanup_internals() 417 put_device(wq_confdev(idxd->wqs[i])); in idxd_setup_internals() 743 wq = idxd->wqs[i]; in idxd_wqs_quiesce()
|
A D | sysfs.c | 282 struct idxd_wq *wq = idxd->wqs[i]; in group_work_queues_show() 554 struct idxd_wq *wq = idxd->wqs[i]; in total_claimed_wq_size() 1106 struct idxd_wq *wq = idxd->wqs[i]; in clients_show() 1269 kfree(idxd->wqs); in idxd_conf_device_release() 1351 wq = idxd->wqs[i]; in idxd_register_wq_devices() 1362 wq = idxd->wqs[i]; in idxd_register_wq_devices() 1367 wq = idxd->wqs[j]; in idxd_register_wq_devices() 1407 device_unregister(wq_confdev(idxd->wqs[i])); in idxd_register_devices() 1418 struct idxd_wq *wq = idxd->wqs[i]; in idxd_unregister_devices()
|
A D | registers.h | 300 u64 wqs[4]; member
|
A D | idxd.h | 262 struct idxd_wq **wqs; member
|
/linux/drivers/infiniband/core/ |
A D | uverbs_cmd.c | 3047 struct ib_wq **wqs = NULL; in ib_uverbs_ex_create_rwq_ind_table() local 3080 wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); in ib_uverbs_ex_create_rwq_ind_table() 3081 if (!wqs) { in ib_uverbs_ex_create_rwq_ind_table() 3095 wqs[num_read_wqs] = wq; in ib_uverbs_ex_create_rwq_ind_table() 3096 atomic_inc(&wqs[num_read_wqs]->usecnt); in ib_uverbs_ex_create_rwq_ind_table() 3112 init_attr.ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table() 3114 rwq_ind_tbl->ind_tbl = wqs; in ib_uverbs_ex_create_rwq_ind_table() 3127 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table() 3143 rdma_lookup_put_uobject(&wqs[i]->uobject->uevent.uobject, in ib_uverbs_ex_create_rwq_ind_table() 3145 atomic_dec(&wqs[i]->usecnt); in ib_uverbs_ex_create_rwq_ind_table() [all …]
|
Completed in 30 milliseconds