/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pmc.h | 23 static inline void ppc_set_pmu_inuse(int inuse) in ppc_set_pmu_inuse() argument 28 get_lppaca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse() 32 get_paca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse() 48 static inline void ppc_set_pmu_inuse(int inuse) { } in ppc_set_pmu_inuse() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 47 if (WARN_ON(vma->inuse > 0)) in msm_gem_purge_vma() 65 vma->inuse--; in msm_gem_unmap_vma() 80 vma->inuse++; in msm_gem_map_vma() 93 vma->inuse--; in msm_gem_map_vma() 103 if (WARN_ON(vma->inuse > 0 || vma->mapped)) in msm_gem_close_vma()
|
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/ |
D | saa7164-cmd.c | 18 if (dev->cmds[i].inuse == 0) { in saa7164_cmd_alloc_seqno() 19 dev->cmds[i].inuse = 1; in saa7164_cmd_alloc_seqno() 34 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_free_seqno() 36 dev->cmds[seqno].inuse = 0; in saa7164_cmd_free_seqno() 46 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_seqno() 58 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_get() 258 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_wait() 306 if (dev->cmds[i].inuse == 1) { in saa7164_cmd_signal() 316 if ((dev->cmds[i].inuse == 1) && ((i == 0) || in saa7164_cmd_signal()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | mtx-1_wdt.c | 57 unsigned long inuse; member 119 if (test_and_set_bit(0, &mtx1_wdt_device.inuse)) in mtx1_wdt_open() 127 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_release() 212 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_probe()
|
D | rdc321x_wdt.c | 48 unsigned long inuse; member 128 if (test_and_set_bit(0, &rdc321x_wdt_device.inuse)) in rdc321x_wdt_open() 136 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_release() 251 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_probe()
|
D | cpu5wdt.c | 53 unsigned long inuse; member 127 if (test_and_set_bit(0, &cpu5wdt_device.inuse)) in cpu5wdt_open() 134 clear_bit(0, &cpu5wdt_device.inuse); in cpu5wdt_release()
|
D | bcm63xx_wdt.c | 44 unsigned long inuse; member 115 if (test_and_set_bit(0, &bcm63xx_wdt_device.inuse)) in bcm63xx_wdt_open() 130 clear_bit(0, &bcm63xx_wdt_device.inuse); in bcm63xx_wdt_release()
|
D | rc32434_wdt.c | 36 unsigned long inuse; member 139 if (test_and_set_bit(0, &rc32434_wdt_device.inuse)) in rc32434_wdt_open() 160 clear_bit(0, &rc32434_wdt_device.inuse); in rc32434_wdt_release()
|
/kernel/linux/linux-5.10/drivers/iio/dummy/ |
D | iio_dummy_evgen.c | 41 bool inuse[IIO_EVENTGEN_NO]; member 84 if (!iio_evgen->inuse[i]) { in iio_dummy_evgen_get_irq() 86 iio_evgen->inuse[i] = true; in iio_dummy_evgen_get_irq() 109 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false; in iio_dummy_evgen_release_irq()
|
/kernel/linux/linux-5.10/block/ |
D | blk-iocost.c | 485 u32 inuse; member 1018 static void __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, in __propagate_weights() argument 1032 inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum, in __propagate_weights() 1035 inuse = clamp_t(u32, inuse, 1, active); in __propagate_weights() 1038 iocg->last_inuse = iocg->inuse; in __propagate_weights() 1042 if (active == iocg->active && inuse == iocg->inuse) in __propagate_weights() 1052 parent->child_inuse_sum += (s32)(inuse - child->inuse); in __propagate_weights() 1055 child->inuse = inuse; in __propagate_weights() 1071 parent_inuse == parent->inuse) in __propagate_weights() 1075 inuse = parent_inuse; in __propagate_weights() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-smfc.c | 20 bool inuse; member 149 if (smfc->inuse) { in ipu_smfc_get() 154 smfc->inuse = true; in ipu_smfc_get() 167 smfc->inuse = false; in ipu_smfc_put()
|
D | ipu-di.c | 24 bool inuse; member 685 if (di->inuse) { in ipu_di_get() 690 di->inuse = true; in ipu_di_get() 702 di->inuse = false; in ipu_di_put() 738 di->inuse = false; in ipu_di_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
D | altera_msgdma.c | 129 u32 inuse; in msgdma_tx_completions() local 133 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) in msgdma_tx_completions() 136 if (inuse) { /* Tx FIFO is not empty */ in msgdma_tx_completions() 138 priv->tx_prod - priv->tx_cons - inuse - 1, 0); in msgdma_tx_completions()
|
/kernel/linux/linux-5.10/net/atm/ |
D | resources.c | 82 struct atm_dev *dev, *inuse; in atm_dev_register() local 91 inuse = __atm_dev_lookup(number); in atm_dev_register() 92 if (inuse) { in atm_dev_register() 93 atm_dev_put(inuse); in atm_dev_register() 101 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register() 102 atm_dev_put(inuse); in atm_dev_register()
|
/kernel/linux/linux-5.10/sound/soc/sh/ |
D | ssi.c | 67 int inuse; member 93 if (ssi->inuse) { in ssi_startup() 97 ssi->inuse = 1; in ssi_startup() 106 ssi->inuse = 0; in ssi_shutdown()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | raw.c | 33 int inuse; member 91 if (++raw_devices[minor].inuse == 1) in raw_open() 117 if (--raw_devices[minor].inuse == 0) in raw_release() 169 if (rawdev->inuse) { in bind_set()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | iocost.h | 31 __field(u32, inuse) 46 __entry->inuse = iocg->inuse; 57 __entry->vtime, __entry->inuse, __entry->weight,
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_if.c | 393 unsigned long *inuse; in find_portno() local 395 inuse = bitmap_zalloc(BR_MAX_PORTS, GFP_KERNEL); in find_portno() 396 if (!inuse) in find_portno() 399 set_bit(0, inuse); /* zero is reserved */ in find_portno() 401 set_bit(p->port_no, inuse); in find_portno() 403 index = find_first_zero_bit(inuse, BR_MAX_PORTS); in find_portno() 404 bitmap_free(inuse); in find_portno()
|
/kernel/linux/linux-5.10/mm/ |
D | slub.c | 552 return s->offset >= s->inuse; in freeptr_outside_object() 562 return s->inuse + sizeof(void *); in get_info_end() 564 return s->inuse; in get_info_end() 643 page, page->objects, page->inuse, page->freelist, page->flags); in print_page_info() 711 s->inuse - s->object_size); in print_trailer() 762 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object() 904 endobject, val, s->inuse - s->object_size)) in check_object() 907 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object() 910 s->inuse - s->object_size); in check_object() 965 if (page->inuse > page->objects) { in check_slab() [all …]
|
/kernel/linux/linux-5.10/net/9p/ |
D | trans_virtio.c | 62 bool inuse; member 108 chan->inuse = false; in p9_virtio_close() 585 chan->inuse = false; in p9_virtio_probe() 666 if (!chan->inuse) { in p9_virtio_create() 667 chan->inuse = true; in p9_virtio_create() 706 while (chan->inuse) { in p9_virtio_remove()
|
/kernel/linux/linux-5.10/tools/cgroup/ |
D | iocost_monitor.py | 148 self.inuse = iocg.inuse.value_() / WEIGHT_ONE 176 'weight_inuse' : self.inuse,
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
D | zoran_driver.c | 865 if (zr->inuse[0]) { in zr_set_buf() 866 buf = zr->inuse[0]; in zr_set_buf() 878 zr->inuse[0] = NULL; in zr_set_buf() 905 zr->inuse[0] = buf; in zr_set_buf() 933 zr->inuse[j] = NULL; in zr_vb2_start_streaming() 985 if (!zr->inuse[j]) in zr_vb2_stop_streaming() 987 buf = zr->inuse[j]; in zr_vb2_stop_streaming() 990 zr->inuse[j] = NULL; in zr_vb2_stop_streaming()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump() local 358 pipe2name(pipe), j, inuse, in mdp5_smp_dump() 361 total += inuse; in mdp5_smp_dump()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | dsp_pipeline.c | 265 pipeline->inuse = 1; in dsp_pipeline_build() 267 pipeline->inuse = 0; in dsp_pipeline_build()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | adb.c | 611 int inuse; member 625 if (!state->inuse) { in adb_write_done() 685 state->inuse = 1; in adb_open() 706 state->inuse = 0; in adb_release()
|