• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jffs2/

Lines Matching refs:xprefix

24  * xattr_datum_hashkey(xprefix, xname, xvalue, xsize)
52 * create_xattr_datum(c, xprefix, xname, xvalue, xsize)
59 static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize)
63 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize);
172 xd->xprefix = rx.xprefix;
242 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len);
252 dbg_xattr("success on loading xdatum (xid=%u, xprefix=%u, xname='%s')\n",
253 xd->xid, xd->xprefix, xd->xname);
306 rx.xprefix = xd->xprefix;
325 dbg_xattr("success on saving xdatum (xid=%u, version=%u, xprefix=%u, xname='%s')\n",
326 xd->xid, xd->version, xd->xprefix, xd->xname);
332 int xprefix, const char *xname,
342 hashkey = xattr_datum_hashkey(xprefix, xname, xvalue, xsize);
346 && xd->xprefix==xprefix
373 xd->xprefix = xprefix;
663 if (ref->xd->xprefix == cmp->xd->xprefix
898 * xprefix_to_handler(xprefix)
899 * is used to translate xprefix into xattr_handler.
902 * do_jffs2_getxattr(inode, xprefix, xname, buffer, size)
904 * do_jffs2_setxattr(inode, xprefix, xname, buffer, size, flags)
920 static struct xattr_handler *xprefix_to_handler(int xprefix) {
923 switch (xprefix) {
989 xhandle = xprefix_to_handler(xd->xprefix);
1011 int do_jffs2_getxattr(struct inode *inode, int xprefix, const char *xname,
1031 if (xd->xprefix != xprefix)
1073 int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname,
1101 if (xd->xprefix != xprefix)
1149 xd = create_xattr_datum(c, xprefix, xname, buffer, size);