Home
last modified time | relevance | path

Searched refs:newfrag (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/jffs2/
Dnodelist.c122 static void jffs2_fragtree_insert(struct jffs2_node_frag *newfrag, struct jffs2_node_frag *base) in jffs2_fragtree_insert() argument
127 dbg_fragtree2("insert frag (0x%04x-0x%04x)\n", newfrag->ofs, newfrag->ofs + newfrag->size); in jffs2_fragtree_insert()
133 if (newfrag->ofs > base->ofs) in jffs2_fragtree_insert()
135 else if (newfrag->ofs < base->ofs) in jffs2_fragtree_insert()
138 JFFS2_ERROR("duplicate frag at %08x (%p,%p)\n", newfrag->ofs, newfrag, base); in jffs2_fragtree_insert()
143 rb_link_node(&newfrag->rb, &base->rb, link); in jffs2_fragtree_insert()
151 struct jffs2_node_frag *newfrag; in new_fragment() local
153 newfrag = jffs2_alloc_node_frag(); in new_fragment()
154 if (likely(newfrag)) { in new_fragment()
155 newfrag->ofs = ofs; in new_fragment()
[all …]
/linux-3.4.99/drivers/isdn/i4l/
Disdn_ppp.c1592 struct sk_buff *newfrag, *frag, *start, *nextf; in isdn_ppp_mp_receive() local
1652 newfrag = skb; in isdn_ppp_mp_receive()
1656 newfrag->next = frag; in isdn_ppp_mp_receive()
1657 mp->frags = frag = newfrag; in isdn_ppp_mp_receive()
1658 newfrag = NULL; in isdn_ppp_mp_receive()
1686 while (start != NULL || newfrag != NULL) { in isdn_ppp_mp_receive()
1692 if (newfrag != NULL && thisseq == newseq) { in isdn_ppp_mp_receive()
1693 isdn_ppp_mp_free_skb(mp, newfrag); in isdn_ppp_mp_receive()
1694 newfrag = NULL; in isdn_ppp_mp_receive()
1698 if (newfrag != NULL && (nextf == NULL || in isdn_ppp_mp_receive()
[all …]