/drivers/xen/ |
D | balloon.c | 223 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument 227 unsigned long balloon_hotplug = credit; in reserve_additional_memory() 263 balloon_hotplug -= credit; in reserve_additional_memory() 265 balloon_stats.hotplug_pages += credit; in reserve_additional_memory() 320 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument 494 long credit; in balloon_process() local 499 credit = current_credit(); in balloon_process() 501 if (credit > 0) { in balloon_process() 503 state = increase_reservation(credit); in balloon_process() 505 state = reserve_additional_memory(credit); in balloon_process() [all …]
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cq.c | 50 u32 credit = 0; in iwch_poll_cq_one() local 68 &credit); in iwch_poll_cq_one() 69 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one() 71 credit, chp->cq.cqid); in iwch_poll_cq_one() 72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one()
|
D | cxio_hal.h | 159 enum t3_cq_opcode op, u32 credit); 196 u8 *cqe_flushed, u64 *cookie, u32 *credit);
|
D | cxio_hal.c | 72 enum t3_cq_opcode op, u32 credit) in cxio_hal_cq_op() argument 80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; in cxio_hal_cq_op() 1148 u8 *cqe_flushed, u64 *cookie, u32 *credit) in cxio_poll_cq() argument 1154 *credit = 0; in cxio_poll_cq() 1338 *credit = cq->rptr - cq->wptr; in cxio_poll_cq()
|
/drivers/staging/ozwpan/ |
D | ozhcd.c | 81 int credit; member 289 ep->credit = -1; in oz_ep_alloc() 483 if (!in_dir && ep_addr && (ep->credit < 0)) { in oz_enqueue_ep_urb() 485 ep->credit = 0; in oz_enqueue_ep_urb() 1052 if (ep->credit < 0) in oz_hcd_heartbeat() 1055 ep->credit += div_u64(timespec_to_ns(&delta), NSEC_PER_MSEC); in oz_hcd_heartbeat() 1056 if (ep->credit > ep->credit_ceiling) in oz_hcd_heartbeat() 1057 ep->credit = ep->credit_ceiling; in oz_hcd_heartbeat() 1059 while (ep->credit && !list_empty(&ep->urb_list)) { in oz_hcd_heartbeat() 1063 if ((ep->credit + 1) < urb->number_of_packets) in oz_hcd_heartbeat() [all …]
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd_cb.c | 146 kiblnd_post_rx (kib_rx_t *rx, int credit) in kiblnd_post_rx() argument 156 LASSERT (credit == IBLND_POSTRX_NO_CREDIT || in kiblnd_post_rx() 157 credit == IBLND_POSTRX_PEER_CREDIT || in kiblnd_post_rx() 158 credit == IBLND_POSTRX_RSRVD_CREDIT); in kiblnd_post_rx() 198 if (credit == IBLND_POSTRX_NO_CREDIT) in kiblnd_post_rx() 202 if (credit == IBLND_POSTRX_PEER_CREDIT) in kiblnd_post_rx() 792 kiblnd_post_tx_locked (kib_conn_t *conn, kib_tx_t *tx, int credit) in kiblnd_post_tx_locked() argument 808 LASSERT (credit == 0 || credit == 1); in kiblnd_post_tx_locked() 821 if (credit != 0 && conn->ibc_credits == 0) { /* no credits */ in kiblnd_post_tx_locked() 827 if (credit != 0 && !IBLND_OOB_CAPABLE(ver) && in kiblnd_post_tx_locked() [all …]
|
D | o2iblnd.h | 1025 int kiblnd_post_rx (kib_rx_t *rx, int credit);
|
/drivers/infiniband/hw/ipath/ |
D | ipath_qp.c | 1057 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; in ipath_get_credit() local 1064 if (credit == IPATH_AETH_CREDIT_INVAL) in ipath_get_credit() 1068 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; in ipath_get_credit() 1069 if (ipath_cmp24(credit, qp->s_lsn) > 0) in ipath_get_credit() 1070 qp->s_lsn = credit; in ipath_get_credit()
|
/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 1285 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; in qib_get_credit() local 1292 if (credit == QIB_AETH_CREDIT_INVAL) { in qib_get_credit() 1302 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; in qib_get_credit() 1303 if (qib_cmp24(credit, qp->s_lsn) > 0) { in qib_get_credit() 1304 qp->s_lsn = credit; in qib_get_credit()
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 464 u8 *cqe_flushed, u64 *cookie, u32 *credit) in poll_cq() argument 470 *credit = 0; in poll_cq() 682 u32 credit = 0; in c4iw_poll_cq_one() local 699 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); in c4iw_poll_cq_one()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 188 u16 seid, u16 credit, u8 max_credit, 197 u16 seid, u16 credit, u8 max_bw,
|
D | i40e_adminq_cmd.h | 1341 __le16 credit; member 1401 __le16 credit; member
|
D | i40e_common.c | 2811 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument 2823 cmd->credit = cpu_to_le16(credit); in i40e_aq_config_vsi_bw_limit()
|
/drivers/char/ |
D | random.c | 884 int credit = 0; in add_interrupt_randomness() local 919 credit = 1; in add_interrupt_randomness() 926 credit_entropy_bits(r, credit + 1); in add_interrupt_randomness()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 3748 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); in bnx2x_credit_pool_get() 3761 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in bnx2x_credit_pool_put() 3773 cur_credit = atomic_read(&o->credit); in bnx2x_credit_pool_check() 3858 int base, int credit) in bnx2x_init_credit_pool() argument 3867 atomic_set(&p->credit, credit); in bnx2x_init_credit_pool() 3870 p->pool_sz = credit; in bnx2x_init_credit_pool() 3880 if (credit >= 0) { in bnx2x_init_credit_pool() 3969 int credit = MAX_VLAN_CREDIT_E2 / func_num; in bnx2x_init_vlan_credit_pool() local 3970 bnx2x_init_credit_pool(p, func_id * credit, credit); in bnx2x_init_vlan_credit_pool()
|
D | bnx2x_sp.h | 646 atomic_t credit; member
|
D | bnx2x_main.c | 14182 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl() 14252 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 155 struct drv_ctl_spq_credit credit; member
|
D | cnic.c | 290 info.data.credit.credit_count = count; in cnic_spq_completion()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 416 u32 credit; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq_cmd.h | 1345 __le16 credit; member 1405 __le16 credit; member
|
/drivers/pcmcia/ |
D | Kconfig | 9 computer. These are credit-card size devices such as network cards,
|
/drivers/tty/serial/8250/ |
D | Kconfig | 130 credit-card size devices often used with laptops.)
|
/drivers/staging/speakup/ |
D | spkguide.txt | 1194 to get credit for their work, while not being considered responsible
|