• Home
  • Raw
  • Download

Lines Matching refs:label

343 					struct nfs4_label *label)  in nfs_setsecurity()  argument
347 if (label == NULL) in nfs_setsecurity()
351 error = security_inode_notifysecctx(inode, label->label, in nfs_setsecurity()
352 label->len); in nfs_setsecurity()
357 (char *)label->label, in nfs_setsecurity()
358 label->len, error); in nfs_setsecurity()
365 struct nfs4_label *label = NULL; in nfs4_label_alloc() local
369 return label; in nfs4_label_alloc()
372 return label; in nfs4_label_alloc()
374 label = kzalloc(sizeof(struct nfs4_label), flags); in nfs4_label_alloc()
375 if (label == NULL) in nfs4_label_alloc()
378 label->label = kzalloc(NFS4_MAXLABELLEN, flags); in nfs4_label_alloc()
379 if (label->label == NULL) { in nfs4_label_alloc()
380 kfree(label); in nfs4_label_alloc()
383 label->len = NFS4_MAXLABELLEN; in nfs4_label_alloc()
385 return label; in nfs4_label_alloc()
390 struct nfs4_label *label) in nfs_setsecurity() argument
423 …fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *label) in nfs_fhget() argument
550 nfs_setsecurity(inode, fattr, label); in nfs_fhget()
1119 struct nfs4_label *label = NULL; in __nfs_revalidate_inode() local
1147 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in __nfs_revalidate_inode()
1148 if (IS_ERR(label)) { in __nfs_revalidate_inode()
1149 status = PTR_ERR(label); in __nfs_revalidate_inode()
1154 label, inode); in __nfs_revalidate_inode()
1178 nfs_setsecurity(inode, fattr, label); in __nfs_revalidate_inode()
1185 nfs4_label_free(label); in __nfs_revalidate_inode()