/linux-master/include/linux/ |
H A D | fileattr.h | 36 int copy_fsxattr_to_user(const struct fileattr *fa, struct fsxattr __user *ufa); 38 void fileattr_fill_xflags(struct fileattr *fa, u32 xflags); 39 void fileattr_fill_flags(struct fileattr *fa, u32 flags); 43 * @fa: fileattr pointer 48 static inline bool fileattr_has_fsx(const struct fileattr *fa) argument 50 return fa->fsx_valid && 51 ((fa->fsx_xflags & ~FS_XFLAG_COMMON) || fa->fsx_extsize != 0 || 52 fa->fsx_projid != 0 || fa [all...] |
/linux-master/fs/ocfs2/ |
H A D | ioctl.h | 14 int ocfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa); 16 struct dentry *dentry, struct fileattr *fa);
|
/linux-master/io_uring/ |
H A D | advise.c | 65 static bool io_fadvise_force_async(struct io_fadvise *fa) argument 67 switch (fa->advice) { 79 struct io_fadvise *fa = io_kiocb_to_cmd(req, struct io_fadvise); local 84 fa->offset = READ_ONCE(sqe->off); 85 fa->len = READ_ONCE(sqe->len); 86 fa->advice = READ_ONCE(sqe->fadvise_advice); 87 if (io_fadvise_force_async(fa)) 94 struct io_fadvise *fa = io_kiocb_to_cmd(req, struct io_fadvise); local 97 WARN_ON_ONCE(issue_flags & IO_URING_F_NONBLOCK && io_fadvise_force_async(fa)); 99 ret = vfs_fadvise(req->file, fa [all...] |
/linux-master/fs/ |
H A D | ioctl.c | 459 * @fa: fileattr pointer 465 void fileattr_fill_xflags(struct fileattr *fa, u32 xflags) argument 467 memset(fa, 0, sizeof(*fa)); 468 fa->fsx_valid = true; 469 fa->fsx_xflags = xflags; 470 if (fa->fsx_xflags & FS_XFLAG_IMMUTABLE) 471 fa->flags |= FS_IMMUTABLE_FL; 472 if (fa->fsx_xflags & FS_XFLAG_APPEND) 473 fa 495 fileattr_fill_flags(struct fileattr *fa, u32 flags) argument 526 vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 544 copy_fsxattr_to_user(const struct fileattr *fa, struct fsxattr __user *ufa) argument 562 copy_fsxattr_from_user(struct fileattr *fa, struct fsxattr __user *ufa) argument 585 fileattr_set_prepare(struct inode *inode, const struct fileattr *old_ma, struct fileattr *fa) argument 669 vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument 707 struct fileattr fa = { .flags_valid = true }; /* hint only */ local 720 struct fileattr fa; local 738 struct fileattr fa = { .fsx_valid = true }; /* hint only */ local 752 struct fileattr fa; local [all...] |
H A D | fcntl.c | 876 struct fasync_struct *fa, **fp; local 881 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { 882 if (fa->fa_file != filp) 885 write_lock_irq(&fa->fa_lock); 886 fa->fa_file = NULL; 887 write_unlock_irq(&fa->fa_lock); 889 *fp = fa->fa_next; 890 kfree_rcu(fa, fa_rcu); 924 struct fasync_struct *fa, **f local 997 kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | ioctl.h | 17 int btrfs_fileattr_get(struct dentry *dentry, struct fileattr *fa); 19 struct dentry *dentry, struct fileattr *fa);
|
/linux-master/net/ipv4/ |
H A D | fib_trie.c | 78 int dst_len, struct fib_alias *fa, 85 .fi = fa->fa_info, 86 .dscp = fa->fa_dscp, 87 .type = fa->fa_type, 88 .tb_id = fa->tb_id, 95 int dst_len, struct fib_alias *fa, 102 .fi = fa->fa_info, 103 .dscp = fa->fa_dscp, 104 .type = fa->fa_type, 105 .tb_id = fa 76 call_fib_entry_notifier(struct notifier_block *nb, enum fib_event_type event_type, u32 dst, int dst_len, struct fib_alias *fa, struct netlink_ext_ack *extack) argument 93 call_fib_entry_notifiers(struct net *net, enum fib_event_type event_type, u32 dst, int dst_len, struct fib_alias *fa, struct netlink_ext_ack *extack) argument 297 struct fib_alias *fa = container_of(head, struct fib_alias, rcu); local 301 alias_free_mem_rcu(struct fib_alias *fa) argument 354 leaf_new(t_key key, struct fib_alias *fa) argument 987 struct fib_alias *fa; local 1022 struct fib_alias *fa; local 1160 fib_insert_alias(struct trie *t, struct key_vector *tp, struct key_vector *l, struct fib_alias *new, struct fib_alias *fa, t_key key) argument 1220 struct fib_alias *fa, *new_fa; local 1454 struct fib_alias *fa; local 1656 struct fib_alias *fa = hlist_entry(pprev, typeof(*fa), fa_list.next); local 1717 struct fib_alias *fa, *fa_to_delete; local 1848 struct fib_alias *fa; local 1905 struct fib_alias *fa; local 1965 struct fib_alias *fa; local 2035 struct fib_alias *fa; local 2123 struct fib_alias *fa; local 2183 struct fib_alias *fa; local 2276 struct fib_alias *fa; local 2534 struct fib_alias *fa; local 2816 struct fib_alias *fa; local 2972 struct fib_alias *fa; local [all...] |
H A D | fib_lookup.h | 29 static inline void fib_alias_accessed(struct fib_alias *fa) argument 31 if (!(fa->fa_state & FA_S_ACCESSED)) 32 fa->fa_state |= FA_S_ACCESSED; 44 void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len,
|
/linux-master/fs/ext2/ |
H A D | ioctl.c | 21 int ext2_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 25 fileattr_fill_flags(fa, ei->i_flags & EXT2_FL_USER_VISIBLE); 31 struct dentry *dentry, struct fileattr *fa) 36 if (fileattr_has_fsx(fa)) 44 (fa->flags & EXT2_FL_USER_MODIFIABLE); 30 ext2_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
|
/linux-master/fs/jfs/ |
H A D | ioctl.c | 60 int jfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 68 fileattr_fill_flags(fa, jfs_map_ext2(flags, 0)); 74 struct dentry *dentry, struct fileattr *fa) 83 if (fileattr_has_fsx(fa)) 86 flags = jfs_map_ext2(fa->flags, 1); 73 jfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
|
H A D | jfs_inode.h | 12 extern int jfs_fileattr_get(struct dentry *dentry, struct fileattr *fa); 14 struct dentry *dentry, struct fileattr *fa);
|
/linux-master/fs/xfs/ |
H A D | xfs_dquot_item_recover.c | 72 xfs_failaddr_t fa; local 113 fa = xfs_dquot_verify(mp, recddq, dq_f->qlf_id); 114 if (fa) { 116 dq_f->qlf_id, fa); 157 fa = xfs_dqblk_verify(log->l_mp, dqb, dq_f->qlf_id); 158 if (fa) { 164 fa, dq_f->qlf_id);
|
H A D | xfs_ioctl.h | 48 struct fileattr *fa); 54 struct fileattr *fa);
|
H A D | xfs_ioctl.c | 992 struct fileattr *fa) 997 fileattr_fill_xflags(fa, xfs_ip2xflags(ip)); 1000 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); 1009 fa->fsx_xflags &= ~(FS_XFLAG_EXTSIZE | 1011 fa->fsx_extsize = 0; 1013 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); 1018 fa->fsx_cowextsize = XFS_FSB_TO_B(mp, ip->i_cowextsize); 1019 fa->fsx_projid = ip->i_projid; 1021 fa->fsx_nextents = xfs_iext_count(ifp); 1023 fa 989 xfs_fill_fsxattr( struct xfs_inode *ip, int whichfork, struct fileattr *fa) argument 1031 struct fileattr fa; local 1041 xfs_fileattr_get( struct dentry *dentry, struct fileattr *fa) argument 1118 xfs_ioctl_setattr_xflags( struct xfs_trans *tp, struct xfs_inode *ip, struct fileattr *fa) argument 1168 xfs_ioctl_setattr_prepare_dax( struct xfs_inode *ip, struct fileattr *fa) argument 1228 xfs_ioctl_setattr_check_extsize( struct xfs_inode *ip, struct fileattr *fa) argument 1270 xfs_ioctl_setattr_check_cowextsize( struct xfs_inode *ip, struct fileattr *fa) argument 1295 xfs_ioctl_setattr_check_projid( struct xfs_inode *ip, struct fileattr *fa) argument 1310 xfs_fileattr_set( struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument [all...] |
/linux-master/fs/efivarfs/ |
H A D | inode.c | 156 efivarfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 165 fileattr_fill_flags(fa, flags); 172 struct dentry *dentry, struct fileattr *fa) 176 if (fileattr_has_fsx(fa)) 179 if (fa->flags & ~FS_IMMUTABLE_FL) 182 if (fa->flags & FS_IMMUTABLE_FL) 171 efivarfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc.c | 860 const struct flow_action_entry *fa; local 863 flow_action_for_each(i, fa, &fr->action) { 864 switch (fa->id) { 980 const struct flow_action_entry *fa; local 987 flow_action_for_each(i, fa, &fr->action) { 996 switch (fa->id) { 998 if (!fa->chain_index) { 1002 rid = efx_tc_get_recirc_id(efx, fa->chain_index, 1009 if (fa->hw_stats) { 1012 if (!(fa 1162 efx_tc_pedit_add(struct efx_nic *efx, struct efx_tc_action_set *act, const struct flow_action_entry *fa, struct netlink_ext_ack *extack) argument 1243 efx_tc_mangle(struct efx_nic *efx, struct efx_tc_action_set *act, const struct flow_action_entry *fa, struct efx_tc_mangler_state *mung, struct netlink_ext_ack *extack, struct efx_tc_match *match) argument 1681 const struct flow_action_entry *fa; local 2081 const struct flow_action_entry *fa; local [all...] |
H A D | tc_conntrack.c | 291 const struct flow_action_entry *fa, 298 switch (fa->mangle.htype) { 300 switch (fa->mangle.offset) { 305 if (fa->mangle.mask) 307 conn->nat_ip = htonl(fa->mangle.val); 321 switch (fa->mangle.offset) { 330 if (~fa->mangle.mask != 0xffff) 332 conn->l4_natport = htons(fa->mangle.val); 359 const struct flow_action_entry *fa; local 392 flow_action_for_each(i, fa, 290 efx_tc_ct_mangle(struct efx_nic *efx, struct efx_tc_ct_entry *conn, const struct flow_action_entry *fa, struct efx_tc_ct_mangler_state *mung) argument [all...] |
/linux-master/fs/fuse/ |
H A D | ioctl.c | 444 int fuse_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 456 if (fa->flags_valid) { 462 fileattr_fill_flags(fa, flags); 469 fileattr_fill_xflags(fa, xfa.fsx_xflags); 470 fa->fsx_extsize = xfa.fsx_extsize; 471 fa->fsx_nextents = xfa.fsx_nextents; 472 fa->fsx_projid = xfa.fsx_projid; 473 fa->fsx_cowextsize = xfa.fsx_cowextsize; 482 struct dentry *dentry, struct fileattr *fa) 486 unsigned int flags = fa 481 fuse_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 183 xfs_failaddr_t fa; local 187 fa = xfs_dinode_verify(ip->i_mount, ip->i_ino, from); 188 if (fa) { 190 sizeof(*from), fa); 469 xfs_failaddr_t fa; local 507 fa = xfs_dinode_verify_nrext64(mp, dip); 508 if (fa) 509 return fa; 534 fa = xfs_dinode_verify_forkoff(dip, mp); 535 if (fa) [all...] |
H A D | xfs_rmap_btree.c | 321 xfs_failaddr_t fa; local 341 fa = xfs_btree_agblock_v5hdr_verify(bp); 342 if (fa) 343 return fa; 370 xfs_failaddr_t fa; local 375 fa = xfs_rmapbt_verify(bp); 376 if (fa) 377 xfs_verifier_error(bp, -EFSCORRUPTED, fa); 388 xfs_failaddr_t fa; local 390 fa 567 xfs_failaddr_t fa; local 591 xfs_failaddr_t fa = xfs_rmapbt_mem_verify(bp); local [all...] |
H A D | xfs_dir2_data.c | 188 xfs_failaddr_t fa; local 197 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); 198 if (fa) 199 return fa; 279 xfs_failaddr_t fa; local 281 fa = __xfs_dir3_data_check(dp, bp); 282 if (!fa) 286 fa); 345 xfs_failaddr_t fa; local 351 fa 364 xfs_failaddr_t fa; local 423 xfs_failaddr_t fa; local 1069 xfs_failaddr_t fa; local [all...] |
H A D | xfs_refcount_btree.c | 212 xfs_failaddr_t fa; local 220 fa = xfs_btree_agblock_v5hdr_verify(bp); 221 if (fa) 222 return fa; 249 xfs_failaddr_t fa; local 254 fa = xfs_refcountbt_verify(bp); 255 if (fa) 256 xfs_verifier_error(bp, -EFSCORRUPTED, fa); 267 xfs_failaddr_t fa; local 269 fa [all...] |
/linux-master/fs/ubifs/ |
H A D | ioctl.c | 133 int ubifs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 142 fileattr_fill_flags(fa, flags); 148 struct dentry *dentry, struct fileattr *fa) 151 int flags = fa->flags; 156 if (fileattr_has_fsx(fa)) 147 ubifs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
|
/linux-master/fs/reiserfs/ |
H A D | ioctl.c | 15 int reiserfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 22 fileattr_fill_flags(fa, REISERFS_I(inode)->i_attrs); 28 struct dentry *dentry, struct fileattr *fa) 31 unsigned int flags = fa->flags; 41 if (fileattr_has_fsx(fa)) 27 reiserfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
|
/linux-master/fs/xfs/scrub/ |
H A D | rcbag_btree.c | 146 xfs_failaddr_t fa; local 153 fa = xfs_btree_fsblock_v5hdr_verify(bp, XFS_RMAP_OWN_UNKNOWN); 154 if (fa) 155 return fa; 169 xfs_failaddr_t fa = rcbagbt_verify(bp); local 171 if (fa) 172 xfs_verifier_error(bp, -EFSCORRUPTED, fa);
|