Home
last modified time | relevance | path

Searched refs:in_use (Results 1 – 25 of 174) sorted by relevance

1234567

/linux/tools/testing/selftests/bpf/progs/
A Dudp_limit.c7 int invocations = 0, in_use = 0; variable
33 if (in_use > 0) { in sock()
41 __sync_fetch_and_add(&in_use, 1); in sock()
59 __sync_fetch_and_add(&in_use, -1); in sock_release()
/linux/drivers/infiniband/hw/cxgb4/
A Dt4.h344 u16 in_use; member
374 u16 in_use; member
417 u16 in_use; member
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()
497 wq->rq.in_use++; in t4_rq_produce()
507 wq->rq.in_use--; in t4_rq_consume()
[all …]
A Dcq.c206 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()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_tc.c17 entry->in_use = true; in tc_fill_all_pass_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()
603 entry->in_use = true; in tc_add_flow()
606 if (!entry->in_use) in tc_add_flow()
630 entry->in_use = false; in tc_del_flow()
697 entry->in_use = true; in tc_add_vlan_flow()
[all …]
/linux/arch/powerpc/platforms/512x/
A Dmpc512x_shared.c65 bool in_use; member
197 if (diu_shared_fb.in_use) { in mpc512x_release_bootmem()
204 diu_shared_fb.in_use = false; in mpc512x_release_bootmem()
261 diu_shared_fb.in_use = true; in mpc512x_init_diu()
268 diu_shared_fb.in_use = false; in mpc512x_init_diu()
300 if (diu_shared_fb.in_use) { in mpc512x_setup_diu()
305 diu_shared_fb.in_use = false; in mpc512x_setup_diu()
/linux/drivers/md/bcache/
A Dwriteback.h105 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()
/linux/arch/arc/mm/
A Dinit.c54 int in_use = 0; in early_init_dt_add_memory_arch() local
61 in_use = 1; in early_init_dt_add_memory_arch()
67 in_use = 1; in early_init_dt_add_memory_arch()
74 base, TO_MB(size), !in_use ? "Not used":""); in early_init_dt_add_memory_arch()
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_vm_helper.c66 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()
/linux/security/tomoyo/
A Dgc.c43 bool in_use = false; in tomoyo_struct_used_by_io_buffer() local
52 in_use = true; in tomoyo_struct_used_by_io_buffer()
56 if (in_use) in tomoyo_struct_used_by_io_buffer()
60 return in_use; in tomoyo_struct_used_by_io_buffer()
75 bool in_use = false; in tomoyo_name_used_by_io_buffer() local
89 in_use = true; in tomoyo_name_used_by_io_buffer()
95 if (in_use) in tomoyo_name_used_by_io_buffer()
99 return in_use; in tomoyo_name_used_by_io_buffer()
/linux/ipc/
A Dnamespace.c100 int total, in_use; in free_ipcs() local
104 in_use = ids->in_use; in free_ipcs()
106 for (total = 0, next_id = 0; total < in_use; next_id++) { in free_ipcs()
/linux/drivers/ptp/
A Dptp_private.h86 bool in_use = false; in ptp_vclock_in_use() local
92 in_use = true; in ptp_vclock_in_use()
96 return in_use; in ptp_vclock_in_use()
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-ss.c70 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()
A Ddcss-ctxld.c82 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()
A Ddcss-dtg.c85 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()
/linux/drivers/staging/vt6656/
A Dusbpipe.c171 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()
/linux/arch/powerpc/sysdev/
A Dmpic_msgr.c60 if (msgr->in_use == MSGR_FREE) in mpic_msgr_get()
61 msgr->in_use = MSGR_INUSE; in mpic_msgr_get()
73 msgr->in_use = MSGR_FREE; in mpic_msgr_put()
230 msgr->in_use = MSGR_FREE; in mpic_msgr_probe()
/linux/drivers/media/v4l2-core/
A Dv4l2-event.c52 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()
/linux/mm/
A Ddmapool.c58 unsigned int in_use; member
88 blocks += page->in_use; in pools_show()
233 page->in_use = 0; in pool_alloc_page()
244 return page->in_use != 0; in is_page_busy()
341 page->in_use++; in dma_pool_alloc()
457 page->in_use--; in dma_pool_free()
/linux/drivers/gpu/drm/vc4/
A Dvc4_kms.c44 unsigned in_use: 1; member
364 if (!old_hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_tail()
427 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()
672 state->fifo_state[i].in_use = old_state->fifo_state[i].in_use; in vc4_hvs_channels_duplicate_state()
765 if (!hvs_new_state->fifo_state[i].in_use) in vc4_pv_muxing_atomic_check()
787 hvs_new_state->fifo_state[channel].in_use = false; in vc4_pv_muxing_atomic_check()
823 hvs_new_state->fifo_state[channel].in_use = true; in vc4_pv_muxing_atomic_check()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dudp_limit.c62 if (CHECK(skel->bss->in_use != 1, "bss-in_use", in test_udp_limit()
63 "in_use=%d", skel->bss->in_use)) in test_udp_limit()
/linux/drivers/gpu/ipu-v3/
A Dipu-pre.c99 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()
A Dipu-dp.c47 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()
/linux/drivers/net/ethernet/intel/ice/
A Dice_ptp.c1531 for_each_set_bit(idx, tx->in_use, tx->len) { in ice_ptp_tx_tstamp_work()
1553 clear_bit(idx, tx->in_use); in ice_ptp_tx_tstamp_work()
1576 if (!bitmap_empty(tx->in_use, tx->len)) in ice_ptp_tx_tstamp_work()
1596 idx = find_first_zero_bit(tx->in_use, tx->len); in ice_ptp_request_ts()
1602 set_bit(idx, tx->in_use); in ice_ptp_request_ts()
1647 if (!tx->in_use) { in ice_ptp_alloc_tx_tracker()
1679 clear_bit(idx, tx->in_use); in ice_ptp_flush_tx_tracker()
1707 kfree(tx->in_use); in ice_ptp_release_tx_tracker()
1708 tx->in_use = NULL; in ice_ptp_release_tx_tracker()
1748 for_each_set_bit(idx, tx->in_use, tx->len) { in ice_ptp_tx_tstamp_cleanup()
[all …]
A Dice_flex_type.h434 u8 in_use; member
462 u8 in_use; member
476 u8 in_use; member
564 u8 in_use; /* non-zero if used */ member
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_common.h83 return q->size - 1 - q->in_use; in chcr_txq_avail()
88 q->in_use += n; in chcr_txq_advance()

Completed in 84 milliseconds

1234567