Lines Matching defs:ref
376 struct jffs2_xattr_ref *ref;
398 ref = jffs2_alloc_xattr_ref();
399 if (!ref)
404 * ref->xid is used to store 32bit xid, xd is not used
405 * ref->ino is used to store 32bit inode-number, ic is not used
407 * are exclusive. In a similar way, ref->next is temporarily
411 ref->ino = je32_to_cpu(rr->ino);
412 ref->xid = je32_to_cpu(rr->xid);
413 ref->xseqno = je32_to_cpu(rr->xseqno);
414 if (ref->xseqno > c->highest_xseqno)
415 c->highest_xseqno = (ref->xseqno & ~XREF_DELETE_MARKER);
416 ref->next = c->xref_temp;
417 c->xref_temp = ref;
419 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref);
424 ofs, ref->xid, ref->ino);