• Home
  • Raw
  • Download

Lines Matching refs:label

359 					struct nfs4_label *label)  in nfs_setsecurity()  argument
363 if (label == NULL) in nfs_setsecurity()
367 error = security_inode_notifysecctx(inode, label->label, in nfs_setsecurity()
368 label->len); in nfs_setsecurity()
373 (char *)label->label, in nfs_setsecurity()
374 label->len, error); in nfs_setsecurity()
381 struct nfs4_label *label = NULL; in nfs4_label_alloc() local
385 return label; in nfs4_label_alloc()
388 return label; in nfs4_label_alloc()
390 label = kzalloc(sizeof(struct nfs4_label), flags); in nfs4_label_alloc()
391 if (label == NULL) in nfs4_label_alloc()
394 label->label = kzalloc(NFS4_MAXLABELLEN, flags); in nfs4_label_alloc()
395 if (label->label == NULL) { in nfs4_label_alloc()
396 kfree(label); in nfs4_label_alloc()
399 label->len = NFS4_MAXLABELLEN; in nfs4_label_alloc()
401 return label; in nfs4_label_alloc()
406 struct nfs4_label *label) in nfs_setsecurity() argument
456 …fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *label) in nfs_fhget() argument
589 nfs_setsecurity(inode, fattr, label); in nfs_fhget()
1195 struct nfs4_label *label = NULL; in __nfs_revalidate_inode() local
1223 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in __nfs_revalidate_inode()
1224 if (IS_ERR(label)) { in __nfs_revalidate_inode()
1225 status = PTR_ERR(label); in __nfs_revalidate_inode()
1230 label, inode); in __nfs_revalidate_inode()
1261 nfs_setsecurity(inode, fattr, label); in __nfs_revalidate_inode()
1268 nfs4_label_free(label); in __nfs_revalidate_inode()
1602 fattr->label = NULL; in nfs_alloc_fattr()
1615 fattr->label = nfs4_label_alloc(server, GFP_KERNEL); in nfs_alloc_fattr_with_label()
1616 if (IS_ERR(fattr->label)) { in nfs_alloc_fattr_with_label()