Home
last modified time | relevance | path

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

1234

/linux/fs/
H A Dfile_attr.c15 * @fa: fileattr pointer
20 void fileattr_fill_xflags(struct file_kattr *fa, u32 xflags)
22 fa->fsx_valid = true; in fileattr_fill_xflags()
23 fa->fsx_xflags = xflags; in fileattr_fill_xflags()
24 if (fa->fsx_xflags & FS_XFLAG_IMMUTABLE) in fileattr_fill_xflags()
25 fa->flags |= FS_IMMUTABLE_FL; in fileattr_fill_xflags()
26 if (fa->fsx_xflags & FS_XFLAG_APPEND) in fileattr_fill_xflags()
27 fa->flags |= FS_APPEND_FL; in fileattr_fill_xflags()
28 if (fa->fsx_xflags & FS_XFLAG_SYNC) in fileattr_fill_xflags()
29 fa in fileattr_fill_xflags()
21 fileattr_fill_xflags(struct file_kattr * fa,u32 xflags) fileattr_fill_xflags() argument
53 fileattr_fill_flags(struct file_kattr * fa,u32 flags) fileattr_fill_flags() argument
86 vfs_fileattr_get(struct dentry * dentry,struct file_kattr * fa) vfs_fileattr_get() argument
102 fileattr_to_file_attr(const struct file_kattr * fa,struct file_attr * fattr) fileattr_to_file_attr() argument
122 copy_fsxattr_to_user(const struct file_kattr * fa,struct fsxattr __user * ufa) copy_fsxattr_to_user() argument
142 file_attr_to_fileattr(const struct file_attr * fattr,struct file_kattr * fa) file_attr_to_fileattr() argument
157 copy_fsxattr_from_user(struct file_kattr * fa,struct fsxattr __user * ufa) copy_fsxattr_from_user() argument
186 fileattr_set_prepare(struct inode * inode,const struct file_kattr * old_ma,struct file_kattr * fa) fileattr_set_prepare() argument
269 vfs_fileattr_set(struct mnt_idmap * idmap,struct dentry * dentry,struct file_kattr * fa) vfs_fileattr_set() argument
315 struct file_kattr fa = { .flags_valid = true }; /* hint only */ ioctl_getflags() local
328 struct file_kattr fa; ioctl_setflags() local
346 struct file_kattr fa = { .fsx_valid = true }; /* hint only */ ioctl_fsgetxattr() local
360 struct file_kattr fa; ioctl_fssetxattr() local
381 struct file_kattr fa = { .flags_valid = true }; /* hint only */ SYSCALL_DEFINE5() local
434 struct file_kattr fa; SYSCALL_DEFINE5() local
[all...]
H A Dfcntl.c1003 struct fasync_struct *fa, **fp; in fasync_remove_entry() local
1008 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry()
1009 if (fa->fa_file != filp) in fasync_remove_entry()
1012 write_lock_irq(&fa->fa_lock); in fasync_remove_entry()
1013 fa->fa_file = NULL; in fasync_remove_entry()
1014 write_unlock_irq(&fa->fa_lock); in fasync_remove_entry()
1016 *fp = fa->fa_next; in fasync_remove_entry()
1017 kfree_rcu(fa, fa_rcu); in fasync_remove_entry()
1051 struct fasync_struct *fa, **f in fasync_insert_entry() local
1124 kill_fasync_rcu(struct fasync_struct * fa,int sig,int band) kill_fasync_rcu() argument
[all...]
/linux/net/ipv4/
H A Dfib_trie.c78 int dst_len, struct fib_alias *fa, in call_fib_entry_notifier() argument
85 .fi = fa->fa_info, in call_fib_entry_notifier()
86 .dscp = fa->fa_dscp, in call_fib_entry_notifier()
87 .type = fa->fa_type, in call_fib_entry_notifier()
88 .tb_id = fa->tb_id, in call_fib_entry_notifier()
95 int dst_len, struct fib_alias *fa, in call_fib_entry_notifiers() argument
102 .fi = fa->fa_info, in call_fib_entry_notifiers()
103 .dscp = fa->fa_dscp, in call_fib_entry_notifiers()
104 .type = fa->fa_type, in call_fib_entry_notifiers()
105 .tb_id = fa->tb_id, in call_fib_entry_notifiers()
[all …]
/linux/io_uring/
H A Dadvise.c67 static bool io_fadvise_force_async(struct io_fadvise *fa) in io_fadvise_force_async() argument
69 switch (fa->advice) { in io_fadvise_force_async()
81 struct io_fadvise *fa = io_kiocb_to_cmd(req, struct io_fadvise); in io_fadvise_prep() local
86 fa->offset = READ_ONCE(sqe->off); in io_fadvise_prep()
87 fa->len = READ_ONCE(sqe->addr); in io_fadvise_prep()
88 if (!fa->len) in io_fadvise_prep()
89 fa->len = READ_ONCE(sqe->len); in io_fadvise_prep()
90 fa->advice = READ_ONCE(sqe->fadvise_advice); in io_fadvise_prep()
91 if (io_fadvise_force_async(fa)) in io_fadvise_prep()
98 struct io_fadvise *fa in io_fadvise() local
[all...]
/linux/fs/xfs/
H A Dxfs_ioctl.c475 struct file_kattr *fa) in xfs_fill_fsxattr() argument
480 fileattr_fill_xflags(fa, xfs_ip2xflags(ip)); in xfs_fill_fsxattr()
483 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr()
492 fa->fsx_xflags &= ~(FS_XFLAG_EXTSIZE | in xfs_fill_fsxattr()
494 fa->fsx_extsize = 0; in xfs_fill_fsxattr()
496 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr()
508 fa->fsx_xflags &= ~FS_XFLAG_COWEXTSIZE; in xfs_fill_fsxattr()
509 fa->fsx_cowextsize = 0; in xfs_fill_fsxattr()
511 fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize); in xfs_fill_fsxattr()
515 fa in xfs_fill_fsxattr()
527 struct file_kattr fa; xfs_ioc_fsgetxattra() local
539 xfs_fileattr_get(struct dentry * dentry,struct file_kattr * fa) xfs_fileattr_get() argument
554 xfs_ioctl_setattr_xflags(struct xfs_trans * tp,struct xfs_inode * ip,struct file_kattr * fa) xfs_ioctl_setattr_xflags() argument
610 xfs_ioctl_setattr_prepare_dax(struct xfs_inode * ip,struct file_kattr * fa) xfs_ioctl_setattr_prepare_dax() argument
670 xfs_ioctl_setattr_check_extsize(struct xfs_inode * ip,struct file_kattr * fa) xfs_ioctl_setattr_check_extsize() argument
712 xfs_ioctl_setattr_check_cowextsize(struct xfs_inode * ip,struct file_kattr * fa) xfs_ioctl_setattr_check_cowextsize() argument
737 xfs_ioctl_setattr_check_projid(struct xfs_inode * ip,struct file_kattr * fa) xfs_ioctl_setattr_check_projid() argument
753 xfs_fileattr_set(struct mnt_idmap * idmap,struct dentry * dentry,struct file_kattr * fa) xfs_fileattr_set() argument
[all...]
H A Dxfs_dquot_item.c220 xfs_failaddr_t fa; in xfs_qm_dquot_logitem_precommit_check() local
223 fa = xfs_dquot_verify(mp, &ddq, dqp->q_id); in xfs_qm_dquot_logitem_precommit_check()
224 if (fa) { in xfs_qm_dquot_logitem_precommit_check()
229 fa, dqp->q_id); in xfs_qm_dquot_logitem_precommit_check()
231 ASSERT(fa == NULL); in xfs_qm_dquot_logitem_precommit_check()
H A Dxfs_ioctl.h20 struct file_kattr *fa);
26 struct file_kattr *fa);
/linux/drivers/net/ethernet/sfc/
H A Dtc.c856 const struct flow_action_entry *fa; in efx_tc_rule_is_lhs_rule() local
859 flow_action_for_each(i, fa, &fr->action) { in efx_tc_rule_is_lhs_rule()
860 switch (fa->id) { in efx_tc_rule_is_lhs_rule()
976 const struct flow_action_entry *fa; in efx_tc_flower_handle_lhs_actions() local
983 flow_action_for_each(i, fa, &fr->action) { in efx_tc_flower_handle_lhs_actions()
992 switch (fa->id) { in efx_tc_flower_handle_lhs_actions()
994 if (!fa->chain_index) { in efx_tc_flower_handle_lhs_actions()
998 rid = efx_tc_get_recirc_id(efx, fa->chain_index, in efx_tc_flower_handle_lhs_actions()
1005 if (fa->hw_stats) { in efx_tc_flower_handle_lhs_actions()
1008 if (!(fa->hw_stats & FLOW_ACTION_HW_STATS_DELAYED)) { in efx_tc_flower_handle_lhs_actions()
[all …]
H A Dtc_conntrack.c291 const struct flow_action_entry *fa, in efx_tc_ct_mangle() argument
298 switch (fa->mangle.htype) { in efx_tc_ct_mangle()
300 switch (fa->mangle.offset) { in efx_tc_ct_mangle()
305 if (fa->mangle.mask) in efx_tc_ct_mangle()
307 conn->nat_ip = htonl(fa->mangle.val); in efx_tc_ct_mangle()
321 switch (fa->mangle.offset) { in efx_tc_ct_mangle()
330 if (~fa->mangle.mask != 0xffff) in efx_tc_ct_mangle()
332 conn->l4_natport = htons(fa->mangle.val); in efx_tc_ct_mangle()
359 const struct flow_action_entry *fa; in efx_tc_ct_replace() local
392 flow_action_for_each(i, fa, &fr->action) { in efx_tc_ct_replace()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c184 xfs_failaddr_t fa; in xfs_inode_from_disk() local
188 fa = xfs_dinode_verify(ip->i_mount, ip->i_ino, from); in xfs_inode_from_disk()
189 if (fa) { in xfs_inode_from_disk()
191 sizeof(*from), fa); in xfs_inode_from_disk()
598 xfs_failaddr_t fa; in xfs_dinode_verify() local
664 fa = xfs_dinode_verify_nrext64(mp, dip); in xfs_dinode_verify()
665 if (fa) in xfs_dinode_verify()
666 return fa; in xfs_dinode_verify()
688 fa = xfs_dinode_verify_forkoff(dip, mp); in xfs_dinode_verify()
689 if (fa) in xfs_dinode_verify()
[all …]
H A Dxfs_da_btree.c227 xfs_failaddr_t fa; in xfs_da3_node_verify() local
231 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_da3_node_verify()
232 if (fa) in xfs_da3_node_verify()
233 return fa; in xfs_da3_node_verify()
307 xfs_failaddr_t fa; in xfs_da3_node_write_verify() local
309 fa = xfs_da3_node_verify(bp); in xfs_da3_node_write_verify()
310 if (fa) { in xfs_da3_node_write_verify()
311 xfs_verifier_error(bp, -EFSCORRUPTED, fa); in xfs_da3_node_write_verify()
335 xfs_failaddr_t fa; in xfs_da3_node_read_verify() local
346 fa = xfs_da3_node_verify(bp); in xfs_da3_node_read_verify()
[all …]
H A Dxfs_dir2_data.c196 xfs_failaddr_t fa; in __xfs_dir3_data_check() local
209 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
210 if (fa) in __xfs_dir3_data_check()
211 return fa; in __xfs_dir3_data_check()
300 xfs_failaddr_t fa; in xfs_dir3_data_check() local
302 fa = __xfs_dir3_data_check(dp, bp); in xfs_dir3_data_check()
303 if (!fa) in xfs_dir3_data_check()
307 fa); in xfs_dir3_data_check()
366 xfs_failaddr_t fa; in xfs_dir3_data_read_verify() local
372 fa = xfs_dir3_data_verify(bp); in xfs_dir3_data_read_verify()
[all …]
H A Dxfs_rtgroup.c638 xfs_failaddr_t fa; in xfs_rtsb_verify_all() local
640 fa = xfs_rtsb_verify_common(bp); in xfs_rtsb_verify_all()
641 if (fa) in xfs_rtsb_verify_all()
642 return fa; in xfs_rtsb_verify_all()
658 xfs_failaddr_t fa; in xfs_rtsb_read_verify() local
665 fa = xfs_rtsb_verify_all(bp); in xfs_rtsb_read_verify()
666 if (fa) in xfs_rtsb_read_verify()
667 xfs_verifier_error(bp, -EFSCORRUPTED, fa); in xfs_rtsb_read_verify()
674 xfs_failaddr_t fa; in xfs_rtsb_write_verify() local
676 fa = xfs_rtsb_verify_common(bp); in xfs_rtsb_write_verify()
[all …]
/linux/fs/fuse/
H A Dioctl.c506 int fuse_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in fuse_fileattr_get()
518 if (fa->flags_valid) { in fuse_fileattr_get()
524 fileattr_fill_flags(fa, flags); in fuse_fileattr_get()
531 fileattr_fill_xflags(fa, xfa.fsx_xflags); in fuse_fileattr_get()
532 fa->fsx_extsize = xfa.fsx_extsize; in fuse_fileattr_get()
533 fa->fsx_nextents = xfa.fsx_nextents; in fuse_fileattr_get()
534 fa->fsx_projid = xfa.fsx_projid; in fuse_fileattr_get()
535 fa->fsx_cowextsize = xfa.fsx_cowextsize; in fuse_fileattr_get()
544 struct dentry *dentry, struct file_kattr *fa) in fuse_fileattr_set()
548 unsigned int flags = fa in fuse_fileattr_set()
505 fuse_fileattr_get(struct dentry * dentry,struct file_kattr * fa) fuse_fileattr_get() argument
543 fuse_fileattr_set(struct mnt_idmap * idmap,struct dentry * dentry,struct file_kattr * fa) fuse_fileattr_set() argument
[all...]
/linux/fs/jfs/
H A Dioctl.c60 int jfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in jfs_fileattr_get() argument
68 fileattr_fill_flags(fa, jfs_map_ext2(flags, 0)); in jfs_fileattr_get()
74 struct dentry *dentry, struct file_kattr *fa) in jfs_fileattr_set() argument
83 if (fileattr_has_fsx(fa)) in jfs_fileattr_set()
86 flags = jfs_map_ext2(fa->flags, 1); in jfs_fileattr_set()
H A Djfs_inode.h12 extern int jfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa);
14 struct dentry *dentry, struct file_kattr *fa);
/linux/fs/efivarfs/
H A Dinode.c138 efivarfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_get() argument
147 fileattr_fill_flags(fa, flags); in efivarfs_fileattr_get()
154 struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_set() argument
158 if (fileattr_has_fsx(fa)) in efivarfs_fileattr_set()
161 if (fa->flags & ~FS_IMMUTABLE_FL) in efivarfs_fileattr_set()
164 if (fa->flags & FS_IMMUTABLE_FL) in efivarfs_fileattr_set()
/linux/fs/ext2/
H A Dioctl.c21 int ext2_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in ext2_fileattr_get() argument
25 fileattr_fill_flags(fa, ei->i_flags & EXT2_FL_USER_VISIBLE); in ext2_fileattr_get()
31 struct dentry *dentry, struct file_kattr *fa) in ext2_fileattr_set() argument
36 if (fileattr_has_fsx(fa)) in ext2_fileattr_set()
44 (fa->flags & EXT2_FL_USER_MODIFIABLE); in ext2_fileattr_set()
/linux/fs/ubifs/
H A Dioctl.c133 int ubifs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in ubifs_fileattr_get() argument
142 fileattr_fill_flags(fa, flags); in ubifs_fileattr_get()
148 struct dentry *dentry, struct file_kattr *fa) in ubifs_fileattr_set() argument
151 int flags = fa->flags; in ubifs_fileattr_set()
156 if (fileattr_has_fsx(fa)) in ubifs_fileattr_set()
/linux/fs/btrfs/
H A Dsysfs.c145 static int can_modify_feature(struct btrfs_feature_attr *fa) in can_modify_feature() argument
149 switch (fa->feature_set) { in can_modify_feature()
163 btrfs_warn(NULL, "sysfs: unknown feature set %d", fa->feature_set); in can_modify_feature()
167 if (set & fa->feature_bit) in can_modify_feature()
169 if (clear & fa->feature_bit) in can_modify_feature()
180 struct btrfs_feature_attr *fa = to_btrfs_feature_attr(a); in btrfs_feature_attr_show() local
182 u64 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_show()
183 if (features & fa->feature_bit) in btrfs_feature_attr_show()
186 val = can_modify_feature(fa); in btrfs_feature_attr_show()
196 struct btrfs_feature_attr *fa = to_btrfs_feature_attr(a); in btrfs_feature_attr_store() local
[all …]
H A Dioctl.h19 int btrfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa);
21 struct dentry *dentry, struct file_kattr *fa);
/linux/drivers/media/tuners/
H A Dfc0011.c172 u8 fa, fp, vco_sel, vco_cal; in fc0011_set_params() local
225 fa = xdivr - fp * 8; in fc0011_set_params()
226 if (fa < 2) { in fc0011_set_params()
228 fa += 8; in fc0011_set_params()
232 fa = 0xF; in fc0011_set_params()
234 if (fa >= fp) { in fc0011_set_params()
237 (unsigned int)(u8)fa, (unsigned int)(u8)fp); in fc0011_set_params()
239 regs[FC11_REG_FA] = fa; in fc0011_set_params()
/linux/fs/ocfs2/
H A Dioctl.h14 int ocfs2_fileattr_get(struct dentry *dentry, struct file_kattr *fa);
16 struct dentry *dentry, struct file_kattr *fa);
/linux/Documentation/sound/codecs/
H A Dcs35l56.rst163 [ 7.568374] cs35l56 sdw:0:0:01fa:3556:01:0: supply VDD_P not found, using dummy regulator
164 [ 7.605208] cs35l56 sdw:0:0:01fa:3556:01:0: supply VDD_IO not found, using dummy regulator
165 [ 7.605313] cs35l56 sdw:0:0:01fa:3556:01:0: supply VDD_A not found, using dummy regulator
166 [ 7.939279] cs35l56 sdw:0:0:01fa:3556:01:0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
167 [ 7.947844] cs35l56 sdw:0:0:01fa:3556:01:0: Slave 4 state check1: UNATTACHED, status was 1
168 [ 8.740280] cs35l56 sdw:0:0:01fa:3556:01:0: supply VDD_B not found, using dummy regulator
169 [ 8.740552] cs35l56 sdw:0:0:01fa:3556:01:0: supply VDD_AMP not found, using dummy regulator
170 …[ 9.242164] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.wmfw: forma…
171 …[ 9.242173] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: cirrus/cs35l56-b0-dsp1-misc-xxxxxxxx.wmfw: Tue 0…
172 …[ 9.991709] cs35l56 sdw:0:0:01fa:3556:01:0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.23, 41 algori…
[all …]
/linux/arch/alpha/math-emu/
H A Dmath.c104 unsigned long fa, fb, fc, func, mode, src; in alpha_fp_emul() local
112 fa = (insn >> 21) & 0x1f; in alpha_fp_emul()
127 va = alpha_read_fp_reg_s(fa); in alpha_fp_emul()
157 va = alpha_read_fp_reg(fa); in alpha_fp_emul()

1234