Lines Matching defs:label
1082 const struct nfs4_label *label,
1156 if (label && (attrmask[2] & FATTR4_WORD2_SECURITY_LABEL)) {
1157 len += 4 + 4 + 4 + (XDR_QUADLEN(label->len) << 2);
1186 if (label && (bmval[2] & FATTR4_WORD2_SECURITY_LABEL)) {
1187 *p++ = cpu_to_be32(label->lfs);
1188 *p++ = cpu_to_be32(label->pi);
1189 *p++ = cpu_to_be32(label->len);
1190 p = xdr_encode_opaque_fixed(p, label->label, label->len);
1250 encode_attrs(xdr, create->attrs, create->label, &create->umask,
1436 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
1441 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
1451 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
1734 encode_attrs(xdr, arg->iap, arg->label, NULL, server,
4220 struct nfs4_label *label)
4248 if (label && label->len) {
4249 if (label->len < len)
4251 memcpy(label->label, p, len);
4252 label->len = len;
4253 label->pi = pi;
4254 label->lfs = lfs;
4258 printk(KERN_WARNING "%s: label too long (%u)!\n",
4260 if (label && label->label)
4261 dprintk("%s: label=%.*s, len=%d, PI=%d, LFS=%d\n",
4262 __func__, label->len, (char *)label->label,
4263 label->len, label->pi, label->lfs);
4765 status = decode_attr_security_label(xdr, bitmap, fattr->label);