/drivers/infiniband/hw/cxgb4/ |
D | t4.h | 344 u16 in_use; member 374 u16 in_use; member 417 u16 in_use; member 427 return srq->size - 1 - srq->in_use; in t4_srq_avail() 432 srq->in_use++; in t4_srq_produce() 444 srq->in_use++; in t4_srq_produce_pending_wr() 452 srq->in_use--; in t4_srq_consume_pending_wr() 459 srq->in_use--; in t4_srq_produce_ooo() 474 srq->in_use--; in t4_srq_consume() 482 return wq->rq.in_use; in t4_rqes_posted() [all …]
|
D | cq.c | 206 int in_use = wq->rq.in_use - count; in c4iw_flush_rq() local 209 wq, cq, wq->rq.in_use, count); in c4iw_flush_rq() 210 while (in_use--) { in c4iw_flush_rq() 475 srq->in_use, srq->size, in post_pending_srq_wrs() 502 srq->wq_pidx, srq->in_use, srq->size, in reap_srq_cqe() 508 srq->wq_pidx, srq->in_use, in reap_srq_cqe() 520 srq->in_use, srq->size, in reap_srq_cqe() 711 wq->sq.in_use -= wq->sq.size + idx - wq->sq.cidx; in poll_cq() 713 wq->sq.in_use -= idx - wq->sq.cidx; in poll_cq() 778 srq->wq.in_use < srq->srq_limit) in __c4iw_poll_cq_one()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 17 entry->in_use = true; in tc_fill_all_pass_entry() 38 if (!entry->in_use && !first && free) in tc_find_entry() 48 first->in_use = true; in tc_find_entry() 166 frag->in_use = false; in tc_fill_entry() 167 entry->in_use = false; in tc_fill_entry() 180 entry->in_use = false; in tc_unfill_entry() 184 entry->in_use = false; in tc_unfill_entry() 566 if (get_free && (entry->in_use == false)) in tc_find_flow() 603 entry->in_use = true; in tc_add_flow() 606 if (!entry->in_use) in tc_add_flow() [all …]
|
D | stmmac.h | 129 bool in_use; member 170 int in_use; member 183 int in_use; member
|
/drivers/md/bcache/ |
D | writeback.h | 105 unsigned int in_use = dc->disk.c->gc_stats.in_use; in should_writeback() local 109 in_use > bch_cutoff_writeback_sync) in should_writeback() 125 in_use <= bch_cutoff_writeback); in should_writeback()
|
D | writeback.c | 23 c->gc_stats.in_use < BCH_AUTO_GC_DIRTY_THRESHOLD) in update_gc_after_writeback() 106 c->gc_stats.in_use > BCH_WRITEBACK_FRAGMENT_THRESHOLD_LOW && dirty > 0) { in __update_writeback_rate() 112 if (c->gc_stats.in_use <= BCH_WRITEBACK_FRAGMENT_THRESHOLD_MID) { in __update_writeback_rate() 114 (c->gc_stats.in_use - BCH_WRITEBACK_FRAGMENT_THRESHOLD_LOW); in __update_writeback_rate() 115 } else if (c->gc_stats.in_use <= BCH_WRITEBACK_FRAGMENT_THRESHOLD_HIGH) { in __update_writeback_rate() 117 (c->gc_stats.in_use - BCH_WRITEBACK_FRAGMENT_THRESHOLD_MID); in __update_writeback_rate() 120 (c->gc_stats.in_use - BCH_WRITEBACK_FRAGMENT_THRESHOLD_HIGH); in __update_writeback_rate()
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_vm_helper.c | 66 int in_use = 0; in dc_get_vmid_use_vector() local 69 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector() 71 return in_use; in dc_get_vmid_use_vector()
|
/drivers/ptp/ |
D | ptp_private.h | 90 bool in_use = false; in ptp_vclock_in_use() local 96 in_use = true; in ptp_vclock_in_use() 100 return in_use; in ptp_vclock_in_use()
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-ss.c | 70 bool in_use; member 75 if (!ss->in_use) in dcss_ss_write() 173 ss->in_use = true; in dcss_ss_enable() 179 ss->in_use = false; in dcss_ss_shutoff()
|
D | dcss-ctxld.c | 82 bool in_use; member 97 !(irq_status & CTXLD_ENABLE) && ctxld->in_use) { in dcss_ctxld_irq_handler() 98 ctxld->in_use = false; in dcss_ctxld_irq_handler() 304 ctxld->in_use = true; in dcss_ctxld_enable_locked() 333 if (ctxld->armed && !ctxld->in_use) { in dcss_ctxld_kick() 396 while (!time_after(jiffies, timeout) && ctxld->in_use) in dcss_ctxld_suspend()
|
D | dcss-dtg.c | 85 bool in_use; member 100 if (!dtg->in_use) in dcss_dtg_write() 322 dtg->in_use = true; in dcss_dtg_enable() 332 dtg->in_use = false; in dcss_dtg_shutoff() 337 return dtg->in_use; in dcss_dtg_is_enabled()
|
/drivers/staging/vt6656/ |
D | usbpipe.c | 171 context->in_use = false; in vnt_int_report_rate() 435 context->in_use = false; in vnt_tx_context_complete() 450 context->in_use = false; in vnt_tx_context_complete() 469 context->in_use = false; in vnt_tx_context() 474 context->in_use = false; in vnt_tx_context() 480 context->in_use = false; in vnt_tx_context() 498 context->in_use = false; in vnt_tx_context()
|
/drivers/media/v4l2-core/ |
D | v4l2-event.c | 52 kev->sev->in_use--; in __v4l2_event_dequeue() 118 if (sev->in_use == sev->elems) { in __v4l2_event_queue_fh() 122 sev->in_use--; in __v4l2_event_queue_fh() 138 kev = sev->events + sev_pos(sev, sev->in_use); in __v4l2_event_queue_fh() 145 sev->in_use++; in __v4l2_event_queue_fh() 216 for (i = 0; i < sev->in_use; i++) { in __v4l2_event_unsubscribe()
|
/drivers/gpu/drm/vc4/ |
D | vc4_kms.c | 44 unsigned in_use: 1; member 365 if (!old_hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_tail() 428 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup() 673 state->fifo_state[i].in_use = old_state->fifo_state[i].in_use; in vc4_hvs_channels_duplicate_state() 766 if (!hvs_new_state->fifo_state[i].in_use) in vc4_pv_muxing_atomic_check() 788 hvs_new_state->fifo_state[channel].in_use = false; in vc4_pv_muxing_atomic_check() 824 hvs_new_state->fifo_state[channel].in_use = true; in vc4_pv_muxing_atomic_check()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 1186 for_each_set_bit(idx, tx->in_use, tx->len) { in ice_ptp_tx_tstamp_work() 1208 clear_bit(idx, tx->in_use); in ice_ptp_tx_tstamp_work() 1231 if (!bitmap_empty(tx->in_use, tx->len)) in ice_ptp_tx_tstamp_work() 1251 idx = find_first_zero_bit(tx->in_use, tx->len); in ice_ptp_request_ts() 1257 set_bit(idx, tx->in_use); in ice_ptp_request_ts() 1301 tx->in_use = bitmap_zalloc(tx->len, GFP_KERNEL); in ice_ptp_alloc_tx_tracker() 1302 if (!tx->in_use) { in ice_ptp_alloc_tx_tracker() 1334 clear_bit(idx, tx->in_use); in ice_ptp_flush_tx_tracker() 1362 kfree(tx->in_use); in ice_ptp_release_tx_tracker() 1363 tx->in_use = NULL; in ice_ptp_release_tx_tracker() [all …]
|
D | ice_flex_type.h | 425 u8 in_use; member 453 u8 in_use; member 467 u8 in_use; member 555 u8 in_use; /* non-zero if used */ member
|
/drivers/gpu/ipu-v3/ |
D | ipu-pre.c | 99 bool in_use; member 141 if (pre->in_use) in ipu_pre_get() 154 pre->in_use = true; in ipu_pre_get() 162 pre->in_use = false; in ipu_pre_put()
|
D | ipu-dp.c | 47 bool in_use; member 329 if (dp->in_use) in ipu_dp_get() 332 dp->in_use = true; in ipu_dp_get() 340 dp->in_use = false; in ipu_dp_put()
|
D | ipu-dc.c | 95 bool in_use; member 320 if (dc->in_use) { in ipu_dc_get() 325 dc->in_use = true; in ipu_dc_get() 338 dc->in_use = false; in ipu_dc_put()
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_common.h | 83 return q->size - 1 - q->in_use; in chcr_txq_avail() 88 q->in_use += n; in chcr_txq_advance()
|
/drivers/gpu/drm/i915/display/ |
D | skl_scaler.c | 138 scaler_state->scalers[*scaler_id].in_use = 0; in skl_update_scaler() 310 if (scaler_state->scalers[j].in_use) in intel_atomic_setup_scaler() 314 scaler_state->scalers[*scaler_id].in_use = 1; in intel_atomic_setup_scaler() 355 scaler_state->scalers[*scaler_id].in_use = 0; in intel_atomic_setup_scaler() 357 scaler_state->scalers[0].in_use = 1; in intel_atomic_setup_scaler() 801 if (!scaler_state->scalers[i].in_use) in skl_detach_scalers()
|
/drivers/hid/ |
D | hid-prodikeys.c | 43 unsigned long in_use; member 243 pms->in_use = 0; in pcmidi_sustained_note_release() 253 pms->in_use = 0; in init_sustain_timers() 266 pms->in_use = 1; in stop_sustain_timers() 361 if (!pms->in_use) { in pcmidi_handle_report3() 365 pms->in_use = 1; in pcmidi_handle_report3()
|
/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 395 int in_use = 0; in rvt_mcast_tree_empty() local 399 in_use++; in rvt_mcast_tree_empty() 400 return in_use; in rvt_mcast_tree_empty()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 638 if (priv->cls_rules[i].in_use) in dpaa2_eth_num_cls_rules() 661 if (rule->in_use) { in dpaa2_eth_update_cls_rule() 666 rule->in_use = 0; in dpaa2_eth_update_cls_rule() 681 rule->in_use = 1; in dpaa2_eth_update_cls_rule() 715 if (!priv->cls_rules[rxnfc->fs.location].in_use) in dpaa2_eth_get_rxnfc() 721 if (!priv->cls_rules[i].in_use) in dpaa2_eth_get_rxnfc()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 179 unsigned int in_use; /* # of in-use command descriptors */ member 627 q->in_use -= n; in free_cmdQ_buffers() 665 if (q->in_use) in free_tx_resources() 666 free_cmdQ_buffers(sge, q, q->in_use); in free_tx_resources() 691 q->in_use = 0; in alloc_tx_resources() 1327 credits = q->size - q->in_use; in restart_sched() 1333 q->in_use += count; in restart_sched() 1342 credits = q->size - q->in_use; in restart_sched() 1412 return q->in_use - r < (q->size >> 1); in enough_free_Tx_descs() 1457 if (cmdq->cleaned + cmdq->in_use != cmdq->processed && in update_tx_info() [all …]
|