Home
last modified time | relevance | path

Searched refs:fa (Results 1 – 4 of 4) sorted by relevance

/fs/
Dfcntl.c672 struct fasync_struct *fa, **fp; in fasync_remove_entry() local
677 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry()
678 if (fa->fa_file != filp) in fasync_remove_entry()
681 spin_lock_irq(&fa->fa_lock); in fasync_remove_entry()
682 fa->fa_file = NULL; in fasync_remove_entry()
683 spin_unlock_irq(&fa->fa_lock); in fasync_remove_entry()
685 *fp = fa->fa_next; in fasync_remove_entry()
686 call_rcu(&fa->fa_rcu, fasync_free_rcu); in fasync_remove_entry()
720 struct fasync_struct *fa, **fp; in fasync_insert_entry() local
724 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry()
[all …]
/fs/xfs/
Dxfs_ioctl.c798 struct fsxattr fa; in xfs_ioc_fsgetxattr() local
800 memset(&fa, 0, sizeof(struct fsxattr)); in xfs_ioc_fsgetxattr()
803 fa.fsx_xflags = xfs_ip2xflags(ip); in xfs_ioc_fsgetxattr()
804 fa.fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_ioc_fsgetxattr()
805 fa.fsx_projid = xfs_get_projid(ip); in xfs_ioc_fsgetxattr()
810 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
813 fa.fsx_nextents = ip->i_d.di_anextents; in xfs_ioc_fsgetxattr()
815 fa.fsx_nextents = 0; in xfs_ioc_fsgetxattr()
818 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
821 fa.fsx_nextents = ip->i_d.di_nextents; in xfs_ioc_fsgetxattr()
[all …]
/fs/proc/
Dbase.c2240 struct flex_array *fa = NULL; in proc_map_files_readdir() local
2267 fa = flex_array_alloc(sizeof(info), nr_files, in proc_map_files_readdir()
2269 if (!fa || flex_array_prealloc(fa, 0, nr_files, in proc_map_files_readdir()
2272 if (fa) in proc_map_files_readdir()
2273 flex_array_free(fa); in proc_map_files_readdir()
2290 if (flex_array_put(fa, i++, &info, GFP_KERNEL)) in proc_map_files_readdir()
2297 p = flex_array_get(fa, i); in proc_map_files_readdir()
2312 p = flex_array_get(fa, i); in proc_map_files_readdir()
2315 if (fa) in proc_map_files_readdir()
2316 flex_array_free(fa); in proc_map_files_readdir()
/fs/notify/inotify/
Dinotify_user.c287 return fasync_helper(fd, file, on, &group->inotify_data.fa) >= 0 ? 0 : -EIO; in inotify_fasync()
704 group->inotify_data.fa = NULL; in inotify_new_group()