/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | udp_limit.c | 7 int invocations = 0, in_use = 0; variable 32 if (in_use > 0) { in sock() 40 __sync_fetch_and_add(&in_use, 1); in sock() 57 __sync_fetch_and_add(&in_use, -1); in sock_release()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/arc/mm/ |
D | init.c | 55 int in_use = 0; in early_init_dt_add_memory_arch() local 62 in_use = 1; in early_init_dt_add_memory_arch() 68 in_use = 1; in early_init_dt_add_memory_arch() 75 base, TO_MB(size), !in_use ? "Not used":""); in early_init_dt_add_memory_arch()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_vm_helper.c | 64 int in_use = 0; in dc_get_vmid_use_vector() local 67 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector() 69 return in_use; in dc_get_vmid_use_vector()
|
/linux-6.6.21/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() 571 if (get_free && (entry->in_use == false)) in tc_find_flow() 608 entry->in_use = true; in tc_add_flow() 611 if (!entry->in_use) in tc_add_flow() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/512x/ |
D | mpc512x_shared.c | 51 bool in_use; member 183 if (diu_shared_fb.in_use) { in mpc512x_release_bootmem() 190 diu_shared_fb.in_use = false; in mpc512x_release_bootmem() 247 diu_shared_fb.in_use = true; in mpc512x_init_diu() 254 diu_shared_fb.in_use = false; in mpc512x_init_diu() 286 if (diu_shared_fb.in_use) { in mpc512x_setup_diu() 291 diu_shared_fb.in_use = false; in mpc512x_setup_diu()
|
/linux-6.6.21/security/tomoyo/ |
D | gc.c | 43 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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.c | 65 unsigned long *in_use; member 307 bulk->in_use = bitmap_zalloc(num_deks, GFP_KERNEL); in mlx5_crypto_dek_bulk_create() 308 if (!bulk->in_use) { in mlx5_crypto_dek_bulk_create() 327 bitmap_free(bulk->in_use); in mlx5_crypto_dek_bulk_create() 353 bitmap_free(bulk->in_use); in mlx5_crypto_dek_bulk_free() 403 bitmap_set(bulk->in_use, pos, 1); in mlx5_crypto_dek_pool_pop() 435 old_val = test_and_clear_bit(obj_offset, bulk->in_use); in mlx5_crypto_dek_free_locked() 483 unsigned long *in_use = bulk->in_use; in mlx5_crypto_dek_bulk_reset_synced() local 490 i++, need_sync++, in_use++) { in mlx5_crypto_dek_bulk_reset_synced() 491 reused = hweight_long((*need_sync) ^ (*in_use)); in mlx5_crypto_dek_bulk_reset_synced() [all …]
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_private.h | 92 bool in_use = false; in ptp_vclock_in_use() local 98 in_use = true; in ptp_vclock_in_use() 102 return in_use; in ptp_vclock_in_use()
|
/linux-6.6.21/ipc/ |
D | namespace.c | 128 int total, in_use; in free_ipcs() local 132 in_use = ids->in_use; in free_ipcs() 134 for (total = 0, next_id = 0; total < in_use; next_id++) { in free_ipcs()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | mpic_msgr.c | 62 if (msgr->in_use == MSGR_FREE) in mpic_msgr_get() 63 msgr->in_use = MSGR_INUSE; in mpic_msgr_get() 75 msgr->in_use = MSGR_FREE; in mpic_msgr_put() 239 msgr->in_use = MSGR_FREE; in mpic_msgr_probe()
|
/linux-6.6.21/drivers/staging/vt6656/ |
D | usbpipe.c | 171 context->in_use = false; in vnt_int_report_rate() 437 context->in_use = false; in vnt_tx_context_complete() 452 context->in_use = false; in vnt_tx_context_complete() 471 context->in_use = false; in vnt_tx_context() 476 context->in_use = false; in vnt_tx_context() 482 context->in_use = false; in vnt_tx_context() 500 context->in_use = false; in vnt_tx_context()
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | ucall_common.c | 10 DECLARE_BITMAP(in_use, KVM_MAX_VCPUS); 55 if (!test_and_set_bit(i, ucall_pool->in_use)) { in ucall_alloc() 75 clear_bit(uc - ucall_pool->ucalls, ucall_pool->in_use); in ucall_free()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_flex_type.h | 166 u8 in_use; member 194 u8 in_use; member 208 u8 in_use; member 296 u8 in_use; /* non-zero if used */ member
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_common.c | 245 DECLARE_BITMAP(in_use, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in mtk_vdec_h264_update_dpb() 252 set_bit(i, in_use); in mtk_vdec_h264_update_dpb() 267 for_each_set_bit(j, in_use, ARRAY_SIZE(dec_param->dpb)) { in mtk_vdec_h264_update_dpb() 277 clear_bit(j, in_use); in mtk_vdec_h264_update_dpb()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_kms.c | 357 if (!old_hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_tail() 447 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup() 686 state->fifo_state[i].in_use = old_state->fifo_state[i].in_use; in vc4_hvs_channels_duplicate_state() 722 drm_printf(p, "\t\tin use=%d\n", hvs_state->fifo_state[i].in_use); in vc4_hvs_channels_print_state() 814 if (!hvs_new_state->fifo_state[i].in_use) in vc4_pv_muxing_atomic_check() 893 hvs_new_state->fifo_state[channel].in_use = false; in vc4_pv_muxing_atomic_check() 909 hvs_new_state->fifo_state[channel].in_use = true; in vc4_pv_muxing_atomic_check() 970 if (!hvs_new_state->fifo_state[i].in_use) in vc4_core_clock_atomic_check()
|
/linux-6.6.21/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()
|