Lines Matching refs:fq
129 struct inet_frag_queue *fq; in inet_evict_bucket() local
136 hlist_for_each_entry_safe(fq, n, &hb->chain, list) { in inet_evict_bucket()
137 if (!inet_fragq_should_evict(fq)) in inet_evict_bucket()
140 if (!del_timer(&fq->timer)) in inet_evict_bucket()
143 hlist_add_head(&fq->list_evictor, &expired); in inet_evict_bucket()
149 hlist_for_each_entry_safe(fq, n, &expired, list_evictor) in inet_evict_bucket()
150 f->frag_expire((unsigned long) fq); in inet_evict_bucket()
245 get_frag_bucket_locked(struct inet_frag_queue *fq, struct inet_frags *f) in get_frag_bucket_locked() argument
254 hash = inet_frag_hashfn(f, fq); in get_frag_bucket_locked()
266 static inline void fq_unlink(struct inet_frag_queue *fq, struct inet_frags *f) in fq_unlink() argument
270 hb = get_frag_bucket_locked(fq, f); in fq_unlink()
271 hlist_del(&fq->list); in fq_unlink()
272 fq->flags |= INET_FRAG_COMPLETE; in fq_unlink()
276 void inet_frag_kill(struct inet_frag_queue *fq, struct inet_frags *f) in inet_frag_kill() argument
278 if (del_timer(&fq->timer)) in inet_frag_kill()
279 atomic_dec(&fq->refcnt); in inet_frag_kill()
281 if (!(fq->flags & INET_FRAG_COMPLETE)) { in inet_frag_kill()
282 fq_unlink(fq, f); in inet_frag_kill()
283 atomic_dec(&fq->refcnt); in inet_frag_kill()