Lines Matching refs:cmp
640 struct jffs2_xattr_ref *ref, *cmp, **pref, **pcmp; in check_xattr_ref_inode() local
658 for (cmp=ref->next, pcmp=&ref->next; cmp; pcmp=&cmp->next, cmp=cmp->next) { in check_xattr_ref_inode()
659 if (!cmp->xd->xname) { in check_xattr_ref_inode()
661 rc = load_xattr_datum(c, cmp->xd); in check_xattr_ref_inode()
664 *pcmp = cmp->next; in check_xattr_ref_inode()
665 delete_xattr_ref(c, cmp); in check_xattr_ref_inode()
670 if (ref->xd->xprefix == cmp->xd->xprefix in check_xattr_ref_inode()
671 && !strcmp(ref->xd->xname, cmp->xd->xname)) { in check_xattr_ref_inode()
672 if (ref->xseqno > cmp->xseqno) { in check_xattr_ref_inode()
673 *pcmp = cmp->next; in check_xattr_ref_inode()
674 delete_xattr_ref(c, cmp); in check_xattr_ref_inode()