Lines Matching defs:fq
133 struct inet_frag_queue *fq = ptr;
136 count = timer_delete_sync(&fq->timer) ? 1 : 0;
138 spin_lock_bh(&fq->lock);
139 fq->flags |= INET_FRAG_DROP;
140 if (!(fq->flags & INET_FRAG_COMPLETE)) {
141 fq->flags |= INET_FRAG_COMPLETE;
143 } else if (fq->flags & INET_FRAG_HASH_DEAD) {
146 spin_unlock_bh(&fq->lock);
148 inet_frag_putn(fq, count);
228 void inet_frag_kill(struct inet_frag_queue *fq, int *refs)
230 if (timer_delete(&fq->timer))
233 if (!(fq->flags & INET_FRAG_COMPLETE)) {
234 struct fqdir *fqdir = fq->fqdir;
236 fq->flags |= INET_FRAG_COMPLETE;
244 rhashtable_remove_fast(&fqdir->rhashtable, &fq->node,
248 fq->flags |= INET_FRAG_HASH_DEAD;
371 struct inet_frag_queue *fq = NULL, *prev;
378 fq = inet_frag_create(fqdir, key, &prev);
380 fq = prev;
381 return fq;