tag | line | file | source code |
fa | 1250 | drivers/char/tty_io.c | struct fasync_struct *fa, **fp; |
fa | 1253 | drivers/char/tty_io.c | for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { |
fa | 1254 | drivers/char/tty_io.c | if (fa->fa_file == filp) |
fa | 1259 | drivers/char/tty_io.c | if (fa) |
fa | 1261 | drivers/char/tty_io.c | fa = (struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |
fa | 1262 | drivers/char/tty_io.c | if (!fa) |
fa | 1264 | drivers/char/tty_io.c | fa->magic = FASYNC_MAGIC; |
fa | 1265 | drivers/char/tty_io.c | fa->fa_file = filp; |
fa | 1268 | drivers/char/tty_io.c | fa->fa_next = *fapp; |
fa | 1269 | drivers/char/tty_io.c | *fapp = fa; |
fa | 1273 | drivers/char/tty_io.c | if (!fa) |
fa | 1277 | drivers/char/tty_io.c | *fp = fa->fa_next; |
fa | 1279 | drivers/char/tty_io.c | kfree(fa); |
fa | 164 | fs/fcntl.c | void kill_fasync(struct fasync_struct *fa, int sig) |
fa | 166 | fs/fcntl.c | while (fa) { |
fa | 167 | fs/fcntl.c | if (fa->magic != FASYNC_MAGIC) { |
fa | 172 | fs/fcntl.c | if (fa->fa_file->f_owner > 0) |
fa | 173 | fs/fcntl.c | kill_proc(fa->fa_file->f_owner, sig, 1); |
fa | 175 | fs/fcntl.c | kill_pg(-fa->fa_file->f_owner, sig, 1); |
fa | 176 | fs/fcntl.c | fa = fa->fa_next; |
fa | 18 | fs/nfs/cache.c | void nfs_bl_cache_revalidate(nfs_cache *nh, struct fattr fa) |
fa | 445 | include/linux/fs.h | extern void kill_fasync(struct fasync_struct *fa, int sig); |
fa | 432 | net/socket.c | struct fasync_struct *fa, *fna=NULL, **prev; |
fa | 450 | net/socket.c | for(fa=*prev; fa!=NULL; prev=&fa->fa_next,fa=*prev) |
fa | 451 | net/socket.c | if(fa->fa_file==filp) |
fa | 456 | net/socket.c | if(fa!=NULL) |
fa | 469 | net/socket.c | if(fa!=NULL) |
fa | 471 | net/socket.c | *prev=fa->fa_next; |
fa | 472 | net/socket.c | kfree_s(fa,sizeof(struct fasync_struct)); |