Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.c441 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
442 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release()
483 .fasync = snd_disconnect_fasync
Dtimer.c86 struct snd_fasync *fasync; member
1352 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_interrupt()
1390 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_ccallback()
1460 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_tinterrupt()
1528 snd_fasync_free(tu->fasync); in snd_timer_user_release()
2147 return snd_fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2292 .fasync = snd_timer_user_fasync,
/linux-6.6.21/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()
/linux-6.6.21/fs/ecryptfs/
Dfile.c360 if (lower_file->f_op->fasync) in ecryptfs_fasync()
361 rc = lower_file->f_op->fasync(fd, lower_file, flag); in ecryptfs_fasync()
441 .fasync = ecryptfs_fasync,
/linux-6.6.21/drivers/platform/surface/
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,
737 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in ssam_dbg_device_remove()
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,
614 kill_fasync(&client->fasync, SIGIO, POLL_IN); in sdtx_push_event()
1086 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in sdtx_device_destroy()
/linux-6.6.21/include/linux/
Dhidraw.h31 struct fasync_struct *fasync; member
Dhid-debug.h32 struct fasync_struct *fasync; member
/linux-6.6.21/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,
/linux-6.6.21/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.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,
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,
/linux-6.6.21/drivers/hid/
Dhidraw.c323 return fasync_helper(fd, file, on, &list->fasync); in hidraw_fasync()
514 .fasync = hidraw_fasync,
539 kill_fasync(&list->fasync, SIGIO, POLL_IN); in hidraw_report_event()
/linux-6.6.21/drivers/char/
Drandom.c88 static struct fasync_struct *fasync; variable
725 kill_fasync(&fasync, SIGIO, POLL_IN); in _credit_init_bits()
1538 return fasync_helper(fd, filp, on, &fasync); in random_fasync()
1547 .fasync = random_fasync,
1558 .fasync = random_fasync,
/linux-6.6.21/include/sound/
Dcore.h515 void snd_kill_fasync(struct snd_fasync *fasync, int signal, int poll);
516 void snd_fasync_free(struct snd_fasync *fasync);
Dcontrol.h112 struct snd_fasync *fasync; member
/linux-6.6.21/fs/
Dfile_table.c380 if (file->f_op->fasync) in __fput()
381 file->f_op->fasync(-1, file, 0); in __fput()
Dioctl.c378 if (filp->f_op->fasync) in ioctl_fioasync()
380 error = filp->f_op->fasync(fd, filp, on); in ioctl_fioasync()
Dfcntl.c73 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { in setfl()
74 error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); in setfl()
/linux-6.6.21/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,
/linux-6.6.21/drivers/tty/
Dn_hdlc.c411 if (tty->fasync != NULL) in n_hdlc_tty_receive()
412 kill_fasync(&tty->fasync, SIGIO, POLL_IN); in n_hdlc_tty_receive()
/linux-6.6.21/drivers/usb/class/
Dusbtmc.c111 struct fasync_struct *fasync; member
2216 return fasync_helper(fd, file, on, &file_data->data->fasync); in usbtmc_fasync()
2271 .fasync = usbtmc_fasync,
2307 if (data->fasync) in usbtmc_interrupt()
2308 kill_fasync(&data->fasync, in usbtmc_interrupt()
/linux-6.6.21/fs/fuse/
Ddev.c214 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_dev_wake_and_unlock()
2178 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_abort_conn()
2217 WARN_ON(fc->iq.fasync != NULL); in fuse_dev_release()
2234 return fasync_helper(fd, file, on, &fud->fc->iq.fasync); in fuse_dev_fasync()
2303 .fasync = fuse_dev_fasync,
/linux-6.6.21/drivers/usb/gadget/legacy/
Dinode.c122 struct fasync_struct *fasync; member
850 kill_fasync (&dev->fasync, SIGIO, POLL_IN); in ep0_readable()
1181 return fasync_helper (f, fd, on, &dev->fasync); in ep0_fasync()
1932 .fasync = ep0_fasync,

123