Home
last modified time | relevance | path

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

12345

/linux/fs/
H A Dfile_attr.c21 void fileattr_fill_xflags(struct file_kattr *fa, u32 xflags) in fileattr_fill_xflags() argument
23 memset(fa, 0, sizeof(*fa)); in fileattr_fill_xflags()
24 fa->fsx_valid = true; in fileattr_fill_xflags()
25 fa->fsx_xflags = xflags; in fileattr_fill_xflags()
26 if (fa->fsx_xflags & FS_XFLAG_IMMUTABLE) in fileattr_fill_xflags()
27 fa->flags |= FS_IMMUTABLE_FL; in fileattr_fill_xflags()
28 if (fa->fsx_xflags & FS_XFLAG_APPEND) in fileattr_fill_xflags()
29 fa->flags |= FS_APPEND_FL; in fileattr_fill_xflags()
30 if (fa->fsx_xflags & FS_XFLAG_SYNC) in fileattr_fill_xflags()
31 fa->flags |= FS_SYNC_FL; in fileattr_fill_xflags()
[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, **fp; in fasync_insert_entry() local
1055 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry()
[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 …]
H A Dfib_lookup.h29 static inline void fib_alias_accessed(struct fib_alias *fa) in fib_alias_accessed() argument
31 u8 fa_state = READ_ONCE(fa->fa_state); in fib_alias_accessed()
34 WRITE_ONCE(fa->fa_state, fa_state | FA_S_ACCESSED);
46 void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len,
/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.c449 struct file_kattr *fa) in xfs_fill_fsxattr() argument
454 fileattr_fill_xflags(fa, xfs_ip2xflags(ip)); in xfs_fill_fsxattr()
457 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr()
466 fa->fsx_xflags &= ~(FS_XFLAG_EXTSIZE | in xfs_fill_fsxattr()
468 fa->fsx_extsize = 0; in xfs_fill_fsxattr()
470 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); in xfs_fill_fsxattr()
482 fa->fsx_xflags &= ~FS_XFLAG_COWEXTSIZE; in xfs_fill_fsxattr()
483 fa->fsx_cowextsize = 0; in xfs_fill_fsxattr()
485 fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize); in xfs_fill_fsxattr()
489 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr()
[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_buf_mem.c207 xfs_failaddr_t fa; in xmbuf_finalize() local
219 fa = bp->b_ops->verify_struct(bp); in xmbuf_finalize()
220 if (fa) { in xmbuf_finalize()
222 xfs_verifier_error(bp, error, fa); in xmbuf_finalize()
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_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.c505 int fuse_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in fuse_fileattr_get() argument
517 if (fa->flags_valid) { in fuse_fileattr_get()
523 fileattr_fill_flags(fa, flags); in fuse_fileattr_get()
530 fileattr_fill_xflags(fa, xfa.fsx_xflags); in fuse_fileattr_get()
531 fa->fsx_extsize = xfa.fsx_extsize; in fuse_fileattr_get()
532 fa->fsx_nextents = xfa.fsx_nextents; in fuse_fileattr_get()
533 fa->fsx_projid = xfa.fsx_projid; in fuse_fileattr_get()
534 fa->fsx_cowextsize = xfa.fsx_cowextsize; in fuse_fileattr_get()
543 struct dentry *dentry, struct file_kattr *fa) in fuse_fileattr_set() argument
547 unsigned int flags = fa->flags; in fuse_fileattr_set()
[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()
/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/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/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/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()

12345