Searched refs:fa (Results 1 – 5 of 5) sorted by relevance
/fs/btrfs/ |
D | sysfs.c | 62 static int can_modify_feature(struct btrfs_feature_attr *fa) in can_modify_feature() argument 66 switch (fa->feature_set) { in can_modify_feature() 81 fa->feature_set); in can_modify_feature() 85 if (set & fa->feature_bit) in can_modify_feature() 87 if (clear & fa->feature_bit) in can_modify_feature() 98 struct btrfs_feature_attr *fa = to_btrfs_feature_attr(a); in btrfs_feature_attr_show() local 100 u64 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_show() 101 if (features & fa->feature_bit) in btrfs_feature_attr_show() 104 val = can_modify_feature(fa); in btrfs_feature_attr_show() 114 struct btrfs_feature_attr *fa = to_btrfs_feature_attr(a); in btrfs_feature_attr_store() local [all …]
|
/fs/ |
D | fcntl.c | 581 struct fasync_struct *fa, **fp; in fasync_remove_entry() local 586 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry() 587 if (fa->fa_file != filp) in fasync_remove_entry() 590 spin_lock_irq(&fa->fa_lock); in fasync_remove_entry() 591 fa->fa_file = NULL; in fasync_remove_entry() 592 spin_unlock_irq(&fa->fa_lock); in fasync_remove_entry() 594 *fp = fa->fa_next; in fasync_remove_entry() 595 call_rcu(&fa->fa_rcu, fasync_free_rcu); in fasync_remove_entry() 629 struct fasync_struct *fa, **fp; in fasync_insert_entry() local 633 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry() [all …]
|
D | locks.c | 485 struct fasync_struct *fa = *priv; in lease_setup() local 492 if (!fasync_insert_entry(fa->fa_fd, filp, &fl->fl_fasync, fa)) in lease_setup()
|
/fs/xfs/ |
D | xfs_ioctl.c | 917 struct fsxattr fa; in xfs_ioc_fsgetxattr() local 919 memset(&fa, 0, sizeof(struct fsxattr)); in xfs_ioc_fsgetxattr() 922 fa.fsx_xflags = xfs_ip2xflags(ip); in xfs_ioc_fsgetxattr() 923 fa.fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_ioc_fsgetxattr() 924 fa.fsx_projid = xfs_get_projid(ip); in xfs_ioc_fsgetxattr() 929 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr() 932 fa.fsx_nextents = ip->i_d.di_anextents; in xfs_ioc_fsgetxattr() 934 fa.fsx_nextents = 0; in xfs_ioc_fsgetxattr() 937 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr() 940 fa.fsx_nextents = ip->i_d.di_nextents; in xfs_ioc_fsgetxattr() [all …]
|
/fs/proc/ |
D | base.c | 2103 struct flex_array *fa = NULL; in proc_map_files_readdir() local 2144 fa = flex_array_alloc(sizeof(info), nr_files, in proc_map_files_readdir() 2146 if (!fa || flex_array_prealloc(fa, 0, nr_files, in proc_map_files_readdir() 2149 if (fa) in proc_map_files_readdir() 2150 flex_array_free(fa); in proc_map_files_readdir() 2166 if (flex_array_put(fa, i++, &info, GFP_KERNEL)) in proc_map_files_readdir() 2173 p = flex_array_get(fa, i); in proc_map_files_readdir() 2182 if (fa) in proc_map_files_readdir() 2183 flex_array_free(fa); in proc_map_files_readdir()
|