Home
last modified time | relevance | path

Searched refs:sattr (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/misc/
Dds1682.c60 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_show() local
69 rc = i2c_smbus_read_i2c_block_data(client, sattr->index, sattr->nr, in ds1682_show()
76 if (sattr->index == DS1682_REG_ELAPSED) { in ds1682_show()
81 rc = i2c_smbus_read_i2c_block_data(client, sattr->index, in ds1682_show()
82 sattr->nr, in ds1682_show()
97 return sprintf(buf, "%llu\n", (sattr->nr == 4) ? (val * 250) : val); in ds1682_show()
103 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_store() local
120 if (sattr->nr == 4) in ds1682_store()
125 rc = i2c_smbus_write_i2c_block_data(client, sattr->index, sattr->nr, in ds1682_store()
129 sattr->index, sattr->nr); in ds1682_store()
/linux-4.19.296/fs/nfs/
Dproc.c121 struct iattr *sattr) in nfs_proc_setattr() argument
126 .sattr = sattr in nfs_proc_setattr()
136 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
139 if (sattr->ia_valid & ATTR_FILE) in nfs_proc_setattr()
140 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs_proc_setattr()
144 nfs_setattr_update_inode(inode, sattr, fattr); in nfs_proc_setattr()
206 struct dentry *dentry, struct iattr *sattr) in nfs_alloc_createdata() argument
216 data->arg.sattr = sattr; in nfs_alloc_createdata()
231 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create() argument
241 data = nfs_alloc_createdata(dir, dentry, sattr); in nfs_proc_create()
[all …]
Dnfs3proc.c123 struct iattr *sattr) in nfs3_proc_setattr() argument
128 .sattr = sattr, in nfs3_proc_setattr()
138 if (sattr->ia_valid & ATTR_FILE) in nfs3_proc_setattr()
139 msg.rpc_cred = nfs_file_cred(sattr->ia_file); in nfs3_proc_setattr()
145 nfs_setattr_update_inode(inode, sattr, fattr); in nfs3_proc_setattr()
302 nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs3_proc_create() argument
319 data->arg.create.sattr = sattr; in nfs3_proc_create()
328 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create()
363 if (!(sattr->ia_valid & ATTR_ATIME_SET)) in nfs3_proc_create()
364 sattr->ia_valid |= ATTR_ATIME; in nfs3_proc_create()
[all …]
Dnfs4proc.c97 struct nfs_fattr *fattr, struct iattr *sattr,
114 struct iattr *sattr, struct nfs4_label *label) in nfs4_label_init_security() argument
124 err = security_dentry_init_security(dentry, sattr->ia_mode, in nfs4_label_init_security()
147 struct iattr *sattr, struct nfs4_label *l) in nfs4_label_init_security() argument
1143 struct iattr *sattr; member
1256 if (c->sattr != NULL && c->sattr->ia_valid != 0) { in nfs4_opendata_alloc()
1258 memcpy(&p->attrs, c->sattr, sizeof(p->attrs)); in nfs4_opendata_alloc()
2838 struct iattr *sattr, struct nfs4_label **label) in nfs4_exclusive_attrset() argument
2852 sattr->ia_valid : 0; in nfs4_exclusive_attrset()
2855 if (sattr->ia_valid & ATTR_ATIME_SET) in nfs4_exclusive_attrset()
[all …]
Dnfs3xdr.c899 encode_sattr3(xdr, args->sattr); in nfs3_xdr_enc_setattr3args()
1065 encode_sattr3(xdr, args->sattr); in encode_createhow3()
1100 encode_sattr3(xdr, args->sattr); in nfs3_xdr_enc_mkdir3args()
1121 encode_sattr3(xdr, args->sattr); in encode_symlinkdata3()
1163 encode_sattr3(xdr, args->sattr); in encode_devicedata3()
1178 encode_sattr3(xdr, args->sattr); in encode_mknoddata3()
Dnfs2xdr.c599 encode_sattr(xdr, args->sattr); in nfs2_xdr_enc_sattrargs()
714 encode_sattr(xdr, args->sattr); in nfs2_xdr_enc_createargs()
781 encode_sattr(xdr, args->sattr); in nfs2_xdr_enc_symlinkargs()
/linux-4.19.296/include/linux/
Dnfs_xdr.h710 struct iattr * sattr; member
723 struct iattr * sattr; member
784 struct iattr * sattr; member
824 struct iattr * sattr; member
844 struct iattr * sattr; member
853 struct iattr * sattr; member
862 struct iattr * sattr; member
870 struct iattr * sattr; member
/linux-4.19.296/fs/nfsd/
Dxdr.h122 struct nfsd_sattrargs sattr; member