Home
last modified time | relevance | path

Searched refs:ep_array (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_core.c497 struct mtu3_ep *ep_array; in mtu3_mem_alloc() local
513 ep_array = kcalloc(mtu->num_eps * 2, sizeof(*ep_array), GFP_KERNEL); in mtu3_mem_alloc()
514 if (ep_array == NULL) in mtu3_mem_alloc()
517 mtu->ep_array = ep_array; in mtu3_mem_alloc()
518 mtu->in_eps = ep_array; in mtu3_mem_alloc()
519 mtu->out_eps = &ep_array[mtu->num_eps]; in mtu3_mem_alloc()
537 kfree(mtu->ep_array); in mtu3_mem_alloc()
545 kfree(mtu->ep_array); in mtu3_mem_free()
Dmtu3.h337 struct mtu3_ep *ep_array; member
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_iscsi.c1005 phba->ep_array[BE_GET_CRI_FROM_CID(beiscsi_ep->ep_cid)] = NULL; in beiscsi_free_ep()
1061 phba->ep_array[BE_GET_CRI_FROM_CID in beiscsi_open_conn()
1304 if (!phba->ep_array[cri_index]) { in beiscsi_ep_disconnect()
Dbe_main.h304 struct iscsi_endpoint **ep_array; member
Dbe_main.c1892 ep = phba->ep_array[cri_index]; in beiscsi_process_cq()
4032 phba->ep_array = kcalloc(phba->params.cxns_per_ctrl, in hba_setup_cid_tbls()
4035 if (!phba->ep_array) { in hba_setup_cid_tbls()
4052 kfree(phba->ep_array); in hba_setup_cid_tbls()
4053 phba->ep_array = NULL; in hba_setup_cid_tbls()
4190 kfree(phba->ep_array); in beiscsi_cleanup_port()