Lines Matching defs:label
369 struct nfs4_label *label)
373 if (label == NULL)
377 error = security_inode_notifysecctx(inode, label->label,
378 label->len);
383 (char *)label->label,
384 label->len, error);
391 struct nfs4_label *label = NULL;
395 return label;
398 return label;
400 label = kzalloc(sizeof(struct nfs4_label), flags);
401 if (label == NULL)
404 label->label = kzalloc(NFS4_MAXLABELLEN, flags);
405 if (label->label == NULL) {
406 kfree(label);
409 label->len = NFS4_MAXLABELLEN;
411 return label;
416 struct nfs4_label *label)
449 nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *label)
578 nfs_setsecurity(inode, fattr, label);
1151 struct nfs4_label *label = NULL;
1179 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL);
1180 if (IS_ERR(label)) {
1181 status = PTR_ERR(label);
1186 label, inode);
1217 nfs_setsecurity(inode, fattr, label);
1224 nfs4_label_free(label);