Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/sound/core/
Dmisc.c161 struct fasync_struct *fasync; member
173 struct snd_fasync *fasync; in snd_fasync_work_fn() local
177 fasync = list_first_entry(&snd_fasync_list, struct snd_fasync, list); in snd_fasync_work_fn()
178 list_del_init(&fasync->list); in snd_fasync_work_fn()
180 if (fasync->on) in snd_fasync_work_fn()
181 kill_fasync(&fasync->fasync, fasync->signal, fasync->poll); in snd_fasync_work_fn()
192 struct snd_fasync *fasync = NULL; in snd_fasync_helper() local
195 fasync = kzalloc(sizeof(*fasync), GFP_KERNEL); in snd_fasync_helper()
196 if (!fasync) in snd_fasync_helper()
198 INIT_LIST_HEAD(&fasync->list); in snd_fasync_helper()
[all …]
Dinit.c324 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
325 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release()
366 .fasync = snd_disconnect_fasync
Dtimer.c86 struct snd_fasync *fasync; member
1348 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_interrupt()
1386 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_ccallback()
1456 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_tinterrupt()
1524 snd_fasync_free(tu->fasync); in snd_timer_user_release()
2139 return snd_fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2284 .fasync = snd_timer_user_fasync,
Dcontrol.c124 snd_fasync_free(ctl->fasync); in snd_ctl_release()
179 snd_kill_fasync(ctl->fasync, SIGIO, POLL_IN); in snd_ctl_notify()
1945 return snd_fasync_helper(fd, file, on, &ctl->fasync); in snd_ctl_fasync()
1993 .fasync = snd_ctl_fasync,
2019 snd_kill_fasync(ctl->fasync, SIGIO, POLL_ERR); in snd_ctl_dev_disconnect()
/kernel/linux/linux-5.10/drivers/input/serio/
Dserio_raw.c43 struct fasync_struct *fasync; member
59 return fasync_helper(fd, file, on, &client->fasync); in serio_raw_fasync()
261 .fasync = serio_raw_fasync,
283 kill_fasync(&client->fasync, SIGIO, POLL_IN); in serio_raw_interrupt()
384 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in serio_raw_hangup()
/kernel/linux/linux-5.10/fs/sharefs/
Dfile.c132 if (lower_file->f_op && lower_file->f_op->fasync) in sharefs_fasync()
133 err = lower_file->f_op->fasync(fd, lower_file, flag); in sharefs_fasync()
253 .fasync = sharefs_fasync,
270 .fasync = sharefs_fasync,
/kernel/linux/linux-5.10/fs/ecryptfs/
Dfile.c341 if (lower_file->f_op->fasync) in ecryptfs_fasync()
342 rc = lower_file->f_op->fasync(fd, lower_file, flag); in ecryptfs_fasync()
422 .fasync = ecryptfs_fasync,
/kernel/linux/linux-5.10/include/linux/
Dhidraw.h31 struct fasync_struct *fasync; member
Dhid-debug.h32 struct fasync_struct *fasync; member
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvc_screen.c81 struct fasync_struct *fasync; member
114 kill_fasync(&poll->fasync, SIGIO, fa_band); in vcs_notifier()
748 return fasync_helper(fd, file, on, &poll->fasync); in vcs_fasync()
784 .fasync = vcs_fasync,
/kernel/linux/linux-5.10/drivers/input/
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()
Djoydev.c64 struct fasync_struct *fasync; member
110 kill_fasync(&client->fasync, SIGIO, POLL_IN); in joydev_pass_event()
158 return fasync_helper(fd, file, on, &client->fasync); in joydev_fasync()
239 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in joydev_hangup()
721 .fasync = joydev_fasync,
Devdev.c46 struct fasync_struct *fasync; member
240 kill_fasync(&client->fasync, SIGIO, POLL_IN); in __pass_event()
326 return fasync_helper(fd, file, on, &client->fasync); in evdev_fasync()
429 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in evdev_hangup()
1303 .fasync = evdev_fasync,
/kernel/linux/linux-5.10/fs/
Dfile_table.c277 if (file->f_op->fasync) in __fput()
278 file->f_op->fasync(-1, file, 0); in __fput()
Dioctl.c581 if (filp->f_op->fasync) in ioctl_fioasync()
583 error = filp->f_op->fasync(fd, filp, on); in ioctl_fioasync()
/kernel/linux/linux-5.10/drivers/char/
Drandom.c85 static struct fasync_struct *fasync; variable
725 kill_fasync(&fasync, SIGIO, POLL_IN); in _credit_init_bits()
1383 return fasync_helper(fd, filp, on, &fasync); in random_fasync()
1392 .fasync = random_fasync,
1403 .fasync = random_fasync,
/kernel/linux/linux-5.10/drivers/hid/
Dhidraw.c316 return fasync_helper(fd, file, on, &list->fasync); in hidraw_fasync()
483 .fasync = hidraw_fasync,
508 kill_fasync(&list->fasync, SIGIO, POLL_IN); in hidraw_report_event()
/kernel/linux/linux-5.10/include/sound/
Dcore.h454 void snd_kill_fasync(struct snd_fasync *fasync, int signal, int poll);
455 void snd_fasync_free(struct snd_fasync *fasync);
Dcontrol.h106 struct snd_fasync *fasync; member
/kernel/linux/linux-5.10/drivers/hid/usbhid/
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,
/kernel/linux/linux-5.10/drivers/tty/
Dn_hdlc.c426 if (tty->fasync != NULL) in n_hdlc_tty_receive()
427 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in n_hdlc_tty_receive()
Dn_tty.c244 kill_fasync(&tty->fasync, SIGIO, POLL_OUT); in n_tty_write_wakeup()
1375 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in n_tty_receive_char_special()
1656 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in __receive_buf()
2433 if (nr && tty->fasync) in n_tty_write()
/kernel/linux/linux-5.10/drivers/usb/class/
Dusbtmc.c111 struct fasync_struct *fasync; member
2175 return fasync_helper(fd, file, on, &file_data->data->fasync); in usbtmc_fasync()
2230 .fasync = usbtmc_fasync,
2266 if (data->fasync) in usbtmc_interrupt()
2267 kill_fasync(&data->fasync, in usbtmc_interrupt()
/kernel/linux/linux-5.10/fs/fuse/
Ddev.c214 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_dev_wake_and_unlock()
2187 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_abort_conn()
2226 WARN_ON(fc->iq.fasync != NULL); in fuse_dev_release()
2243 return fasync_helper(fd, file, on, &fud->fc->iq.fasync); in fuse_dev_fasync()
2309 .fasync = fuse_dev_fasync,
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Dinode.c122 struct fasync_struct *fasync; member
852 kill_fasync (&dev->fasync, SIGIO, POLL_IN); in ep0_readable()
1183 return fasync_helper (f, fd, on, &dev->fasync); in ep0_fasync()
1934 .fasync = ep0_fasync,

123