Lines Matching refs:fq

129 	struct inet_frag_queue *fq;  in inet_evict_bucket()  local
137 hlist_for_each_entry_safe(fq, n, &hb->chain, list) { in inet_evict_bucket()
138 if (!inet_fragq_should_evict(fq)) in inet_evict_bucket()
141 if (!del_timer(&fq->timer)) { in inet_evict_bucket()
146 atomic_inc(&fq->refcnt); in inet_evict_bucket()
148 del_timer_sync(&fq->timer); in inet_evict_bucket()
149 inet_frag_put(fq, f); in inet_evict_bucket()
153 fq->flags |= INET_FRAG_EVICTED; in inet_evict_bucket()
154 hlist_del(&fq->list); in inet_evict_bucket()
155 hlist_add_head(&fq->list, &expired); in inet_evict_bucket()
161 hlist_for_each_entry_safe(fq, n, &expired, list) in inet_evict_bucket()
162 f->frag_expire((unsigned long) fq); in inet_evict_bucket()
261 get_frag_bucket_locked(struct inet_frag_queue *fq, struct inet_frags *f) in get_frag_bucket_locked() argument
270 hash = inet_frag_hashfn(f, fq); in get_frag_bucket_locked()
282 static inline void fq_unlink(struct inet_frag_queue *fq, struct inet_frags *f) in fq_unlink() argument
286 hb = get_frag_bucket_locked(fq, f); in fq_unlink()
287 if (!(fq->flags & INET_FRAG_EVICTED)) in fq_unlink()
288 hlist_del(&fq->list); in fq_unlink()
292 void inet_frag_kill(struct inet_frag_queue *fq, struct inet_frags *f) in inet_frag_kill() argument
294 if (del_timer(&fq->timer)) in inet_frag_kill()
295 atomic_dec(&fq->refcnt); in inet_frag_kill()
297 if (!(fq->flags & INET_FRAG_COMPLETE)) { in inet_frag_kill()
298 fq_unlink(fq, f); in inet_frag_kill()
299 atomic_dec(&fq->refcnt); in inet_frag_kill()
300 fq->flags |= INET_FRAG_COMPLETE; in inet_frag_kill()