| /Linux-v5.4/fs/nfsd/ |
| D | vfs.c | 301 nfsd_sanitize_attrs(struct inode *inode, struct iattr *iap) in nfsd_sanitize_attrs() argument 304 if (iap->ia_valid & ATTR_MODE) { in nfsd_sanitize_attrs() 305 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs() 306 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs() 311 ((iap->ia_valid & ATTR_UID) || (iap->ia_valid & ATTR_GID))) { in nfsd_sanitize_attrs() 312 iap->ia_valid |= ATTR_KILL_PRIV; in nfsd_sanitize_attrs() 313 if (iap->ia_valid & ATTR_MODE) { in nfsd_sanitize_attrs() 315 iap->ia_mode &= ~S_ISUID; in nfsd_sanitize_attrs() 316 if (iap->ia_mode & S_IXGRP) in nfsd_sanitize_attrs() 317 iap->ia_mode &= ~S_ISGID; in nfsd_sanitize_attrs() [all …]
|
| D | nfsxdr.c | 74 decode_sattr(__be32 *p, struct iattr *iap, struct user_namespace *userns) in decode_sattr() argument 78 iap->ia_valid = 0; in decode_sattr() 85 iap->ia_valid |= ATTR_MODE; in decode_sattr() 86 iap->ia_mode = tmp; in decode_sattr() 89 iap->ia_uid = make_kuid(userns, tmp); in decode_sattr() 90 if (uid_valid(iap->ia_uid)) in decode_sattr() 91 iap->ia_valid |= ATTR_UID; in decode_sattr() 94 iap->ia_gid = make_kgid(userns, tmp); in decode_sattr() 95 if (gid_valid(iap->ia_gid)) in decode_sattr() 96 iap->ia_valid |= ATTR_GID; in decode_sattr() [all …]
|
| D | nfs3xdr.c | 100 decode_sattr3(__be32 *p, struct iattr *iap, struct user_namespace *userns) in decode_sattr3() argument 104 iap->ia_valid = 0; in decode_sattr3() 107 iap->ia_valid |= ATTR_MODE; in decode_sattr3() 108 iap->ia_mode = ntohl(*p++); in decode_sattr3() 111 iap->ia_uid = make_kuid(userns, ntohl(*p++)); in decode_sattr3() 112 if (uid_valid(iap->ia_uid)) in decode_sattr3() 113 iap->ia_valid |= ATTR_UID; in decode_sattr3() 116 iap->ia_gid = make_kgid(userns, ntohl(*p++)); in decode_sattr3() 117 if (gid_valid(iap->ia_gid)) in decode_sattr3() 118 iap->ia_valid |= ATTR_GID; in decode_sattr3() [all …]
|
| D | nfsproc.c | 65 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr() local 88 if ((iap->ia_valid & BOTH_TIME_SET) == BOTH_TIME_SET && in nfsd_proc_setattr() 89 iap->ia_mtime.tv_sec == iap->ia_atime.tv_sec) { in nfsd_proc_setattr() 97 time_t delta = iap->ia_atime.tv_sec - get_seconds(); in nfsd_proc_setattr() 106 setattr_prepare(fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr() 112 iap->ia_valid &= ~BOTH_TIME_SET; in nfsd_proc_setattr() 116 nfserr = nfsd_setattr(rqstp, fhp, iap, 0, (time_t)0); in nfsd_proc_setattr()
|
| /Linux-v5.4/drivers/input/mouse/ |
| D | elan_i2c_smbus.c | 150 bool iap, u8 *version) in elan_smbus_get_version() argument 156 iap ? ETP_SMBUS_IAP_VERSION_CMD : in elan_smbus_get_version() 161 iap ? "IAP" : "FW", error); in elan_smbus_get_version() 206 bool iap, u16 *csum) in elan_smbus_get_checksum() argument 212 iap ? ETP_SMBUS_FW_CHECKSUM_CMD : in elan_smbus_get_checksum() 217 iap ? "IAP" : "FW", error); in elan_smbus_get_checksum()
|
| D | elan_i2c_i2c.c | 258 bool iap, u8 *version) in elan_i2c_get_version() argument 271 iap ? ETP_I2C_IAP_VERSION_CMD : in elan_i2c_get_version() 276 iap ? "IAP" : "FW", error); in elan_i2c_get_version() 281 *version = iap ? val[1] : val[0]; in elan_i2c_get_version() 358 bool iap, u16 *csum) in elan_i2c_get_checksum() argument 364 iap ? ETP_I2C_IAP_CHECKSUM_CMD : in elan_i2c_get_checksum() 369 iap ? "IAP" : "FW", error); in elan_i2c_get_checksum()
|
| D | elan_i2c.h | 58 int (*get_version)(struct i2c_client *client, bool iap, u8 *version); 61 int (*get_checksum)(struct i2c_client *client, bool iap, u16 *csum);
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | fec_main.c | 1644 unsigned char *iap, tmpaddr[ETH_ALEN]; in fec_get_mac() local 1652 iap = macaddr; in fec_get_mac() 1657 if (!is_valid_ether_addr(iap)) { in fec_get_mac() 1662 iap = (unsigned char *) mac; in fec_get_mac() 1669 if (!is_valid_ether_addr(iap)) { in fec_get_mac() 1672 iap = (unsigned char *)FEC_FLASHMAC; in fec_get_mac() 1675 iap = (unsigned char *)&pdata->mac; in fec_get_mac() 1682 if (!is_valid_ether_addr(iap)) { in fec_get_mac() 1687 iap = &tmpaddr[0]; in fec_get_mac() 1693 if (!is_valid_ether_addr(iap)) { in fec_get_mac() [all …]
|
| /Linux-v5.4/fs/nfs/ |
| D | nfs4xdr.c | 1069 static void encode_attrs(struct xdr_stream *xdr, const struct iattr *iap, in encode_attrs() argument 1087 if ((iap->ia_valid & ATTR_SIZE) && (attrmask[0] & FATTR4_WORD0_SIZE)) { in encode_attrs() 1091 if (iap->ia_valid & ATTR_MODE) { in encode_attrs() 1100 if ((iap->ia_valid & ATTR_UID) && (attrmask[1] & FATTR4_WORD1_OWNER)) { in encode_attrs() 1101 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs() 1104 from_kuid(&init_user_ns, iap->ia_uid)); in encode_attrs() 1113 if ((iap->ia_valid & ATTR_GID) && in encode_attrs() 1115 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs() 1118 from_kgid(&init_user_ns, iap->ia_gid)); in encode_attrs() 1127 if (iap->ia_valid & ATTR_ATIME_SET) { in encode_attrs() [all …]
|
| D | nfs4proc.c | 3215 truncate = (arg->iap->ia_valid & ATTR_SIZE) ? true : false; in _nfs4_do_setattr() 3259 .iap = sattr, in nfs4_do_setattr() 5809 .iap = &sattr, in _nfs4_do_set_security_label()
|
| /Linux-v5.4/include/linux/ |
| D | nfs_xdr.h | 776 struct iattr * iap; member
|
| /Linux-v5.4/drivers/net/ethernet/marvell/ |
| D | sky2.c | 4724 const void *iap; in sky2_init_netdev() local 4794 iap = of_get_mac_address(hw->pdev->dev.of_node); in sky2_init_netdev() 4795 if (!IS_ERR(iap)) in sky2_init_netdev() 4796 ether_addr_copy(dev->dev_addr, iap); in sky2_init_netdev()
|