Searched refs:quota (Results 1 - 25 of 39) sorted by relevance

12

/drivers/net/wireless/iwlwifi/mvm/
H A Dquota.c158 u32 quota = le32_to_cpu(cmd->quotas[i].quota); local
163 quota *= (beacon_int - mvm->noa_duration);
164 quota /= beacon_int;
166 IWL_DEBUG_QUOTA(mvm, "quota: adjust for NoA from %d to %d\n",
167 le32_to_cpu(cmd->quotas[i].quota), quota);
169 cmd->quotas[i].quota = cpu_to_le32(quota);
178 int i, idx, err, num_active_macs, quota, quota_re local
[all...]
H A DMakefile3 iwlmvm-y += utils.o rx.o tx.o binding.o quota.o sta.o sf.o
/drivers/staging/lustre/lustre/include/linux/
H A Dlustre_user.h44 # include <linux/quota.h>
/drivers/staging/lustre/lustre/include/
H A Dlustre_quota.h31 /** \defgroup quota quota
36 #include <linux/quota.h>
54 /* Gather all quota record type in an union that can be used to read any records
81 /* Request handlers for quota master operations.
82 * This is used by the MDT to pass quota/lock requests to the quota master
94 /* LDLM intent policy associated with quota locks */
99 /* Initialize LVB of ldlm resource associated with quota objects */
102 /* Update LVB of ldlm resource associated with quota object
[all...]
/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c80 int quota = budget; local
83 wil_rx_handle(wil, &quota);
84 done = budget - quota;
H A Dtxrx.c564 void wil_rx_handle(struct wil6210_priv *wil, int *quota) argument
575 while ((*quota > 0) && (NULL != (skb = wil_vring_reap_rx(wil, v)))) {
576 (*quota)--;
/drivers/net/can/c_can/
H A Dc_can.c698 * objects in the last run due to quota limit.
741 u32 pend, int quota)
745 while ((obj = ffs(pend)) && quota > 0) {
755 quota -= n;
773 quota--;
799 static int c_can_do_rx_poll(struct net_device *dev, int quota) argument
811 while (quota > 0) {
827 n = c_can_read_objects(dev, priv, toread, quota);
829 quota -= n;
989 static int c_can_poll(struct napi_struct *napi, int quota) argument
740 c_can_read_objects(struct net_device *dev, struct c_can_priv *priv, u32 pend, int quota) argument
[all...]
/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.h93 int cpdma_chan_process(struct cpdma_chan *chan, int quota);
H A Ddavinci_cpdma.c822 int cpdma_chan_process(struct cpdma_chan *chan, int quota) argument
829 while (used < quota) {
/drivers/net/can/
H A Dpch_can.c641 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) argument
669 quota--;
709 quota--;
714 } while (quota > 0);
737 static int pch_can_poll(struct napi_struct *napi, int quota) argument
743 int quota_save = quota;
755 quota--;
765 if (quota == 0)
769 quota -= pch_can_rx_normal(ndev, int_stat, quota);
[all...]
H A Dat91_can.c657 * @quota: max number of pkgs we're allowed to receive
700 * quota.
703 static int at91_poll_rx(struct net_device *dev, int quota) argument
718 mb < get_mb_tx_first(priv) && quota > 0;
732 quota--;
737 quota > 0 && mb > get_mb_rx_last(priv)) {
793 static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) argument
798 if (quota == 0)
814 static int at91_poll(struct napi_struct *napi, int quota) argument
822 work_done += at91_poll_rx(dev, quota
[all...]
H A Dflexcan.c741 static int flexcan_poll(struct napi_struct *napi, int quota) argument
761 work_done < quota) {
767 if (flexcan_has_and_handle_berr(priv, reg_esr) && work_done < quota)
770 if (work_done < quota) {
H A Drcar_can.c671 static int rcar_can_rx_poll(struct napi_struct *napi, int quota) argument
677 for (num_pkts = 0; num_pkts < quota; num_pkts++) {
695 if (num_pkts < quota) {
H A Dxilinx_can.c697 * @quota: Max number of rx packets to be processed.
700 * It will process the packets maximux quota value.
704 static int xcan_rx_poll(struct napi_struct *napi, int quota) argument
712 while ((isr & XCAN_IXR_RXNEMP_MASK) && (work_done < quota)) {
729 if (work_done < quota) {
H A Dti_hecc.c613 static int ti_hecc_rx_poll(struct napi_struct *napi, int quota) argument
625 num_pkts < quota) {
/drivers/net/ethernet/sfc/
H A Dnic.h681 efx_nic_process_eventq(struct efx_channel *channel, int quota) argument
683 return channel->efx->type->ev_process(channel, quota);
707 int efx_farch_ev_process(struct efx_channel *channel, int quota);
H A Defx.h158 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned quota);
H A Drx.c928 bool __efx_filter_rfs_expire(struct efx_nic *efx, unsigned int quota) argument
940 while (quota--) {
/drivers/net/can/m_can/
H A Dm_can.c418 static int m_can_do_rx_poll(struct net_device *dev, int quota) argument
430 while ((rxfs & RXFS_FFL_MASK) && (quota > 0)) {
436 quota--;
713 static int m_can_poll(struct napi_struct *napi, int quota) argument
732 work_done += m_can_do_rx_poll(dev, (quota - work_done));
734 if (work_done < quota) {
/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c325 if (allocated + count > res_alloc->quota[slave]) {
326 mlx4_warn(dev, "VF %d port %d res %s: quota exceeded, count %d alloc %d quota %d\n",
328 allocated, res_alloc->quota[slave]);
419 res_alloc->quota[vf] = (num_instances / 2) + res_alloc->guaranteed[vf];
426 res_alloc->quota[vf] += dev->caps.reserved_mtts;
452 priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[pf];
454 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf];
456 priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[pf];
458 priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[p
[all...]
/drivers/net/ethernet/adaptec/
H A Dstarfire.c584 static int __netdev_rx(struct net_device *dev, int *quota);
1404 static int __netdev_rx(struct net_device *dev, int *quota) argument
1429 if (*quota <= 0) { /* out of rx quota */
1433 (*quota)--;
1439 printk(KERN_DEBUG " netdev_rx() normal Rx pkt length %d, quota %d.\n", pkt_len, *quota);
1512 if (*quota == 0) { /* out of rx quota */
1532 int quota local
[all...]
/drivers/net/caif/
H A Dcaif_virtio.c30 /* NAPI schedule quota */
55 * @rx_napi_resched: Number of calls where the full quota was used (RX)
250 static int cfv_rx_poll(struct napi_struct *napi, int quota) argument
309 } while (rxcnt < quota);
/drivers/net/ethernet/renesas/
H A Dsh_eth.c1383 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) argument
1403 if (*quota <= 0)
1406 (*quota)--;
1498 return *quota <= 0;
1690 int quota = budget; local
1700 if (sh_eth_rx(ndev, intr_status, &quota))
1709 return budget - quota;
/drivers/net/can/mscan/
H A Dmscan.c409 static int mscan_rx_poll(struct napi_struct *napi, int quota) argument
421 while (npackets < quota) {
/drivers/vhost/
H A Dnet.c487 * @quota - headcount quota, 1 for big buffer
496 unsigned int quota)
504 while (datalen > 0 && headcount < quota) {
490 get_rx_bufs(struct vhost_virtqueue *vq, struct vring_used_elem *heads, int datalen, unsigned *iovcount, struct vhost_log *log, unsigned *log_num, unsigned int quota) argument

Completed in 497 milliseconds

12