Lines Matching refs:frag
341 struct zd1201_frag *frag = NULL; in zd1201_usbrx() local
347 frag = kmalloc(sizeof(*frag), GFP_ATOMIC); in zd1201_usbrx()
348 if (!frag) in zd1201_usbrx()
352 kfree(frag); in zd1201_usbrx()
355 frag->skb = skb; in zd1201_usbrx()
356 frag->seq = seq & IEEE80211_SCTL_SEQ; in zd1201_usbrx()
361 hlist_add_head(&frag->fnode, &zd->fraglist); in zd1201_usbrx()
364 hlist_for_each_entry(frag, &zd->fraglist, fnode) in zd1201_usbrx()
365 if (frag->seq == (seq&IEEE80211_SCTL_SEQ)) in zd1201_usbrx()
367 if (!frag) in zd1201_usbrx()
369 skb = frag->skb; in zd1201_usbrx()
375 hlist_del_init(&frag->fnode); in zd1201_usbrx()
376 kfree(frag); in zd1201_usbrx()
1340 struct iw_param *frag, char *extra) in zd1201_set_frag() argument
1344 short val = frag->value; in zd1201_set_frag()
1346 if (frag->disabled || !frag->fixed) in zd1201_set_frag()
1361 struct iw_param *frag, char *extra) in zd1201_get_frag() argument
1370 frag->value = fragt; in zd1201_get_frag()
1371 frag->disabled = (frag->value == ZD1201_FRAGMAX); in zd1201_get_frag()
1372 frag->fixed = 1; in zd1201_get_frag()
1830 struct zd1201_frag *frag; in zd1201_disconnect() local
1836 hlist_for_each_entry_safe(frag, node2, &zd->fraglist, fnode) { in zd1201_disconnect()
1837 hlist_del_init(&frag->fnode); in zd1201_disconnect()
1838 kfree_skb(frag->skb); in zd1201_disconnect()
1839 kfree(frag); in zd1201_disconnect()