| /drivers/xen/ |
| D | gntalloc.c | 94 unsigned int users; /* Use count - when zero, waiting on Xen */ member 106 int users; member 116 if (!gref->users) in do_cleanup() 138 gref->users = 1; in add_grefs() 259 gref->users--; in gntalloc_release() 260 if (gref->users == 0) in gntalloc_release() 357 gref->users--; in gntalloc_ioctl_dealloc() 456 priv->users++; in gntalloc_vma_open() 470 priv->users--; in gntalloc_vma_close() 471 if (priv->users == 0) { in gntalloc_vma_close() [all …]
|
| D | privcmd-buf.c | 33 unsigned int users; member 95 vma_priv->users++; in privcmd_buf_vma_open() 111 vma_priv->users--; in privcmd_buf_vma_close() 112 if (!vma_priv->users) in privcmd_buf_vma_close() 158 vma_priv->users = 1; in privcmd_buf_mmap()
|
| /drivers/gpu/drm/nouveau/nvif/ |
| D | user.c | 43 } users[] = { in nvif_user_ctor() local 54 cid = nvif_mclass(&device->object, users); in nvif_user_ctor() 59 0, users[cid].oclass, NULL, 0, in nvif_user_ctor() 65 device->user.func = users[cid].func; in nvif_user_ctor()
|
| /drivers/iommu/ |
| D | iommu-sva.c | 100 refcount_inc(&handle->users); in iommu_sva_bind_device() 121 domain->users++; in iommu_sva_bind_device() 137 domain->users = 1; in iommu_sva_bind_device() 141 refcount_set(&handle->users, 1); in iommu_sva_bind_device() 171 if (!refcount_dec_and_test(&handle->users)) { in iommu_sva_unbind_device() 177 if (--domain->users == 0) { in iommu_sva_unbind_device()
|
| /drivers/media/pci/ngene/ |
| D | ngene-dvb.c | 111 .users = 2, 247 if (chan->users > 0) in tsin_exchange() 280 if (chan->users == 0) { in ngene_start_feed() 285 return ++chan->users; in ngene_start_feed() 293 if (--chan->users) in ngene_stop_feed() 294 return chan->users; in ngene_stop_feed()
|
| /drivers/net/ethernet/ibm/emac/ |
| D | zmii.c | 96 dev->users++; in zmii_attach() 143 ++dev->users; in zmii_attach() 197 BUG_ON(!dev || dev->users == 0); in zmii_detach() 207 --dev->users; in zmii_detach() 285 WARN_ON(dev->users != 0); in zmii_remove()
|
| D | tah.c | 31 ++dev->users; in tah_attach() 42 --dev->users; in tah_detach() 137 WARN_ON(dev->users != 0); in tah_remove()
|
| D | rgmii.c | 102 ++dev->users; in rgmii_attach() 180 BUG_ON(!dev || dev->users == 0); in rgmii_detach() 190 --dev->users; in rgmii_detach() 280 WARN_ON(dev->users != 0); in rgmii_remove()
|
| /drivers/firmware/arm_scmi/transports/ |
| D | virtio.c | 76 refcount_t users; member 109 refcount_t users; member 128 refcount_set(&vioch->users, 1); in scmi_vio_channel_ready() 133 return refcount_inc_not_zero(&vioch->users); in scmi_vio_channel_acquire() 138 if (refcount_dec_and_test(&vioch->users)) { in scmi_vio_channel_release() 196 refcount_set(&msg->users, 1); in scmi_virtio_get_free_msg() 203 return refcount_inc_not_zero(&msg->users); in scmi_vio_msg_acquire() 212 ret = refcount_dec_and_test(&msg->users); in scmi_vio_msg_release() 449 refcount_set(&msg->users, 1); in virtio_chan_setup()
|
| /drivers/iommu/iommufd/ |
| D | hw_pagetable.c | 17 refcount_dec(&hwpt->fault->obj.users); in __iommufd_hwpt_destroy() 35 refcount_dec(&hwpt_paging->ioas->obj.users); in iommufd_hwpt_paging_destroy() 60 refcount_dec(&hwpt_nested->parent->common.obj.users); in iommufd_hwpt_nested_destroy() 137 refcount_inc(&ioas->obj.users); in iommufd_hwpt_paging_alloc() 241 refcount_inc(&parent->common.obj.users); in iommufd_hwpt_nested_alloc() 338 refcount_inc(&fault->obj.users); in iommufd_hwpt_alloc()
|
| D | iommufd_private.h | 143 refcount_t users; member 150 if (!refcount_inc_not_zero(&obj->users)) in iommufd_lock_obj() 158 refcount_dec(&obj->users); in iommufd_lock_obj() 173 refcount_dec(&obj->users); in iommufd_put_object() 395 refcount_dec(&hwpt->obj.users); in iommufd_hw_pagetable_put()
|
| D | main.c | 46 refcount_set(&obj->users, 1); in _iommufd_object_alloc() 188 refcount_dec(&to_destroy->users); in iommufd_object_remove() 201 refcount_dec(&obj->users); in iommufd_object_remove() 212 if (!refcount_dec_if_one(&obj->users)) { in iommufd_object_remove() 299 if (!refcount_dec_if_one(&obj->users)) in iommufd_fops_release()
|
| /drivers/infiniband/core/ |
| D | sa.h | 42 atomic_inc(&client->users); in ib_sa_client_get() 47 if (atomic_dec_and_test(&client->users)) in ib_sa_client_put()
|
| /drivers/iommu/intel/ |
| D | trace.h | 102 __field(u32, users) 110 __entry->users = tag->users; 119 __entry->domain_id, __entry->pasid, __entry->users
|
| /drivers/net/wireless/ath/ath11k/ |
| D | pcic.c | 69 .users = (struct ath11k_msi_user[]) { 80 .users = (struct ath11k_msi_user[]) { 90 .users = (struct ath11k_msi_user[]) { 101 .users = (struct ath11k_msi_user[]) { 112 .users = (struct ath11k_msi_user[]) { 121 .users = (struct ath11k_msi_user[]) { 271 if (strcmp(user_name, msi_config->users[idx].name) == 0) { in ath11k_pcic_get_user_msi_assignment() 272 *num_vectors = msi_config->users[idx].num_vectors; in ath11k_pcic_get_user_msi_assignment() 273 *base_vector = msi_config->users[idx].base_vector; in ath11k_pcic_get_user_msi_assignment()
|
| /drivers/media/pci/cx88/ |
| D | cx88-input.c | 30 int users; member 227 if (core->ir->users) in cx88_ir_start() 236 if (core->ir->users) in cx88_ir_stop() 245 core->ir->users++; in cx88_ir_open() 253 core->ir->users--; in cx88_ir_close() 254 if (!core->ir->users) in cx88_ir_close()
|
| /drivers/staging/media/deprecated/atmel/ |
| D | TODO | 24 Atmel ISC to staging as-is, to keep the Kconfig symbols and the users 25 to the driver in staging. Thus, all the existing users of the non 30 symbol, with the conversion to media controller done, and new users
|
| /drivers/net/ethernet/sfc/ |
| D | tc_encap_actions.h | 61 struct list_head users; member 80 struct list_head users; /* action sets using this encap_md */ member
|
| D | tc_encap_actions.c | 44 WARN_ON(!list_empty(&neigh->users)); in efx_neigh_free() 194 INIT_LIST_HEAD(&neigh->users); in efx_bind_neigh() 210 list_add_tail(&encap->list, &neigh->users); in efx_bind_neigh() 438 list_for_each_entry(act, &encap->users, encap_user) { in efx_tc_update_encap() 486 list_for_each_entry(act, &encap->users, encap_user) { in efx_tc_update_encap() 511 list_for_each_entry(encap, &neigh->users, list) in efx_neigh_update() 638 INIT_LIST_HEAD(&encap->users); in efx_tc_flower_create_encap_md() 707 list_for_each_entry_safe(encap, next, &neigh->users, list) { in efx_tc_remove_neigh_users()
|
| /drivers/net/wireless/intersil/p54/ |
| D | Kconfig | 13 <http://wireless.wiki.kernel.org/en/users/Drivers/p54> 25 <http://wireless.wiki.kernel.org/en/users/Drivers/p54> 39 <http://wireless.wiki.kernel.org/en/users/Drivers/p54>
|
| /drivers/mtd/ubi/ |
| D | eba.c | 255 le->users = 0; in ltree_add_entry() 300 le->users += 1; in ltree_add_entry() 339 le->users -= 1; in leb_read_unlock() 340 ubi_assert(le->users >= 0); in leb_read_unlock() 342 if (le->users == 0) { in leb_read_unlock() 392 le->users -= 1; in leb_write_trylock() 393 ubi_assert(le->users >= 0); in leb_write_trylock() 394 if (le->users == 0) { in leb_write_trylock() 415 le->users -= 1; in leb_write_unlock() 416 ubi_assert(le->users >= 0); in leb_write_unlock() [all …]
|
| /drivers/media/dvb-core/ |
| D | dmxdev.c | 195 dvbdev->users++; in dvb_dvr_open() 232 dvbdev->users--; in dvb_dvr_release() 233 if (dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_dvr_release() 824 dvbdev->users++; in dvb_demux_open() 1249 dmxdev->dvbdev->users--; in dvb_demux_release() 1250 if (dmxdev->dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_demux_release() 1275 .users = 1, 1403 .users = 1, 1460 if (dmxdev->dvbdev->users > 1) { in dvb_dmxdev_release() 1462 dmxdev->dvbdev->users == 1); in dvb_dmxdev_release() [all …]
|
| /drivers/s390/net/ |
| D | ctcm_main.c | 487 refcount_inc(&skb->users); in ctcm_transmit_skb() 504 refcount_inc(&skb->users); in ctcm_transmit_skb() 521 refcount_dec(&skb->users); in ctcm_transmit_skb() 527 refcount_inc(&nskb->users); in ctcm_transmit_skb() 528 refcount_dec(&skb->users); in ctcm_transmit_skb() 546 refcount_dec(&skb->users); in ctcm_transmit_skb() 557 refcount_dec(&skb->users); in ctcm_transmit_skb() 667 refcount_inc(&skb->users); in ctcmpc_transmit_skb() 695 refcount_inc(&skb->users); in ctcmpc_transmit_skb() 708 refcount_inc(&nskb->users); in ctcmpc_transmit_skb() [all …]
|
| /drivers/net/ |
| D | vrf.c | 98 int users; member 183 int ifindex, int users) in vrf_map_elem_init() argument 187 me->users = users; in vrf_map_elem_init() 239 int users; in vrf_map_register_dev() local 272 users = ++me->users; in vrf_map_register_dev() 273 if (users == 2) in vrf_map_register_dev() 297 int users; in vrf_map_unregister_dev() local 307 users = --me->users; in vrf_map_unregister_dev() 308 if (users == 1) { in vrf_map_unregister_dev() 310 } else if (users == 0) { in vrf_map_unregister_dev()
|
| /drivers/net/wan/framer/ |
| D | Kconfig | 17 framework and framer users can obtain reference to the framer. 18 All the users of this framework should select this config.
|