Home
last modified time | relevance | path

Searched refs:fasync (Results 1 – 25 of 52) sorted by relevance

123

/linux/sound/core/
H A Dmisc.c90 struct fasync_struct *fasync; member
102 struct snd_fasync *fasync; in snd_fasync_work_fn() local
107 fasync = list_first_entry(&snd_fasync_list, struct snd_fasync, list); in snd_fasync_work_fn()
108 list_del_init(&fasync->list); in snd_fasync_work_fn()
109 if (!fasync->on) in snd_fasync_work_fn()
111 signal = fasync->signal; in snd_fasync_work_fn()
112 poll = fasync->poll; in snd_fasync_work_fn()
114 kill_fasync(&fasync->fasync, signal, poll); in snd_fasync_work_fn()
125 struct snd_fasync *fasync = NULL; in snd_fasync_helper() local
128 fasync = kzalloc_obj(*fasync); in snd_fasync_helper()
[all …]
H A Dinit.c440 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
441 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release()
481 .fasync = snd_disconnect_fasync
H A Dtimer.c88 struct snd_fasync *fasync; member
1413 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_interrupt()
1449 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_ccallback()
1516 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_tinterrupt()
1580 snd_fasync_free(tu->fasync); in snd_timer_user_release()
2396 return snd_fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2538 .fasync = snd_timer_user_fasync,
H A Dcontrol.c133 snd_fasync_free(ctl->fasync); in snd_ctl_release()
188 snd_kill_fasync(ctl->fasync, SIGIO, POLL_IN); in snd_ctl_notify()
2284 return snd_fasync_helper(fd, file, on, &ctl->fasync); in snd_ctl_fasync()
2406 .fasync = snd_ctl_fasync,
2446 snd_kill_fasync(ctl->fasync, SIGIO, POLL_ERR); in snd_ctl_dev_disconnect()
/linux/drivers/input/serio/
H A Dserio_raw.c43 struct fasync_struct *fasync; member
59 return fasync_helper(fd, file, on, &client->fasync); in serio_raw_fasync()
238 .fasync = serio_raw_fasync,
260 kill_fasync(&client->fasync, SIGIO, POLL_IN); in serio_raw_interrupt()
361 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in serio_raw_hangup()
/linux/drivers/platform/surface/
H A Dsurface_aggregator_cdev.c68 struct fasync_struct *fasync; member
125 kill_fasync(&client->fasync, SIGIO, POLL_IN); in ssam_cdev_notifier()
661 return fasync_helper(fd, file, on, &client->fasync); in ssam_cdev_fasync()
670 .fasync = ssam_cdev_fasync,
736 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in ssam_dbg_device_remove()
H A Dsurface_dtx.c181 struct fasync_struct *fasync; member
546 return fasync_helper(fd, file, on, &client->fasync); in surface_dtx_fasync()
555 .fasync = surface_dtx_fasync,
613 kill_fasync(&client->fasync, SIGIO, POLL_IN); in sdtx_push_event()
1085 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in sdtx_device_destroy()
/linux/include/linux/
H A Dhidraw.h31 struct fasync_struct *fasync; member
H A Dhid-debug.h32 struct fasync_struct *fasync; member
/linux/drivers/input/
H A Dmousedev.c95 struct fasync_struct *fasync; member
309 kill_fasync(&client->fasync, SIGIO, POLL_IN); in mousedev_notify_readers()
408 return fasync_helper(fd, file, on, &client->fasync); in mousedev_fasync()
710 kill_fasync(&client->fasync, SIGIO, POLL_IN); in mousedev_write()
780 .fasync = mousedev_fasync,
806 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in mousedev_hangup()
H A Djoydev.c63 struct fasync_struct *fasync; member
109 kill_fasync(&client->fasync, SIGIO, POLL_IN); in joydev_pass_event()
157 return fasync_helper(fd, file, on, &client->fasync); in joydev_fasync()
238 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in joydev_hangup()
720 .fasync = joydev_fasync,
H A Devdev.c47 struct fasync_struct *fasync; member
243 kill_fasync(&client->fasync, SIGIO, POLL_IN); in __pass_event()
322 return fasync_helper(fd, file, on, &client->fasync); in evdev_fasync()
425 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in evdev_hangup()
1308 .fasync = evdev_fasync,
/linux/drivers/hid/
H A Dhidraw.c338 return fasync_helper(fd, file, on, &list->fasync); in hidraw_fasync()
565 .fasync = hidraw_fasync,
590 kill_fasync(&list->fasync, SIGIO, POLL_IN); in hidraw_report_event()
/linux/drivers/char/
H A Drandom.c89 static struct fasync_struct *fasync; variable
737 kill_fasync(&fasync, SIGIO, POLL_IN); in _credit_init_bits()
1552 return fasync_helper(fd, filp, on, &fasync); in random_fasync()
1561 .fasync = random_fasync,
1572 .fasync = random_fasync,
/linux/drivers/hid/usbhid/
H A Dhiddev.c43 struct fasync_struct *fasync; member
154 kill_fasync(&list->fasync, SIGIO, POLL_IN); in hiddev_send_event()
209 return fasync_helper(fd, file, on, &list->fasync); in hiddev_fasync()
855 .fasync = hiddev_fasync,
/linux/fs/
H A Dioctl.c376 if (filp->f_op->fasync) in ioctl_fioasync()
378 error = filp->f_op->fasync(fd, filp, on); in ioctl_fioasync()
H A Dpipe.c1334 .fasync = pipe_fasync,
1345 .fasync = pipe_fasync,
/linux/drivers/pps/generators/
H A Dpps_gen.c144 .fasync = pps_gen_cdev_fasync,
/linux/drivers/tty/
H A Dn_tty.c231 kill_fasync(&tty->fasync, SIGIO, POLL_OUT); in n_tty_write_wakeup()
1241 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in n_tty_receive_handle_newline()
1632 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in __receive_buf()
2413 if (nr && tty->fasync) in n_tty_write()
/linux/drivers/usb/gadget/legacy/
H A Dinode.c129 struct fasync_struct *fasync; member
863 kill_fasync (&dev->fasync, SIGIO, POLL_IN); in ep0_readable()
1194 return fasync_helper (f, fd, on, &dev->fasync); in ep0_fasync()
1946 .fasync = ep0_fasync,
/linux/Documentation/misc-devices/
H A Dlis3lv02d.rst65 fasync operation modes. You must read 1 bytes from the device. The
/linux/drivers/mailbox/
H A Dmailbox-test.c257 .fasync = mbox_test_message_fasync,
/linux/drivers/usb/misc/
H A Dyurex.c530 .fasync = yurex_fasync,
/linux/drivers/rtc/
H A Ddev.c543 .fasync = rtc_dev_fasync,
/linux/drivers/net/
H A Dtun.c135 struct fasync_struct *fasync; member
1155 kill_fasync(&tfile->fasync, SIGIO, POLL_IN); in tun_net_xmit()
1284 kill_fasync(&tfile->fasync, SIGIO, POLL_IN); in __tun_xdp_flush_tfile()
2512 kill_fasync(&tfile->fasync, SIGIO, POLL_OUT); in tun_sock_write_space()
3531 if ((ret = fasync_helper(fd, file, on, &tfile->fasync)) < 0) in tun_chr_fasync()
3625 .fasync = tun_chr_fasync,

123