• Home
  • Raw
  • Download

Lines Matching refs:attrs

68 	struct kernfs_iattrs *attrs;  in __kernfs_setattr()  local
72 attrs = kernfs_iattrs(kn); in __kernfs_setattr()
73 if (!attrs) in __kernfs_setattr()
76 iattrs = &attrs->ia_iattr; in __kernfs_setattr()
138 static int kernfs_node_setsecdata(struct kernfs_iattrs *attrs, void **secdata, in kernfs_node_setsecdata() argument
144 old_secdata = attrs->ia_secdata; in kernfs_node_setsecdata()
145 old_secdata_len = attrs->ia_secdata_len; in kernfs_node_setsecdata()
147 attrs->ia_secdata = *secdata; in kernfs_node_setsecdata()
148 attrs->ia_secdata_len = *secdata_len; in kernfs_node_setsecdata()
158 struct kernfs_iattrs *attrs; in kernfs_iop_listxattr() local
160 attrs = kernfs_iattrs(kn); in kernfs_iop_listxattr()
161 if (!attrs) in kernfs_iop_listxattr()
164 return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size); in kernfs_iop_listxattr()
186 struct kernfs_iattrs *attrs = kn->iattr; in kernfs_refresh_inode() local
189 if (attrs) { in kernfs_refresh_inode()
194 set_inode_attr(inode, &attrs->ia_iattr); in kernfs_refresh_inode()
195 security_inode_notifysecctx(inode, attrs->ia_secdata, in kernfs_refresh_inode()
196 attrs->ia_secdata_len); in kernfs_refresh_inode()
313 struct kernfs_iattrs *attrs; in kernfs_xattr_get() local
315 attrs = kernfs_iattrs(kn); in kernfs_xattr_get()
316 if (!attrs) in kernfs_xattr_get()
319 return simple_xattr_get(&attrs->xattrs, name, value, size); in kernfs_xattr_get()
329 struct kernfs_iattrs *attrs; in kernfs_xattr_set() local
331 attrs = kernfs_iattrs(kn); in kernfs_xattr_set()
332 if (!attrs) in kernfs_xattr_set()
335 return simple_xattr_set(&attrs->xattrs, name, value, size, flags); in kernfs_xattr_set()
350 struct kernfs_iattrs *attrs; in kernfs_security_xattr_set() local
355 attrs = kernfs_iattrs(kn); in kernfs_security_xattr_set()
356 if (!attrs) in kernfs_security_xattr_set()
367 error = kernfs_node_setsecdata(attrs, &secdata, &secdata_len); in kernfs_security_xattr_set()