/linux-master/arch/powerpc/include/asm/ |
H A D | pmc.h | 23 static inline void ppc_set_pmu_inuse(int inuse) argument 28 get_lppaca()->pmcregs_in_use = inuse; 32 get_paca()->pmcregs_in_use = inuse; 48 static inline void ppc_set_pmu_inuse(int inuse) { } argument
|
/linux-master/drivers/watchdog/ |
H A D | mtx-1_wdt.c | 55 unsigned long inuse; member in struct:__anon2919 117 if (test_and_set_bit(0, &mtx1_wdt_device.inuse)) 125 clear_bit(0, &mtx1_wdt_device.inuse); 210 clear_bit(0, &mtx1_wdt_device.inuse);
|
H A D | rdc321x_wdt.c | 48 unsigned long inuse; member in struct:__anon2921 128 if (test_and_set_bit(0, &rdc321x_wdt_device.inuse)) 136 clear_bit(0, &rdc321x_wdt_device.inuse); 251 clear_bit(0, &rdc321x_wdt_device.inuse);
|
H A D | cpu5wdt.c | 53 unsigned long inuse; member in struct:__anon47 127 if (test_and_set_bit(0, &cpu5wdt_device.inuse)) 134 clear_bit(0, &cpu5wdt_device.inuse);
|
H A D | rc32434_wdt.c | 36 unsigned long inuse; member in struct:__anon2920 139 if (test_and_set_bit(0, &rc32434_wdt_device.inuse)) 160 clear_bit(0, &rc32434_wdt_device.inuse);
|
/linux-master/drivers/iio/dummy/ |
H A D | iio_dummy_evgen.c | 33 * @inuse: mask of which irqs are connected 39 bool inuse[IIO_EVENTGEN_NO]; member in struct:iio_dummy_eventgen 82 if (!iio_evgen->inuse[i]) { 84 iio_evgen->inuse[i] = true; 107 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false;
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_devlink.c | 235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, argument 240 return ocelot->ops->wm_stat(res_stat, inuse, maxuse); 514 void ocelot_wm_stat(u32 val, u32 *inuse, u32 *maxuse) argument 516 *inuse = (val & GENMASK(23, 12)) >> 12; 777 u32 inuse, maxuse; local 785 &inuse, &maxuse); 787 &inuse, &maxuse); 790 &inuse, &maxuse); 792 &inuse, &maxuse); 799 &inuse, [all...] |
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164-cmd.c | 18 if (dev->cmds[i].inuse == 0) { 19 dev->cmds[i].inuse = 1; 34 if ((dev->cmds[seqno].inuse == 1) && 36 dev->cmds[seqno].inuse = 0; 46 if ((dev->cmds[seqno].inuse == 1) && 58 if ((dev->cmds[seqno].inuse == 1) && 257 if ((dev->cmds[seqno].inuse == 1) && 305 if (dev->cmds[i].inuse == 1) { 307 "seqno %d inuse, sig = %d, t/out = %d\n", 315 if ((dev->cmds[i].inuse [all...] |
/linux-master/net/atm/ |
H A D | resources.c | 80 struct atm_dev *dev, *inuse; local 89 inuse = __atm_dev_lookup(number); 90 if (inuse) { 91 atm_dev_put(inuse); 99 while ((inuse = __atm_dev_lookup(dev->number))) { 100 atm_dev_put(inuse);
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-smfc.c | 20 bool inuse; member in struct:ipu_smfc 149 if (smfc->inuse) { 154 smfc->inuse = true; 167 smfc->inuse = false;
|
H A D | ipu-di.c | 24 bool inuse; member in struct:ipu_di 688 if (di->inuse) { 693 di->inuse = true; 705 di->inuse = false; 741 di->inuse = false;
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 129 u32 inuse; local 133 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) 136 if (inuse) { /* Tx FIFO is not empty */ 138 priv->tx_prod - priv->tx_cons - inuse - 1, 0);
|
/linux-master/sound/soc/sh/ |
H A D | ssi.c | 67 int inuse; member in struct:ssi_priv 93 if (ssi->inuse) { 97 ssi->inuse = 1; 106 ssi->inuse = 0;
|
/linux-master/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-master/net/bridge/ |
H A D | br_if.c | 404 unsigned long *inuse; local 406 inuse = bitmap_zalloc(BR_MAX_PORTS, GFP_KERNEL); 407 if (!inuse) 410 __set_bit(0, inuse); /* zero is reserved */ 412 __set_bit(p->port_no, inuse); 414 index = find_first_zero_bit(inuse, BR_MAX_PORTS); 415 bitmap_free(inuse);
|
/linux-master/block/ |
H A D | blk-iocost.c | 474 * `weight`. `inuse` is the surplus adjusted active weight. 475 * `active` and `inuse` are used to calculate `hweight_active` and 478 * `last_inuse` remembers `inuse` while an iocg is idle to persist 481 * `inuse` may be adjusted dynamically during period. `saved_*` are used 487 u32 inuse; member in struct:ioc_gq 1080 * Update @iocg's `active` and `inuse` to @active and @inuse, update level 1082 * is saved to be used as reference for later inuse in-period adjustments. 1084 static void __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, argument 1093 * For an active leaf node, its inuse should 1159 propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) argument 1197 u32 inuse = READ_ONCE(child->inuse); local 1227 u32 inuse = iocg->active; local 1988 u32 inuse, wpt, wptp; local 2032 u32 inuse; local [all...] |
/linux-master/net/9p/ |
H A D | trans_virtio.c | 47 * @inuse: whether the channel is in use 65 bool inuse; member in struct:virtio_chan 101 * resetting its inuse flag. 111 chan->inuse = false; 625 chan->inuse = false; 706 if (!chan->inuse) { 707 chan->inuse = true; 746 while (chan->inuse) {
|
/linux-master/fs/xfs/scrub/ |
H A D | ialloc_repair.c | 144 bool *inuse) 172 error = xchk_inode_is_allocated(sc, agino, inuse); 176 *inuse = dip->di_mode != 0; 265 bool inuse = false; local 268 cluster_bp, cluster_index, &inuse); 271 if (!inuse) 139 xrep_ibt_check_ifree( struct xrep_ibt *ri, xfs_agino_t cluster_ag_base, struct xfs_buf *cluster_bp, unsigned int cluster_index, bool *inuse) argument
|
/linux-master/tools/cgroup/ |
H A D | iocost_monitor.py | 151 self.inuse = iocg.inuse.value_() / WEIGHT_ONE 181 'weight_inuse' : self.inuse, 195 f'{round(self.inuse):5}/{round(self.active):5} ' \
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 350 int inuse = bitmap_weight(cs, smp->blk_cnt); local 353 pipe2name(pipe), j, inuse, 356 total += inuse;
|
/linux-master/mm/ |
H A D | slub.c | 74 * B. slab->inuse -> Number of objects in use 853 return s->offset >= s->inuse; 857 * Return offset of the end of info block which is inuse + free pointer if 863 return s->inuse + sizeof(void *); 865 return s->inuse; 964 slab, slab->objects, slab->inuse, slab->freelist, 1069 s->inuse - s->object_size); 1156 memset(p + poison_size, val, s->inuse - poison_size); 1213 * object_size == inuse. 1218 * object + s->inuse [all...] |
/linux-master/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 805 if (zr->inuse[0]) { 806 buf = zr->inuse[0]; 818 zr->inuse[0] = NULL; 846 zr->inuse[0] = buf; 874 zr->inuse[j] = NULL; 926 if (!zr->inuse[j]) 928 buf = zr->inuse[j]; 931 zr->inuse[j] = NULL;
|
/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_pipeline.c | 269 pipeline->inuse = 1; 271 pipeline->inuse = 0;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.c | 27 bool inuse : 1; member in struct:mlx5e_ptp_port_ts_cqe_tracker 43 WARN_ON_ONCE(tracker->inuse); 44 tracker->inuse = true; 55 WARN_ON_ONCE(!tracker->inuse); 56 tracker->inuse = false; 169 WARN_ON_ONCE(!pos->inuse); 170 pos->inuse = false; 191 if (likely(pending_cqe_list->nodes[metadata_id].inuse)) {
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cq.c | 42 u32 least_load = bank[0].inuse; 48 bankcnt = bank[i].inuse; 77 bank->inuse++; 99 bank->inuse--; 520 cq_table->bank[get_cq_bankid(i)].inuse++;
|