/drivers/xen/ |
D | gntalloc.c | 92 unsigned int users; /* Use count - when zero, waiting on Xen */ member 104 int users; member 114 if (!gref->users) in do_cleanup() 135 gref->users = 1; in add_grefs() 269 gref->users--; in gntalloc_release() 270 if (gref->users == 0) in gntalloc_release() 367 gref->users--; in gntalloc_ioctl_dealloc() 466 priv->users++; in gntalloc_vma_open() 480 priv->users--; in gntalloc_vma_close() 481 if (priv->users == 0) { in gntalloc_vma_close() [all …]
|
/drivers/media/pci/ngene/ |
D | ngene-dvb.c | 103 .users = -1, 168 if (chan->users > 0) in tsin_exchange() 201 if (chan->users == 0) { in ngene_start_feed() 206 return ++chan->users; in ngene_start_feed() 214 if (--chan->users) in ngene_stop_feed() 215 return chan->users; in ngene_stop_feed()
|
/drivers/staging/ozwpan/ |
D | ozevent.c | 30 atomic_t users; member 47 atomic_set(&g_evtdev.users, 0); in oz_event_init() 99 if (atomic_add_return(1, &g_evtdev.users) == 1) { in oz_events_open() 103 atomic_dec(&g_evtdev.users); in oz_events_open() 113 atomic_dec(&g_evtdev.users); in oz_events_release()
|
/drivers/media/usb/tlg2300/ |
D | pd-common.h | 48 int users; member 89 int users; member 112 int users; member 133 atomic_t users; member
|
D | pd-main.c | 269 return pd->video_data.users + pd->vbi_data.users + pd->audio.users in get_autopm_ref() 270 + atomic_read(&pd->dvb_data.users) + in get_autopm_ref()
|
D | pd-dvb.c | 83 atomic_inc(&pd_dvb->users); in poseidon_ts_bus_ctrl() 90 if (atomic_dec_and_test(&pd_dvb->users)) { in poseidon_ts_bus_ctrl() 522 atomic_set(&pd_dvb->users, 0); in pd_dvb_usb_device_init() 576 while (atomic_read(&pd_dvb->users) != 0 in pd_dvb_usb_device_exit()
|
/drivers/net/ethernet/ibm/emac/ |
D | zmii.c | 97 dev->users++; in zmii_attach() 144 ++dev->users; in zmii_attach() 198 BUG_ON(!dev || dev->users == 0); in zmii_detach() 208 --dev->users; in zmii_detach() 291 WARN_ON(dev->users != 0); in zmii_remove()
|
D | tah.c | 32 ++dev->users; in tah_attach() 43 --dev->users; in tah_detach() 144 WARN_ON(dev->users != 0); in tah_remove()
|
D | rgmii.c | 118 ++dev->users; in rgmii_attach() 194 BUG_ON(!dev || dev->users == 0); in rgmii_detach() 204 --dev->users; in rgmii_detach() 298 WARN_ON(dev->users != 0); in rgmii_remove()
|
/drivers/watchdog/ |
D | at32ap700x_wdt.c | 81 unsigned long users; member 135 if (test_and_set_bit(1, &wdt->users)) in at32_wdt_open() 154 clear_bit(1, &wdt->users); in at32_wdt_close() 347 wdt->users = 0; in at32_wdt_probe() 416 if (wdt->users) in at32_wdt_resume()
|
/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/net/wireless/hostap/ |
D | hostap_ap.c | 204 if (atomic_read(&sta->users) != 0) in ap_handle_timer() 716 atomic_inc(&sta->users); in hostap_ap_tx_cb_auth() 735 atomic_dec(&sta->users); in hostap_ap_tx_cb_auth() 780 atomic_inc(&sta->users); in hostap_ap_tx_cb_assoc() 802 atomic_dec(&sta->users); in hostap_ap_tx_cb_assoc() 1055 sta->addr, atomic_read(&sta->users), sta->aid, in prism2_sta_proc_show() 1137 atomic_inc(&sta->users); in handle_add_proc_queue() 1146 atomic_dec(&sta->users); in handle_add_proc_queue() 1171 atomic_inc(&sta->users); in ap_add_sta() 1374 atomic_inc(&sta->users); in handle_authen() [all …]
|
/drivers/media/pci/cx88/ |
D | cx88-input.c | 42 int users; member 215 if (core->ir->users) in cx88_ir_start() 223 if (core->ir->users) in cx88_ir_stop() 231 core->ir->users++; in cx88_ir_open() 239 core->ir->users--; in cx88_ir_close() 240 if (!core->ir->users) in cx88_ir_close()
|
/drivers/mtd/ubi/ |
D | eba.c | 144 le->users = 0; in ltree_add_entry() 189 le->users += 1; in ltree_add_entry() 228 le->users -= 1; in leb_read_unlock() 229 ubi_assert(le->users >= 0); in leb_read_unlock() 231 if (le->users == 0) { in leb_read_unlock() 281 le->users -= 1; in leb_write_trylock() 282 ubi_assert(le->users >= 0); in leb_write_trylock() 283 if (le->users == 0) { in leb_write_trylock() 304 le->users -= 1; in leb_write_unlock() 305 ubi_assert(le->users >= 0); in leb_write_unlock() [all …]
|
/drivers/media/dvb-core/ |
D | dmxdev.c | 178 dvbdev->users++; in dvb_dvr_open() 207 dvbdev->users--; in dvb_dvr_release() 208 if (dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_dvr_release() 763 dvbdev->users++; in dvb_demux_open() 1125 dmxdev->dvbdev->users--; in dvb_demux_release() 1126 if(dmxdev->dvbdev->users==1 && dmxdev->exit==1) { in dvb_demux_release() 1149 .users = 1, 1220 .users = 1, 1259 if (dmxdev->dvbdev->users > 1) { in dvb_dmxdev_release() 1261 dmxdev->dvbdev->users==1); in dvb_dmxdev_release() [all …]
|
/drivers/input/keyboard/ |
D | spear-keyboard.c | 333 if (input_dev->users) { in spear_kbd_suspend() 341 if (input_dev->users) in spear_kbd_suspend() 366 if (input_dev->users) in spear_kbd_resume() 371 if (input_dev->users) in spear_kbd_resume()
|
/drivers/net/wireless/p54/ |
D | Kconfig | 12 <http://wireless.kernel.org/en/users/Drivers/p54> 24 <http://wireless.kernel.org/en/users/Drivers/p54> 38 <http://wireless.kernel.org/en/users/Drivers/p54>
|
/drivers/net/wireless/ath/ |
D | Kconfig | 14 http://wireless.kernel.org/en/users/Drivers/ath 18 http://wireless.kernel.org/en/users/Drivers/Atheros
|
/drivers/s390/net/ |
D | ctcm_main.c | 486 atomic_inc(&skb->users); in ctcm_transmit_skb() 503 atomic_inc(&skb->users); in ctcm_transmit_skb() 520 atomic_dec(&skb->users); in ctcm_transmit_skb() 526 atomic_inc(&nskb->users); in ctcm_transmit_skb() 527 atomic_dec(&skb->users); in ctcm_transmit_skb() 545 atomic_dec(&skb->users); in ctcm_transmit_skb() 556 atomic_dec(&skb->users); in ctcm_transmit_skb() 682 atomic_inc(&skb->users); in ctcmpc_transmit_skb() 719 atomic_inc(&skb->users); in ctcmpc_transmit_skb() 732 atomic_inc(&nskb->users); in ctcmpc_transmit_skb() [all …]
|
/drivers/spi/ |
D | spidev.c | 86 unsigned users; member 509 spidev->users++; in spidev_open() 530 spidev->users--; in spidev_release() 531 if (!spidev->users) { in spidev_release() 640 if (spidev->users == 0) in spidev_remove()
|
/drivers/tty/ |
D | tty_ldisc.c | 176 atomic_set(&ld->users, 1); in tty_ldisc_get() 197 WARN_ON(!atomic_dec_and_test(&ld->users)); in tty_ldisc_put() 275 atomic_inc(&ld->users); in tty_ldisc_try() 346 WARN_ON(atomic_dec_and_test(&ld->users)); in tty_ldisc_deref() 510 atomic_read(&tty->ldisc->users) == 1, timeout); in tty_ldisc_wait_idle()
|
/drivers/media/usb/uvc/ |
D | uvc_status.c | 224 if (atomic_read(&dev->users)) in uvc_status_suspend() 232 if (dev->int_urb == NULL || atomic_read(&dev->users) == 0) in uvc_status_resume()
|
/drivers/media/pci/saa7134/ |
D | saa7134-input.c | 538 if (dev->remote->users) in saa7134_ir_start() 546 if (dev->remote->users) in saa7134_ir_stop() 554 dev->remote->users++; in saa7134_ir_open() 562 dev->remote->users--; in saa7134_ir_close() 563 if (!dev->remote->users) in saa7134_ir_close()
|
/drivers/input/touchscreen/ |
D | wm97xx-core.c | 747 if (wm->input_dev->users) in wm97xx_suspend() 753 if (wm->input_dev->users) in wm97xx_suspend() 760 (!wm->input_dev->users || !suspend_mode)) { in wm97xx_suspend() 776 if (wm->input_dev->users) { in wm97xx_resume() 793 if (wm->input_dev->users && !wm->pen_irq) { in wm97xx_resume()
|
D | auo-pixcir-ts.c | 435 if (!input->users) { in auo_pixcir_suspend() 443 } else if (input->users) { in auo_pixcir_suspend() 466 if (!input->users) { in auo_pixcir_resume() 473 } else if (input->users) { in auo_pixcir_resume()
|