Searched refs:fasync (Results 1 - 75 of 75) sorted by relevance

/linux-4.1.27/drivers/input/serio/
H A Dserio_raw.c46 struct fasync_struct *fasync; member in struct:serio_raw_client
62 return fasync_helper(fd, file, on, &client->fasync); serio_raw_fasync()
264 .fasync = serio_raw_fasync,
286 kill_fasync(&client->fasync, SIGIO, POLL_IN); serio_raw_interrupt()
387 kill_fasync(&client->fasync, SIGIO, POLL_HUP); serio_raw_hangup()
/linux-4.1.27/include/linux/
H A Dposix-clock.h49 * @fasync: Optional character device fasync method
82 int (*fasync) (struct posix_clock *pc, member in struct:posix_clock_operations
H A Dhid-debug.h45 struct fasync_struct *fasync; member in struct:hid_debug_list
H A Dhidraw.h39 struct fasync_struct *fasync; member in struct:hidraw_list
H A Dpipe_fs_i.h42 * @fasync_readers: reader side fasync
43 * @fasync_writers: writer side fasync
H A Dpps_kernel.h75 struct fasync_struct *async_queue; /* fasync method */
H A Dtty_ldisc.h107 * void (*fasync)(struct tty_struct *, int on)
212 void (*fasync)(struct tty_struct *tty, int on); member in struct:tty_ldisc_ops
H A Dfsnotify_backend.h306 /* fasync handler function */
H A Dperf_event.h461 struct fasync_struct *fasync; member in struct:perf_event
H A Dtty.h299 struct fasync_struct *fasync; member in struct:tty_struct
H A Dfs.h1223 /* SMP safe fasync helpers: */
1607 int (*fasync) (int, struct file *, int); member in struct:file_operations
/linux-4.1.27/fs/
H A Dfcntl.c66 * ->fasync() is responsible for setting the FASYNC bit. setfl()
68 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { setfl()
69 error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); setfl()
567 * Remove a fasync entry. If successfully removed, return
572 * match the state "is the filp on a fasync list".
607 * NOTE! This can be used only for unused fasync entries:
608 * entries that actually got inserted on the fasync list
617 * Insert a new entry into the fasync list. Return the pointer to the
621 * match the state "is the filp on a fasync list".
654 * Add a fasync entry. Return negative on error, positive if
670 * caller know that we didn't add any new fasync entries. fasync_add_entry()
682 * to set up the fasync queue, and for regular files by the file
H A Dfile_table.c203 if (file->f_op->fasync) __fput()
204 file->f_op->fasync(-1, file, 0); __fput()
H A Dioctl.c509 if (filp->f_op->fasync) ioctl_fioasync()
510 /* fasync() adjusts filp->f_flags */ ioctl_fioasync()
511 error = filp->f_op->fasync(fd, filp, on); ioctl_fioasync()
H A Dpipe.c954 .fasync = pipe_fasync,
H A Dlocks.c485 * old entry, then it used "priv" and inserted it into the fasync list. lease_setup()
1318 printk(KERN_ERR "locks_delete_lock: fasync == %p\n", fl->fl_fasync); lease_modify()
/linux-4.1.27/drivers/tty/vt/
H A Dvc_screen.c58 struct fasync_struct *fasync; member in struct:vcs_poll_data
82 kill_fasync(&poll->fasync, SIGIO, POLL_IN); vcs_notifier()
113 * This code may be called either through ->poll() or ->fasync(). vcs_poll_data_get()
581 /* don't allocate anything if all we want is disable fasync */ vcs_fasync()
589 return fasync_helper(fd, file, on, &poll->fasync); vcs_fasync()
619 .fasync = vcs_fasync,
/linux-4.1.27/fs/ecryptfs/
H A Dfile.c288 if (lower_file->f_op->fasync) ecryptfs_fasync()
289 rc = lower_file->f_op->fasync(fd, lower_file, flag); ecryptfs_fasync()
354 .fasync = ecryptfs_fasync,
373 .fasync = ecryptfs_fasync,
/linux-4.1.27/net/irda/irnet/
H A Dirnet_ppp.h108 /* Also : llseek, readdir, mmap, flush, fsync, fasync, lock, readv, writev */
/linux-4.1.27/drivers/input/
H A Dmousedev.c97 struct fasync_struct *fasync; member in struct:mousedev_client
312 kill_fasync(&client->fasync, SIGIO, POLL_IN); mousedev_notify_readers()
411 return fasync_helper(fd, file, on, &client->fasync); mousedev_fasync()
706 kill_fasync(&client->fasync, SIGIO, POLL_IN); mousedev_write()
776 .fasync = mousedev_fasync,
802 kill_fasync(&client->fasync, SIGIO, POLL_HUP); mousedev_hangup()
H A Djoydev.c69 struct fasync_struct *fasync; member in struct:joydev_client
115 kill_fasync(&client->fasync, SIGIO, POLL_IN); joydev_pass_event()
163 return fasync_helper(fd, file, on, &client->fasync); joydev_fasync()
231 kill_fasync(&client->fasync, SIGIO, POLL_HUP); joydev_hangup()
720 .fasync = joydev_fasync,
H A Devdev.c56 struct fasync_struct *fasync; member in struct:evdev_client
207 kill_fasync(&client->fasync, SIGIO, POLL_IN); __pass_event()
286 return fasync_helper(fd, file, on, &client->fasync); evdev_fasync()
403 kill_fasync(&client->fasync, SIGIO, POLL_HUP); evdev_hangup()
1104 .fasync = evdev_fasync,
/linux-4.1.27/kernel/time/
H A Dposix-clock.c93 if (clk->ops.fasync) posix_clock_fasync()
94 err = clk->ops.fasync(clk, fd, fp, on); posix_clock_fasync()
202 .fasync = posix_clock_fasync,
/linux-4.1.27/drivers/hid/usbhid/
H A Dhiddev.c64 struct fasync_struct *fasync; member in struct:hiddev_list
175 kill_fasync(&list->fasync, SIGIO, POLL_IN); hiddev_send_event()
224 * fasync file op
230 return fasync_helper(fd, file, on, &list->fasync); hiddev_fasync()
856 .fasync = hiddev_fasync,
/linux-4.1.27/drivers/hid/
H A Dhidraw.c323 return fasync_helper(fd, file, on, &list->fasync); hidraw_fasync()
478 .fasync = hidraw_fasync,
505 kill_fasync(&list->fasync, SIGIO, POLL_IN); hidraw_report_event()
/linux-4.1.27/Documentation/timers/
H A Dhpet_example.c44 "fasync",
/linux-4.1.27/sound/core/
H A Dtimer.c76 struct fasync_struct *fasync; member in struct:snd_timer_user
1220 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_interrupt()
1256 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_ccallback()
1314 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_tinterrupt()
1919 return fasync_helper(fd, file, on, &tu->fasync); snd_timer_user_fasync()
2022 .fasync = snd_timer_user_fasync,
H A Dinit.c344 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) snd_disconnect_release()
345 df->disconnected_f_op->fasync(-1, file, 0); snd_disconnect_release()
386 .fasync = snd_disconnect_fasync
H A Dcontrol.c188 kill_fasync(&ctl->fasync, SIGIO, POLL_IN); snd_ctl_notify()
1696 return fasync_helper(fd, file, on, &ctl->fasync); snd_ctl_fasync()
1743 .fasync = snd_ctl_fasync,
1768 kill_fasync(&ctl->fasync, SIGIO, POLL_ERR); snd_ctl_dev_disconnect()
H A Dpcm_native.c3532 return fasync_helper(fd, file, on, &runtime->fasync); snd_pcm_fasync()
3692 .fasync = snd_pcm_fasync,
3706 .fasync = snd_pcm_fasync,
H A Dpcm_lib.c1892 kill_fasync(&runtime->fasync, SIGIO, POLL_IN); snd_pcm_period_elapsed()
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_config.c57 struct fasync_struct *fasync; member in struct:i2o_cfg_info
1073 tmp->fasync = NULL; cfg_open()
1101 ret = fasync_helper(fd, fp, on, &p->fasync); cfg_fasync()
1136 .fasync = cfg_fasync,
/linux-4.1.27/include/sound/
H A Dcontrol.h109 struct fasync_struct *fasync; member in struct:snd_ctl_file
H A Dpcm.h396 struct fasync_struct *fasync; member in struct:snd_pcm_runtime
/linux-4.1.27/drivers/tty/
H A Dn_tty.c231 if (tty->fasync && test_and_clear_bit(TTY_DO_WRITE_WAKEUP, &tty->flags)) n_tty_write_wakeup()
232 kill_fasync(&tty->fasync, SIGIO, POLL_OUT); n_tty_write_wakeup()
1381 kill_fasync(&tty->fasync, SIGIO, POLL_IN); n_tty_receive_char_special()
1667 kill_fasync(&tty->fasync, SIGIO, POLL_IN); __receive_buf()
2436 if (b - buf != nr && tty->fasync) n_tty_write()
2538 else if (!tty->fasync) n_tty_fasync()
2557 .fasync = n_tty_fasync,
H A Dn_hdlc.c564 if (n_hdlc->tty->fasync != NULL) n_hdlc_tty_receive()
565 kill_fasync (&n_hdlc->tty->fasync, SIGIO, POLL_IN); n_hdlc_tty_receive()
H A Dtty_io.c465 .fasync = tty_fasync,
477 .fasync = tty_fasync,
2223 retval = fasync_helper(fd, filp, on, &tty->fasync); __tty_fasync()
2229 if (ldisc->ops->fasync) __tty_fasync()
2230 ldisc->ops->fasync(tty, on); __tty_fasync()
/linux-4.1.27/drivers/net/
H A Dtun.c109 * overload it to mean fasync when stored there.
150 struct fasync_struct *fasync; member in struct:tun_file
827 kill_fasync(&tfile->fasync, SIGIO, POLL_IN); tun_net_xmit()
1448 kill_fasync(&tfile->fasync, SIGIO, POLL_OUT); tun_sock_write_space()
2142 if ((ret = fasync_helper(fd, file, on, &tfile->fasync)) < 0) tun_chr_fasync()
2235 .fasync = tun_chr_fasync,
/linux-4.1.27/drivers/char/
H A Drandom.c410 static struct fasync_struct *fasync; variable in typeref:struct:fasync_struct
678 kill_fasync(&fasync, SIGIO, POLL_IN); credit_entropy_bits()
1058 kill_fasync(&fasync, SIGIO, POLL_OUT); account()
1503 return fasync_helper(fd, filp, on, &fasync); random_fasync()
1511 .fasync = random_fasync,
1519 .fasync = random_fasync,
H A Dhpet.c729 .fasync = hpet_fasync,
H A Drtc.c909 .fasync = rtc_fasync,
H A Dsonypi.c1069 .fasync = sonypi_misc_fasync,
H A Dvirtio_console.c1117 .fasync = port_fops_fasync,
/linux-4.1.27/fs/fuse/
H A Ddev.c333 kill_fasync(&fc->fasync, SIGIO, POLL_IN); queue_request()
347 kill_fasync(&fc->fasync, SIGIO, POLL_IN); fuse_queue_forget()
429 kill_fasync(&fc->fasync, SIGIO, POLL_IN); queue_interrupt()
2193 kill_fasync(&fc->fasync, SIGIO, POLL_IN); fuse_abort_conn()
2225 return fasync_helper(fd, file, on, &fc->fasync); fuse_dev_fasync()
2238 .fasync = fuse_dev_fasync,
H A Dfuse_i.h607 struct fasync_struct *fasync; member in struct:fuse_conn
/linux-4.1.27/drivers/pps/
H A Dpps.c270 .fasync = pps_cdev_fasync,
/linux-4.1.27/drivers/rtc/
H A Drtc-dev.c456 .fasync = rtc_dev_fasync,
/linux-4.1.27/drivers/usb/gadget/legacy/
H A Dinode.c122 struct fasync_struct *fasync; member in struct:dev_data
846 kill_fasync (&dev->fasync, SIGIO, POLL_IN); ep0_readable()
1168 return fasync_helper (f, fd, on, &dev->fasync); ep0_fasync()
1883 .fasync = ep0_fasync,
/linux-4.1.27/drivers/usb/misc/
H A Dyurex.c542 .fasync = yurex_fasync,
/linux-4.1.27/drivers/xen/
H A Devtchn.c548 .fasync = evtchn_fasync,
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c318 .fasync = cosa_fasync,
993 static struct fasync_struct *fasync[256] = { NULL, };
1000 return fasync_helper(inode, file, on, &fasync[port]);
992 static struct fasync_struct *fasync[256] = { NULL, }; global() variable in typeref:struct:fasync_struct
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dfile.c855 .fasync = spufs_ibox_fasync,
1005 .fasync = spufs_wbox_fasync,
1879 .fasync = spufs_mfc_fasync,
/linux-4.1.27/drivers/input/misc/
H A Dhp_sdc_rtc.c691 .fasync = hp_sdc_rtc_fasync,
/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_devintf.c867 .fasync = ipmi_fasync,
H A Dipmi_watchdog.c933 .fasync = ipmi_fasync,
/linux-4.1.27/drivers/uio/
H A Duio.c715 .fasync = uio_fasync,
/linux-4.1.27/fs/notify/fanotify/
H A Dfanotify_user.c427 .fasync = NULL,
/linux-4.1.27/fs/notify/inotify/
H A Dinotify_user.c321 .fasync = fsnotify_fasync,
/linux-4.1.27/drivers/infiniband/core/
H A Duverbs_main.c434 .fasync = ib_uverbs_event_fasync,
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_dev.c1249 .fasync = genwqe_fasync,
/linux-4.1.27/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c679 .fasync = lis3lv02d_misc_fasync,
/linux-4.1.27/drivers/hsi/clients/
H A Dcmt_speech.c1368 .fasync = cs_char_fasync,
/linux-4.1.27/net/
H A Dsocket.c152 .fasync = sock_fasync,
577 pr_err("%s: fasync list not empty!\n", __func__); sock_release()
/linux-4.1.27/drivers/staging/comedi/
H A Dcomedi_fops.c2655 .fasync = comedi_fasync,
/linux-4.1.27/kernel/events/
H A Dcore.c4769 retval = fasync_helper(fd, filp, on, &event->fasync); perf_fasync()
4786 .fasync = perf_fasync,
4798 /* only the parent has fasync state */ perf_event_fasync()
4801 return &event->fasync; perf_event_fasync()
/linux-4.1.27/drivers/message/fusion/
H A Dmptctl.c2803 .fasync = mptctl_fasync,
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_ctl.c3023 .fasync = _ctl_fasync,
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c3225 .fasync = _ctl_fasync,
/linux-4.1.27/drivers/scsi/
H A Dsg.c1385 .fasync = sg_fasync,
H A Dpmcraid.c4093 .fasync = pmcraid_chr_fasync,
/linux-4.1.27/include/net/
H A Dsock.h714 SOCK_FASYNC, /* fasync() active */
/linux-4.1.27/Documentation/cdrom/
H A Dcdrom-standard.tex177 &NULL, & fasync \cr
/linux-4.1.27/drivers/platform/x86/
H A Dsony-laptop.c4254 .fasync = sonypi_misc_fasync,
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6470 .fasync = megasas_mgmt_fasync,
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon.c2154 .fasync = pfm_fasync,

Completed in 2762 milliseconds