Home
last modified time | relevance | path

Searched refs:users (Results 1 – 25 of 166) sorted by relevance

1234567

/drivers/xen/
Dgntalloc.c92 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/
Dngene-dvb.c103 .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/
Dozevent.c30 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/
Dpd-common.h48 int users; member
89 int users; member
112 int users; member
133 atomic_t users; member
Dpd-main.c269 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()
Dpd-dvb.c83 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/
Dzmii.c97 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()
Dtah.c32 ++dev->users; in tah_attach()
43 --dev->users; in tah_detach()
144 WARN_ON(dev->users != 0); in tah_remove()
Drgmii.c118 ++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/
Dat32ap700x_wdt.c81 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/
Dsa.h42 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/
Dhostap_ap.c204 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/
Dcx88-input.c42 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/
Deba.c144 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/
Ddmxdev.c178 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/
Dspear-keyboard.c333 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/
DKconfig12 <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/
DKconfig14 http://wireless.kernel.org/en/users/Drivers/ath
18 http://wireless.kernel.org/en/users/Drivers/Atheros
/drivers/s390/net/
Dctcm_main.c486 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/
Dspidev.c86 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/
Dtty_ldisc.c176 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/
Duvc_status.c224 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/
Dsaa7134-input.c538 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/
Dwm97xx-core.c747 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()
Dauo-pixcir-ts.c435 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()

1234567