Lines Matching refs:fq
34 struct frag_queue *fq = container_of(q, struct frag_queue, q); in ip6frag_init() local
38 fq->ecn = 0; in ip6frag_init()
49 const struct inet_frag_queue *fq = data; in ip6frag_obj_hashfn() local
51 return jhash2((const u32 *)&fq->key.v6, in ip6frag_obj_hashfn()
59 const struct inet_frag_queue *fq = ptr; in ip6frag_obj_cmpfn() local
61 return !!memcmp(&fq->key, key, sizeof(*key)); in ip6frag_obj_cmpfn()
65 ip6frag_expire_frag_queue(struct net *net, struct frag_queue *fq) in ip6frag_expire_frag_queue() argument
72 if (READ_ONCE(fq->q.fqdir->dead)) in ip6frag_expire_frag_queue()
74 spin_lock(&fq->q.lock); in ip6frag_expire_frag_queue()
76 if (fq->q.flags & INET_FRAG_COMPLETE) in ip6frag_expire_frag_queue()
79 fq->q.flags |= INET_FRAG_DROP; in ip6frag_expire_frag_queue()
80 inet_frag_kill(&fq->q); in ip6frag_expire_frag_queue()
82 dev = dev_get_by_index_rcu(net, fq->iif); in ip6frag_expire_frag_queue()
90 if (!(fq->q.flags & INET_FRAG_FIRST_IN)) in ip6frag_expire_frag_queue()
97 head = inet_frag_pull_head(&fq->q); in ip6frag_expire_frag_queue()
102 spin_unlock(&fq->q.lock); in ip6frag_expire_frag_queue()
109 spin_unlock(&fq->q.lock); in ip6frag_expire_frag_queue()
112 inet_frag_put(&fq->q); in ip6frag_expire_frag_queue()