Lines Matching defs:queue_num
53 u_int16_t queue_num; /* number of this queue */
72 static inline u_int8_t instance_hashfn(u_int16_t queue_num)
74 return ((queue_num >> 8) | queue_num) % INSTANCE_BUCKETS;
78 instance_lookup(u_int16_t queue_num)
84 head = &instance_table[instance_hashfn(queue_num)];
86 if (inst->queue_num == queue_num)
93 instance_create(u_int16_t queue_num, int pid)
100 if (instance_lookup(queue_num)) {
111 inst->queue_num = queue_num;
124 h = instance_hashfn(queue_num);
273 nfmsg->res_id = htons(queue->queue_num);
618 u_int16_t queue_num = ntohs(nfmsg->res_id);
627 queue = instance_lookup(queue_num);
699 u_int16_t queue_num = ntohs(nfmsg->res_id);
719 queue = instance_lookup(queue_num);
732 queue = instance_create(queue_num, NETLINK_CB(skb).pid);
870 inst->queue_num,