Lines Matching refs:xid
90 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum()
165 || je32_to_cpu(rx.xid) != xd->xid in do_verify_xattr_datum()
172 je32_to_cpu(rx.xid), xd->xid, in do_verify_xattr_datum()
199 xd->xid, xd->version); in do_verify_xattr_datum()
258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
309 rx.xid = cpu_to_je32(xd->xid); in save_xattr_datum()
331 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum()
376 xd->xid = ++c->highest_xid; in create_xattr_datum()
419 xd->xid, xd->version); in unrefer_xattr_datum()
483 ref->xid = je32_to_cpu(rr.xid); in verify_xattr_ref()
502 ref->ino, ref->xid, ref_offset(ref->node)); in verify_xattr_ref()
523 rr.xid = cpu_to_je32(ref->xid); in save_xattr_ref()
526 rr.xid = cpu_to_je32(ref->xd->xid); in save_xattr_ref()
545 dbg_xattr("success on saving xref (ino=%u, xid=%u)\n", ref->ic->ino, ref->xd->xid); in save_xattr_ref()
584 ref->xid = ref->xd->xid; in delete_xattr_ref()
591 ref->ino, ref->xid, ref->xseqno); in delete_xattr_ref()
725 static struct jffs2_xattr_datum *jffs2_find_xattr_datum(struct jffs2_sb_info *c, uint32_t xid) in jffs2_find_xattr_datum() argument
728 int i = xid % XATTRINDEX_HASHSIZE; in jffs2_find_xattr_datum()
734 if (xd->xid==xid) in jffs2_find_xattr_datum()
807 i = (ref->ino ^ ref->xid) % XREF_TMPHASH_SIZE; in jffs2_build_xattr_subsystem()
809 if (tmp->ino == ref->ino && tmp->xid == ref->xid) in jffs2_build_xattr_subsystem()
844 xd = jffs2_find_xattr_datum(c, ref->xid); in jffs2_build_xattr_subsystem()
848 ref->ino, ref->xid, ref->xseqno); in jffs2_build_xattr_subsystem()
870 xd->xid, xd->version); in jffs2_build_xattr_subsystem()
878 xd->xid, xd->version); in jffs2_build_xattr_subsystem()
895 uint32_t xid, uint32_t version) in jffs2_setup_xattr_datum() argument
899 xd = jffs2_find_xattr_datum(c, xid); in jffs2_setup_xattr_datum()
904 xd->xid = xid; in jffs2_setup_xattr_datum()
906 if (xd->xid > c->highest_xid) in jffs2_setup_xattr_datum()
907 c->highest_xid = xd->xid; in jffs2_setup_xattr_datum()
908 list_add_tail(&xd->xindex, &c->xattrindex[xid % XATTRINDEX_HASHSIZE]); in jffs2_setup_xattr_datum()
1143 ref->xid = xd->xid; in do_jffs2_setxattr()
1251 xd->xid, xd->version, old_ofs, ref_offset(xd->node)); in jffs2_garbage_collect_xattr_datum()
1285 ref->ic->ino, ref->xd->xid, old_ofs, ref_offset(ref->node)); in jffs2_garbage_collect_xattr_ref()