Home
last modified time | relevance | path

Searched refs:xattr_name (Results 1 – 5 of 5) sorted by relevance

/fs/hfsplus/
Dxattr_security.c41 char *xattr_name; in hfsplus_initxattrs() local
44 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_initxattrs()
46 if (!xattr_name) in hfsplus_initxattrs()
53 strcpy(xattr_name, XATTR_SECURITY_PREFIX); in hfsplus_initxattrs()
54 strcpy(xattr_name + in hfsplus_initxattrs()
56 memset(xattr_name + in hfsplus_initxattrs()
59 err = __hfsplus_setxattr(inode, xattr_name, in hfsplus_initxattrs()
64 kfree(xattr_name); in hfsplus_initxattrs()
Dxattr.c394 static int name_len(const char *xattr_name, int xattr_name_len) in name_len() argument
398 if (!is_known_namespace(xattr_name)) in name_len()
404 static int copy_name(char *buffer, const char *xattr_name, int name_len) in copy_name() argument
409 if (!is_known_namespace(xattr_name)) { in copy_name()
415 strncpy(buffer + offset, xattr_name, name_len); in copy_name()
426 char *xattr_name; in hfsplus_setxattr() local
429 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_setxattr()
431 if (!xattr_name) in hfsplus_setxattr()
433 strcpy(xattr_name, prefix); in hfsplus_setxattr()
434 strcpy(xattr_name + prefixlen, name); in hfsplus_setxattr()
[all …]
/fs/btrfs/
Dprops.c19 const char *xattr_name; member
52 if (!strcmp(h->xattr_name, name)) in find_prop_handler()
87 ret = btrfs_setxattr(trans, inode, handler->xattr_name, in btrfs_set_prop()
98 ret = btrfs_setxattr(trans, inode, handler->xattr_name, value, in btrfs_set_prop()
104 btrfs_setxattr(trans, inode, handler->xattr_name, NULL, in btrfs_set_prop()
238 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()
315 .xattr_name = XATTR_BTRFS_PREFIX "compression",
372 ret = btrfs_setxattr(trans, inode, h->xattr_name, value, in inherit_props()
377 btrfs_setxattr(trans, inode, h->xattr_name, in inherit_props()
444 u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name)); in btrfs_props_init()
/fs/reiserfs/
Dxattr_security.c85 char xattr_name[XATTR_NAME_MAX + 1] = XATTR_SECURITY_PREFIX; in reiserfs_security_write() local
91 strlcat(xattr_name, sec->name, sizeof(xattr_name)); in reiserfs_security_write()
93 error = reiserfs_xattr_set_handle(th, inode, xattr_name, sec->value, in reiserfs_security_write()
/fs/cifs/
Dcifspdu.h2759 char xattr_name[0]; member