Lines Matching refs:name_len

568 			   const char *name, int name_len,  in __set_xattr()  argument
583 c = strncmp(name, xattr->name, min(name_len, xattr->name_len)); in __set_xattr()
589 if (name_len == xattr->name_len) in __set_xattr()
591 else if (name_len < xattr->name_len) in __set_xattr()
625 xattr->name_len = name_len; in __set_xattr()
640 ci->i_xattrs.names_size -= xattr->name_len; in __set_xattr()
643 ci->i_xattrs.names_size += name_len; in __set_xattr()
661 ceph_vinop(&ci->netfs.inode), xattr, name_len, name, in __set_xattr()
674 int name_len = strlen(name); in __get_xattr() local
681 c = strncmp(name, xattr->name, xattr->name_len); in __get_xattr()
682 if (c == 0 && name_len > xattr->name_len) in __get_xattr()
727 ci->i_xattrs.names_size -= xattr->name_len; in __remove_xattr()
746 memcpy(dest, xattr->name, xattr->name_len); in __copy_xattr_names()
747 dest[xattr->name_len] = '\0'; in __copy_xattr_names()
750 xattr->name_len, ci->i_xattrs.names_size); in __copy_xattr_names()
752 dest += xattr->name_len + 1; in __copy_xattr_names()
773 xattr->name_len, xattr->name); in __ceph_destroy_xattrs()
920 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
921 memcpy(dest, xattr->name, xattr->name_len); in __ceph_build_xattrs_blob()
922 dest += xattr->name_len; in __ceph_build_xattrs_blob()
1173 int name_len = strlen(name); in __ceph_setxattr() local
1199 newname = kmemdup(name, name_len + 1, GFP_NOFS); in __ceph_setxattr()
1220 required_blob_size = __get_required_blob_size(ci, name_len, val_len); in __ceph_setxattr()
1261 err = __set_xattr(ci, newname, name_len, newval, val_len, in __ceph_setxattr()
1364 size_t name_len; in ceph_security_init_secctx() local
1392 name_len = strlen(name); in ceph_security_init_secctx()
1394 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1414 ceph_pagelist_encode_32(pagelist, name_len); in ceph_security_init_secctx()
1415 ceph_pagelist_append(pagelist, name, name_len); in ceph_security_init_secctx()