Home
last modified time | relevance | path

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

123

/linux-6.12.1/sound/core/
Dmisc.c90 struct fasync_struct *fasync; member
102 struct snd_fasync *fasync; in snd_fasync_work_fn() local
106 fasync = list_first_entry(&snd_fasync_list, struct snd_fasync, list); in snd_fasync_work_fn()
107 list_del_init(&fasync->list); in snd_fasync_work_fn()
109 if (fasync->on) in snd_fasync_work_fn()
110 kill_fasync(&fasync->fasync, fasync->signal, fasync->poll); in snd_fasync_work_fn()
121 struct snd_fasync *fasync = NULL; in snd_fasync_helper() local
124 fasync = kzalloc(sizeof(*fasync), GFP_KERNEL); in snd_fasync_helper()
125 if (!fasync) in snd_fasync_helper()
127 INIT_LIST_HEAD(&fasync->list); in snd_fasync_helper()
[all …]
Dinit.c435 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
436 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release()
477 .fasync = snd_disconnect_fasync
Dtimer.c88 struct snd_fasync *fasync; member
1322 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_interrupt()
1358 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_ccallback()
1425 snd_kill_fasync(tu->fasync, SIGIO, POLL_IN); in snd_timer_user_tinterrupt()
1492 snd_fasync_free(tu->fasync); in snd_timer_user_release()
2299 return snd_fasync_helper(fd, file, on, &tu->fasync); in snd_timer_user_fasync()
2442 .fasync = snd_timer_user_fasync,
Dcontrol.c130 snd_fasync_free(ctl->fasync); in snd_ctl_release()
185 snd_kill_fasync(ctl->fasync, SIGIO, POLL_IN); in snd_ctl_notify()
2152 return snd_fasync_helper(fd, file, on, &ctl->fasync); in snd_ctl_fasync()
2275 .fasync = snd_ctl_fasync,
2315 snd_kill_fasync(ctl->fasync, SIGIO, POLL_ERR); in snd_ctl_dev_disconnect()
/linux-6.12.1/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.12.1/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.12.1/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,
736 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,
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-6.12.1/include/linux/
Dhidraw.h31 struct fasync_struct *fasync; member
Dhid-debug.h32 struct fasync_struct *fasync; member
/linux-6.12.1/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()
317 return fasync_helper(fd, file, on, &client->fasync); in evdev_fasync()
420 kill_fasync(&client->fasync, SIGIO, POLL_HUP); in evdev_hangup()
1301 .fasync = evdev_fasync,
/linux-6.12.1/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.12.1/include/sound/
Dcore.h448 void snd_kill_fasync(struct snd_fasync *fasync, int signal, int poll);
449 void snd_fasync_free(struct snd_fasync *fasync);
Dcontrol.h112 struct snd_fasync *fasync; member
/linux-6.12.1/drivers/hid/
Dhidraw.c338 return fasync_helper(fd, file, on, &list->fasync); in hidraw_fasync()
545 .fasync = hidraw_fasync,
570 kill_fasync(&list->fasync, SIGIO, POLL_IN); in hidraw_report_event()
/linux-6.12.1/drivers/char/
Drandom.c93 static struct fasync_struct *fasync; variable
749 kill_fasync(&fasync, SIGIO, POLL_IN); in _credit_init_bits()
1560 return fasync_helper(fd, filp, on, &fasync); in random_fasync()
1569 .fasync = random_fasync,
1580 .fasync = random_fasync,
/linux-6.12.1/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.12.1/fs/
Dfile_table.c427 if (file->f_op->fasync) in __fput()
428 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()
/linux-6.12.1/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.12.1/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.12.1/drivers/usb/gadget/legacy/
Dinode.c128 struct fasync_struct *fasync; member
855 kill_fasync (&dev->fasync, SIGIO, POLL_IN); in ep0_readable()
1186 return fasync_helper (f, fd, on, &dev->fasync); in ep0_fasync()
1945 .fasync = ep0_fasync,
/linux-6.12.1/fs/fuse/
Ddev.c249 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_dev_wake_and_unlock()
2293 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); in fuse_abort_conn()
2332 WARN_ON(fc->iq.fasync != NULL); in fuse_dev_release()
2349 return fasync_helper(fd, file, on, &fud->fc->iq.fasync); in fuse_dev_fasync()
2465 .fasync = fuse_dev_fasync,

123