/freebsd-11-stable/contrib/less/ |
H A D | tags.c | 529 char *qtag; 554 qtag = shell_quote(tag); 555 if (qtag == NULL) 556 qtag = tag; 558 strlen(qtag) + 5, sizeof(char)); 559 sprintf(command, "%s -x%s %s", cmd, flag, qtag); 560 if (qtag != tag) 561 free(qtag);
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 2162 tc_queues = bsrl(pf->qtag.num_allocated); 3387 ixl_enable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3394 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx); 3423 ixl_enable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3430 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx); 3457 ixl_enable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3461 error = ixl_enable_tx_ring(pf, qtag, vsi_qidx); 3465 error = ixl_enable_rx_ring(pf, qtag, vsi_qidx); 3477 error = ixl_enable_ring(pf, &pf->qtag, i); 3489 ixl_disable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u1 argument 3524 ixl_disable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument 3553 ixl_disable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx) argument [all...] |
H A D | ixl_pf_qmgr.h | 91 int ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag); 93 int ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag); 95 int ixl_pf_qmgr_release(struct ixl_pf_qmgr *qmgr, struct ixl_pf_qtag *qtag); 99 void ixl_pf_qmgr_mark_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx); 100 void ixl_pf_qmgr_mark_queue_disabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx); 101 void ixl_pf_qmgr_mark_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx); 102 bool ixl_pf_qmgr_is_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx); 103 bool ixl_pf_qmgr_is_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx); 106 u16 ixl_pf_qidx_from_vsi_qidx(struct ixl_pf_qtag *qtag, u16 index);
|
H A D | ixl_pf_qmgr.c | 56 ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag) argument 63 if (qtag == NULL || num < 1) 82 bzero(qtag, sizeof(*qtag)); 83 qtag->qmgr = qmgr; 84 qtag->type = IXL_PF_QALLOC_CONTIGUOUS; 85 qtag->qidx[0] = block_start; 86 qtag->num_allocated = alloc_size; 87 qtag->num_active = num; 96 ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag) argument 133 ixl_pf_qmgr_release(struct ixl_pf_qmgr *qmgr, struct ixl_pf_qtag *qtag) argument 205 ixl_pf_qmgr_mark_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx) argument 218 ixl_pf_qmgr_mark_queue_disabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx) argument 231 ixl_pf_qmgr_mark_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx) argument 244 ixl_pf_qmgr_is_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx) argument 257 ixl_pf_qmgr_is_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx) argument 270 ixl_pf_qidx_from_vsi_qidx(struct ixl_pf_qtag *qtag, u16 index) argument [all...] |
H A D | ixl_pf_iov.c | 161 for (i = 0; i < vf->qtag.num_active; i++) 162 vsi_ctx.info.queue_mapping[i] = vf->qtag.qidx[i]; 168 (bsrl(vf->qtag.num_allocated) << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT)); 175 // vf->vsi.first_queue = vf->qtag.qidx[0]; 176 vf->vsi.num_queues = vf->qtag.num_active; 258 qtable = ixl_pf_qidx_from_vsi_qidx(&vf->qtag, i) << 272 ixl_pf_qidx_from_vsi_qidx(&vf->qtag, i)); 561 global_queue_num = ixl_pf_qidx_from_vsi_qidx(&vf->qtag, info->queue_id); 590 ixl_pf_qmgr_mark_queue_configured(&vf->qtag, info->queue_id, true); 605 global_queue_num = ixl_pf_qidx_from_vsi_qidx(&vf->qtag, inf [all...] |
H A D | ixl_pf.h | 69 struct ixl_pf_qtag qtag; member in struct:ixl_vf 102 struct ixl_pf_qtag qtag; member in struct:ixl_pf
|
H A D | if_ixl.c | 598 error = ixl_pf_qmgr_alloc_contiguous(&pf->qmgr, vsi->num_queues, &pf->qtag); 605 pf->qtag.num_allocated, pf->qtag.num_active);
|