Lines Matching refs:fapp
856 int fasync_remove_entry(struct file *filp, struct fasync_struct **fapp) in fasync_remove_entry() argument
863 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry()
904 struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, s… in fasync_insert_entry() argument
910 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry()
924 new->fa_next = *fapp; in fasync_insert_entry()
925 rcu_assign_pointer(*fapp, new); in fasync_insert_entry()
938 static int fasync_add_entry(int fd, struct file *filp, struct fasync_struct **fapp) in fasync_add_entry() argument
953 if (fasync_insert_entry(fd, filp, fapp, new)) { in fasync_add_entry()
967 int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp) in fasync_helper() argument
970 return fasync_remove_entry(filp, fapp); in fasync_helper()
971 return fasync_add_entry(fd, filp, fapp); in fasync_helper()