Home
last modified time | relevance | path

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

/fs/xfs/linux-2.6/
Dxfs_ioctl.c817 struct fsxattr fa; in xfs_ioc_fsgetxattr() local
820 fa.fsx_xflags = xfs_ip2xflags(ip); in xfs_ioc_fsgetxattr()
821 fa.fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_ioc_fsgetxattr()
822 fa.fsx_projid = ip->i_d.di_projid; in xfs_ioc_fsgetxattr()
827 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
830 fa.fsx_nextents = ip->i_d.di_anextents; in xfs_ioc_fsgetxattr()
832 fa.fsx_nextents = 0; in xfs_ioc_fsgetxattr()
835 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
838 fa.fsx_nextents = ip->i_d.di_nextents; in xfs_ioc_fsgetxattr()
842 if (copy_to_user(arg, &fa, sizeof(fa))) in xfs_ioc_fsgetxattr()
[all …]
/fs/
Dfcntl.c525 struct fasync_struct *fa, **fp; in fasync_helper() local
535 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_helper()
536 if (fa->fa_file == filp) { in fasync_helper()
538 fa->fa_fd = fd; in fasync_helper()
541 *fp = fa->fa_next; in fasync_helper()
542 kmem_cache_free(fasync_cache, fa); in fasync_helper()
564 void __kill_fasync(struct fasync_struct *fa, int sig, int band) in __kill_fasync() argument
566 while (fa) { in __kill_fasync()
568 if (fa->magic != FASYNC_MAGIC) { in __kill_fasync()
573 fown = &fa->fa_file->f_owner; in __kill_fasync()
[all …]
/fs/notify/inotify/
Dinotify_user.c81 struct fasync_struct *fa; /* async notification */ member
319 kill_fasync(&dev->fa, SIGIO, POLL_IN); in inotify_dev_queue_event()
538 return fasync_helper(fd, file, on, &dev->fa) >= 0 ? 0 : -EIO; in inotify_fasync()
636 dev->fa = NULL; in SYSCALL_DEFINE1()