Home
last modified time | relevance | path

Searched refs:xname (Results 1 – 4 of 4) sorted by relevance

/fs/jffs2/
Dxattr.c64 static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize) in xattr_datum_hashkey() argument
66 int name_len = strlen(xname); in xattr_datum_hashkey()
68 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); in xattr_datum_hashkey()
91 if (xd->xname) { in unload_xattr_datum()
93 kfree(xd->xname); in unload_xattr_datum()
98 xd->xname = NULL; in unload_xattr_datum()
242 xd->xname = data; in do_load_xattr_datum()
247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum()
253 if (!xd->xname) in do_load_xattr_datum()
258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
[all …]
Dxattr.h38 char *xname; /* XATTR name without prefix */ member
92 extern int do_jffs2_getxattr(struct inode *inode, int xprefix, const char *xname,
94 extern int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname,
/fs/xfs/scrub/
Ddir.c105 struct xfs_name xname; in xchk_dir_actor() local
153 xname.name = name; in xchk_dir_actor()
154 xname.len = namelen; in xchk_dir_actor()
155 xname.type = XFS_DIR3_FT_UNKNOWN; in xchk_dir_actor()
157 error = xfs_dir_lookup(sdc->sc->tp, ip, &xname, &lookup_ino, NULL); in xchk_dir_actor()
/fs/xfs/
Dxfs_iops.c284 struct xfs_name xname; in xfs_vn_ci_lookup() local
292 xfs_dentry_to_name(&xname, dentry); in xfs_vn_ci_lookup()
293 error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name); in xfs_vn_ci_lookup()