/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 267 use += entity->use_count; in pipeline_pm_use_count() 292 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 298 entity->use_count += change; in pipeline_pm_power_one() 299 WARN_ON(entity->use_count < 0); in pipeline_pm_power_one() 301 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 354 entity->use_count += change; in v4l2_pipeline_pm_use() 355 WARN_ON(entity->use_count < 0); in v4l2_pipeline_pm_use() 360 entity->use_count -= change; in v4l2_pipeline_pm_use()
|
D | v4l2-clk.c | 69 atomic_inc(&clk->use_count); in v4l2_clk_get() 93 atomic_dec(&clk->use_count); in v4l2_clk_put() 249 atomic_set(&clk->use_count, 0); in v4l2_clk_register() 273 if (WARN(atomic_read(&clk->use_count), in v4l2_clk_unregister()
|
/linux-4.19.296/drivers/misc/sgi-xp/ |
D | xpnet.c | 96 atomic_t use_count; member 352 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_send_completed() 393 atomic_inc(&queued_msg->use_count); in xpnet_send() 398 atomic_dec(&queued_msg->use_count); in xpnet_send() 460 atomic_set(&queued_msg->use_count, 1); in xpnet_dev_hard_start_xmit() 487 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_dev_hard_start_xmit()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-spear-spics.c | 52 unsigned long use_count; member 99 if (!spics->use_count++) { in spics_request() 114 if (!--spics->use_count) { in spics_free()
|
/linux-4.19.296/drivers/isdn/gigaset/ |
D | common.c | 193 if (bcs->use_count || !try_module_get(bcs->cs->driver->owner)) { in gigaset_get_channel() 199 ++bcs->use_count; in gigaset_get_channel() 219 if (!cs->bcs[i].use_count) { in gigaset_get_free_channel() 220 ++cs->bcs[i].use_count; in gigaset_get_free_channel() 243 --bcs->use_count; in gigaset_free_channel() 257 if (cs->bcs[i].use_count) { in gigaset_get_channels() 264 ++cs->bcs[i].use_count; in gigaset_get_channels() 280 --cs->bcs[i].use_count; in gigaset_free_channels() 292 ++cs->bcs[i].use_count; in gigaset_block_channels() 636 bcs->use_count = 1; in gigaset_initbcs()
|
D | gigaset.h | 391 int use_count; member
|
/linux-4.19.296/fs/btrfs/ |
D | transaction.c | 47 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction() 48 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction() 194 refcount_inc(&cur_trans->use_count); in join_transaction() 245 refcount_set(&cur_trans->use_count, 2); in join_transaction() 420 refcount_inc(&cur_trans->use_count); in wait_current_trans() 479 refcount_inc(&h->use_count); in start_transaction() 480 WARN_ON(refcount_read(&h->use_count) > 2); in start_transaction() 552 refcount_set(&h->use_count, 1); in start_transaction() 738 refcount_inc(&cur_trans->use_count); in btrfs_wait_for_commit() 767 refcount_inc(&cur_trans->use_count); in btrfs_wait_for_commit() [all …]
|
D | transaction.h | 41 refcount_t use_count; member 120 refcount_t use_count; member
|
D | ordered-data.c | 500 refcount_inc(&trans->use_count); in btrfs_remove_ordered_extent()
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-trigger.c | 169 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll() 170 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll() 193 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll_chained() 194 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll_chained() 208 if (atomic_dec_and_test(&trig->use_count) && trig->ops && in iio_trigger_notify_done()
|
/linux-4.19.296/include/linux/mfd/ |
D | mcp.h | 21 int use_count; member
|
/linux-4.19.296/include/media/ |
D | v4l2-clk.h | 32 atomic_t use_count; member
|
D | soc_camera.h | 51 int use_count; member
|
D | media-entity.h | 285 int use_count; member
|
/linux-4.19.296/include/linux/input/ |
D | mt.h | 107 void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count);
|
/linux-4.19.296/drivers/s390/block/ |
D | dcssblk.c | 70 atomic_t use_count; member 354 if (atomic_read(&dev_info->use_count)) { in dcssblk_shared_store() 461 if (atomic_read(&dev_info->use_count) == 0) { in dcssblk_save_store() 776 if (atomic_read(&dev_info->use_count) != 0) { in dcssblk_remove_store() 818 atomic_inc(&dev_info->use_count); in dcssblk_open() 836 if (atomic_dec_and_test(&dev_info->use_count) in dcssblk_release()
|
/linux-4.19.296/include/linux/iio/ |
D | trigger.h | 71 atomic_t use_count; member
|
/linux-4.19.296/include/sound/ |
D | rawmidi.h | 99 int use_count; /* use counter (for output) */ member
|
/linux-4.19.296/include/linux/ |
D | backlight.h | 113 int use_count; member
|
D | pxa2xx_ssp.h | 221 int use_count; member
|
D | cdrom.h | 54 int use_count; /* number of times device opened */ member
|
D | usb.h | 1554 atomic_t use_count; /* concurrent submissions counter */ member
|
/linux-4.19.296/drivers/regulator/ |
D | core.c | 591 return sprintf(buf, "%d\n", rdev->use_count); in num_users_show() 1222 rdev->use_count++; in set_machine_constraints() 1685 if (rdev->use_count) { in regulator_resolve_supply() 1797 rdev->use_count = 1; in _regulator_get() 1799 rdev->use_count = 0; in _regulator_get() 2293 if (rdev->use_count == 0) { in _regulator_enable() 2314 rdev->use_count++; in _regulator_enable() 2393 if (WARN(rdev->use_count <= 0, in _regulator_disable() 2398 if (rdev->use_count == 1 && in _regulator_disable() 2421 rdev->use_count = 0; in _regulator_disable() [all …]
|
/linux-4.19.296/drivers/cdrom/ |
D | cdrom.c | 1164 cdi->use_count++; in cdrom_open() 1188 cdi->name, cdi->use_count); in cdrom_open() 1197 cdi->use_count--; in cdrom_open() 1265 if (cdi->use_count > 0) in cdrom_release() 1266 cdi->use_count--; in cdrom_release() 1268 if (cdi->use_count == 0) { in cdrom_release() 1285 if (CDROM_CAN(CDC_RAM) && !cdi->use_count && cdi->for_data) in cdrom_release() 1289 if (cdi->use_count == 0) { /* last process that closes dev*/ in cdrom_release() 1440 if (cdi->use_count > 1 || cdi->keeplocked) { in cdrom_select_disc() 2334 if (cdi->use_count != 1 || cdi->keeplocked) in cdrom_ioctl_eject() [all …]
|
/linux-4.19.296/include/linux/regulator/ |
D | driver.h | 441 u32 use_count; member
|