/linux/arch/powerpc/include/asm/ |
H A 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
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_devlink.c | 235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, in ocelot_wm_status() argument 240 return ocelot->ops->wm_stat(res_stat, inuse, maxuse); in ocelot_wm_status() 514 void ocelot_wm_stat(u32 val, u32 *inuse, u32 *maxuse) in ocelot_wm_stat() argument 516 *inuse = (val & GENMASK(23, 12)) >> 12; in ocelot_wm_stat() 777 u32 inuse, maxuse; in ocelot_sb_occ_max_clear() local 785 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 787 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 790 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 792 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 799 &inuse, &maxuse); in ocelot_sb_occ_max_clear() [all …]
|
/linux/drivers/media/pci/saa7164/ |
H A 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() 257 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_wait() 305 if (dev->cmds[i].inuse == 1) { in saa7164_cmd_signal() 315 if ((dev->cmds[i].inuse == 1) && ((i == 0) || in saa7164_cmd_signal()
|
/linux/block/ |
H A D | blk-iocost.c | 487 u32 inuse; member 1084 static void __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, in __propagate_weights() argument 1098 inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum, in __propagate_weights() 1108 inuse = min(inuse, active) ?: 1; in __propagate_weights() 1111 iocg->last_inuse = iocg->inuse; in __propagate_weights() 1115 if (active == iocg->active && inuse == iocg->inuse) in __propagate_weights() 1125 parent->child_inuse_sum += (s32)(inuse - child->inuse); in __propagate_weights() 1128 child->inuse = inuse; in __propagate_weights() 1144 parent_inuse == parent->inuse) in __propagate_weights() 1148 inuse = parent_inuse; in __propagate_weights() [all …]
|
/linux/drivers/watchdog/ |
H A D | mtx-1_wdt.c | 55 unsigned long inuse; member 117 if (test_and_set_bit(0, &mtx1_wdt_device.inuse)) in mtx1_wdt_open() 125 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_release() 209 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_probe()
|
H A 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() 250 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_probe()
|
H A 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()
|
/linux/drivers/iio/dummy/ |
H A D | iio_dummy_evgen.c | 39 bool inuse[IIO_EVENTGEN_NO]; member 82 if (!iio_evgen->inuse[i]) { in iio_dummy_evgen_get_irq() 84 iio_evgen->inuse[i] = true; in iio_dummy_evgen_get_irq() 107 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false; in iio_dummy_evgen_release_irq()
|
/linux/net/atm/ |
H A D | resources.c | 80 struct atm_dev *dev, *inuse; in atm_dev_register() local 89 inuse = __atm_dev_lookup(number); in atm_dev_register() 90 if (inuse) { in atm_dev_register() 91 atm_dev_put(inuse); in atm_dev_register() 99 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register() 100 atm_dev_put(inuse); in atm_dev_register()
|
/linux/drivers/net/ethernet/altera/ |
H A 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()
|
/linux/drivers/gpu/ipu-v3/ |
H A 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()
|
H A D | ipu-di.c | 24 bool inuse; member 688 if (di->inuse) { in ipu_di_get() 693 di->inuse = true; in ipu_di_get() 705 di->inuse = false; in ipu_di_put() 741 di->inuse = false; in ipu_di_init()
|
/linux/drivers/irqchip/ |
H A D | irq-loongson-pch-pic.c | 53 int inuse; member 198 for (i = 0; i < priv->inuse; i++) { in pch_pic_domain_translate() 204 if (i == priv->inuse) { in pch_pic_domain_translate() 206 if (priv->inuse >= PIC_COUNT) { in pch_pic_domain_translate() 211 priv->table[priv->inuse] = *hwirq; in pch_pic_domain_translate() 212 *hwirq = priv->inuse++; in pch_pic_domain_translate() 337 priv->inuse = 0; in pch_pic_init()
|
/linux/net/bridge/ |
H A D | br_if.c | 404 unsigned long *inuse; in find_portno() local 406 inuse = bitmap_zalloc(BR_MAX_PORTS, GFP_KERNEL); in find_portno() 407 if (!inuse) in find_portno() 410 __set_bit(0, inuse); /* zero is reserved */ in find_portno() 412 __set_bit(p->port_no, inuse); in find_portno() 414 index = find_first_zero_bit(inuse, BR_MAX_PORTS); in find_portno() 415 bitmap_free(inuse); in find_portno()
|
/linux/include/trace/events/ |
H A D | iocost.h | 31 __field(u32, inuse) 46 __entry->inuse = iocg->inuse; 57 __entry->vtime, __entry->inuse, __entry->weight, 105 TP_printk("[%s:%s] now=%llu inuse=%u->%u hw_inuse=%llu->%llu",
|
/linux/mm/ |
H A D | slub.c | 557 return s->offset >= s->inuse; in freeptr_outside_object() 567 return s->inuse + sizeof(void *); in get_info_end() 569 return s->inuse; in get_info_end() 1011 slab, slab->objects, slab->inuse, slab->freelist, in print_slab_info() 1072 s->inuse - s->object_size); in print_trailer() 1166 s->inuse - poison_size); in init_object() 1325 endobject, val, s->inuse - s->object_size)) in check_object() 1339 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object() 1342 s->inuse - s->object_size)) in check_object() 1411 if (slab->inuse > slab->objects) { in check_slab() [all …]
|
H A D | slab.h | 74 unsigned inuse:16; member 282 unsigned int inuse; /* Offset to metadata */ member 627 return s->inuse; in slab_ksize()
|
/linux/net/9p/ |
H A D | trans_virtio.c | 47 * @inuse: whether the channel is in use 65 bool inuse; member 101 * resetting its inuse flag. 111 chan->inuse = false; in p9_virtio_close() 625 chan->inuse = false; in p9_virtio_probe() 706 if (!chan->inuse) { in p9_virtio_create() 707 chan->inuse = true; in p9_virtio_create() 746 while (chan->inuse) { in p9_virtio_remove()
|
/linux/fs/xfs/scrub/ |
H A D | ialloc_repair.c | 144 bool *inuse) in xrep_ibt_check_ifree() argument 170 error = xchk_inode_is_allocated(sc, agino, inuse); in xrep_ibt_check_ifree() 174 *inuse = dip->di_mode != 0; in xrep_ibt_check_ifree() 263 bool inuse = false; in xrep_ibt_cluster_record() local 266 cluster_bp, cluster_index, &inuse); in xrep_ibt_cluster_record() 269 if (!inuse) in xrep_ibt_cluster_record()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.c | 27 bool inuse : 1; member 43 WARN_ON_ONCE(tracker->inuse); in mlx5e_ptp_port_ts_cqe_list_add() 44 tracker->inuse = true; in mlx5e_ptp_port_ts_cqe_list_add() 55 WARN_ON_ONCE(!tracker->inuse); in mlx5e_ptp_port_ts_cqe_list_remove() 56 tracker->inuse = false; in mlx5e_ptp_port_ts_cqe_list_remove() 169 WARN_ON_ONCE(!pos->inuse); in mlx5e_ptpsq_mark_ts_cqes_undelivered() 170 pos->inuse = false; in mlx5e_ptpsq_mark_ts_cqes_undelivered() 192 if (likely(pending_cqe_list->nodes[metadata_id].inuse)) { in mlx5e_ptp_handle_ts_cqe()
|
/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 151 self.inuse = iocg.inuse.value_() / WEIGHT_ONE 181 'weight_inuse' : self.inuse,
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 350 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump() local 353 pipe2name(pipe), j, inuse, in mdp5_smp_dump() 356 total += inuse; in mdp5_smp_dump()
|
/linux/Documentation/mm/ |
H A D | zsmalloc.rst | 89 Each zspage maintains inuse counter which keeps track of the number of 90 objects stored in the zspage. The inuse counter determines the zspage's 91 "fullness group" which is calculated as the ratio of the "inuse" objects to 93 closer the inuse counter is to objs_per_zspage, the better.
|
/linux/drivers/macintosh/ |
H A D | adb.c | 613 int inuse; member 627 if (!state->inuse) { in adb_write_done() 687 state->inuse = 1; in adb_open() 708 state->inuse = 0; in adb_release()
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_pipeline.c | 269 pipeline->inuse = 1; in dsp_pipeline_build() 271 pipeline->inuse = 0; in dsp_pipeline_build()
|