Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.4.37.9/net/sched/
Dsch_prio.c112 int prio; in prio_dequeue() local
115 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
116 qdisc = q->queues[prio]; in prio_dequeue()
130 int prio; in prio_drop() local
134 for (prio = q->bands-1; prio >= 0; prio--) { in prio_drop()
135 qdisc = q->queues[prio]; in prio_drop()
148 int prio; in prio_reset() local
151 for (prio=0; prio<q->bands; prio++) in prio_reset()
152 qdisc_reset(q->queues[prio]); in prio_reset()
159 int prio; in prio_destroy() local
[all …]
Dsch_htb.c166 int prio; member
396 struct htb_class *cl,int prio) in htb_add_to_id_tree() argument
399 HTB_DBG(7,3,"htb_add_id_tree cl=%X prio=%d\n",cl->classid,prio); in htb_add_to_id_tree()
401 if (cl->node[prio].rb_color != -1) { BUG_TRAP(0); return; } in htb_add_to_id_tree()
404 struct htb_class *x = rb_entry(*p,struct htb_class,node[prio]); in htb_add_to_id_tree()
410 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree()
417 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree()
418 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree()
497 int prio = ffz(~mask); in htb_add_class_to_row() local
498 mask &= ~(1 << prio); in htb_add_class_to_row()
[all …]
Dsch_cbq.c247 u32 prio = skb->priority; in cbq_classify() local
253 if (TC_H_MAJ(prio^sch->handle) == 0 && in cbq_classify()
254 (cl = cbq_class_lookup(q, prio)) != NULL) in cbq_classify()
305 if (TC_H_MAJ(prio) == 0 && in cbq_classify()
306 !(cl = head->defaults[prio&TC_PRIO_MAX]) && in cbq_classify()
322 int prio = cl->cpriority; in cbq_activate_class() local
325 cl_tail = q->active[prio]; in cbq_activate_class()
326 q->active[prio] = cl; in cbq_activate_class()
333 q->activemask |= (1<<prio); in cbq_activate_class()
346 int prio = this->cpriority; in cbq_deactivate_class() local
[all …]
Dsch_gred.c84 u8 prio; /* the prio of this vq */ member
140 if ((t->tab[i]->prio < q->prio) && (PSCHED_IS_PASTPERFECT(t->tab[i]->qidlestart))) in gred_enqueue()
379 if (ctl->prio <=0) { in gred_change()
383 table->tab[table->def]->prio); in gred_change()
384 q->prio=table->tab[table->def]->prio; in gred_change()
388 q->prio=8; in gred_change()
391 q->prio=ctl->prio; in gred_change()
394 q->prio=8; in gred_change()
423 if (table->tab[i]->prio == q->prio ){ in gred_change()
459 q->prio=table->tab[ctl->DP]->prio; in gred_change()
[all …]
Dcls_api.c111 first = tp->prio-1; in tcf_auto_prio()
123 u32 prio = TC_H_MAJ(t->tcm_info); in tc_ctl_tfilter() local
124 u32 nprio = prio; in tc_ctl_tfilter()
136 if (prio == 0) { in tc_ctl_tfilter()
140 prio = TC_H_MAKE(0x80000000U,0U); in tc_ctl_tfilter()
175 if (tp->prio >= prio) { in tc_ctl_tfilter()
176 if (tp->prio == prio) { in tc_ctl_tfilter()
222 tp->prio = nprio ? : tcf_auto_prio(*back); in tc_ctl_tfilter()
303 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
392 TC_H_MAJ(tcm->tcm_info) != tp->prio) in tc_dump_tfilter()
Dsch_generic.c299 int prio; in pfifo_fast_dequeue() local
303 for (prio = 0; prio < 3; prio++, list++) { in pfifo_fast_dequeue()
329 int prio; in pfifo_fast_reset() local
332 for (prio=0; prio < 3; prio++) in pfifo_fast_reset()
333 skb_queue_purge(list+prio); in pfifo_fast_reset()
Dsch_csz.c468 int prio = 0; in csz_enqueue() local
472 prio = flow_id - CSZ_GUARANTEED; in csz_enqueue()
504 skb_queue_tail(&q->other[prio], skb); in csz_enqueue()
987 int prio = 0; in csz_walk() local
992 for (prio = 0; prio < CSZ_FLOWS; prio++) { in csz_walk()
997 if (prio < CSZ_GUARANTEED && q->flow[prio].L_tab == NULL) { in csz_walk()
1001 if (arg->fn(sch, prio+1, arg) < 0) { in csz_walk()
Dcls_u32.c73 u32 prio; member
275 root_ht->prio = tp->prio; in u32_init()
539 ht->prio = tp->prio; in u32_change()
612 if (ht->prio != tp->prio) in u32_walk()
/linux-2.4.37.9/net/bridge/
Dbr_stp_bpdu.c89 buf[8] = bpdu->root.prio[0]; in br_send_config_bpdu()
90 buf[9] = bpdu->root.prio[1]; in br_send_config_bpdu()
101 buf[20] = bpdu->bridge_id.prio[0]; in br_send_config_bpdu()
102 buf[21] = bpdu->bridge_id.prio[1]; in br_send_config_bpdu()
161 bpdu.root.prio[0] = buf[2]; in br_stp_handle_bpdu()
162 bpdu.root.prio[1] = buf[3]; in br_stp_handle_bpdu()
174 bpdu.bridge_id.prio[0] = buf[14]; in br_stp_handle_bpdu()
175 bpdu.bridge_id.prio[1] = buf[15]; in br_stp_handle_bpdu()
Dbr_stp_if.c188 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
189 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
195 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
196 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
Dbr_stp_timer.c25 printk("%.2x%.2x.%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", id->prio[0], in dump_bridge_id()
26 id->prio[1], id->addr[0], id->addr[1], id->addr[2], id->addr[3], in dump_bridge_id()
Dbr_if.c100 br->bridge_id.prio[0] = 0x80; in new_nb()
101 br->bridge_id.prio[1] = 0x00; in new_nb()
Dbr_private.h34 unsigned char prio[2]; member
/linux-2.4.37.9/arch/ia64/kernel/
Dsys_ia64.c67 long prio; in ia64_getpriority() local
69 prio = sys_getpriority(which, who); in ia64_getpriority()
70 if (prio >= 0) { in ia64_getpriority()
72 prio = 20 - prio; in ia64_getpriority()
74 return prio; in ia64_getpriority()
/linux-2.4.37.9/mm/
Dswapfile.c124 p->prio != swap_info[type].prio) { in get_swap_page()
134 if (type < 0 || p->prio != swap_info[type].prio) { in get_swap_page()
166 if (p->prio > swap_info[swap_list.next].prio) in swap_info_get()
774 if (p->prio >= swap_info[i].prio) in sys_swapoff()
846 usedswap << (PAGE_SHIFT - 10), ptr->prio); in get_swaparea_info()
913 p->prio = in sys_swapon()
916 p->prio = --least_priority; in sys_swapon()
1086 nr_good_pages<<(PAGE_SHIFT-10), p->prio); in sys_swapon()
1091 if (p->prio >= swap_info[i].prio) { in sys_swapon()
/linux-2.4.37.9/net/ipv4/
Dipip.c172 int prio = 0; in ipip_bucket() local
175 prio |= 2; in ipip_bucket()
179 prio |= 1; in ipip_bucket()
182 return &tunnels[prio][h]; in ipip_bucket()
217 int prio = 0; in ipip_tunnel_locate() local
220 prio |= 2; in ipip_tunnel_locate()
224 prio |= 1; in ipip_tunnel_locate()
227 for (tp = &tunnels[prio][h]; (t = *tp) != NULL; tp = &t->next) { in ipip_tunnel_locate()
Dip_gre.c202 int prio = 0; in ipgre_bucket() local
205 prio |= 1; in ipgre_bucket()
207 prio |= 2; in ipgre_bucket()
211 return &tunnels[prio][h]; in ipgre_bucket()
246 int prio = 0; in ipgre_tunnel_locate() local
249 prio |= 1; in ipgre_tunnel_locate()
251 prio |= 2; in ipgre_tunnel_locate()
254 for (tp = &tunnels[prio][h]; (t = *tp) != NULL; tp = &t->next) { in ipgre_tunnel_locate()
/linux-2.4.37.9/net/ipv6/
Dsit.c111 int prio = 0; in ipip6_bucket() local
114 prio |= 2; in ipip6_bucket()
118 prio |= 1; in ipip6_bucket()
121 return &tunnels[prio][h]; in ipip6_bucket()
155 int prio = 0; in ipip6_tunnel_locate() local
158 prio |= 2; in ipip6_tunnel_locate()
162 prio |= 1; in ipip6_tunnel_locate()
165 for (tp = &tunnels[prio][h]; (t = *tp) != NULL; tp = &t->next) { in ipip6_tunnel_locate()
/linux-2.4.37.9/include/linux/
Dipmi_smi.h66 int prio; member
Dpkt_sched.h239 __u8 prio; /* prio of this VQ */ member
266 __u32 prio; member
/linux-2.4.37.9/arch/m68k/atari/
Dstram.c547 p->prio = 0x7ff0; /* a rather high priority, but not the higest in swap_init()
591 if (p->prio >= swap_info[i].prio) { in swap_init()
867 if (stram_swap_info->prio > swap_info[swap_list.next].prio) in free_stram_region()
/linux-2.4.37.9/include/net/
Dpkt_cls.h27 u32 prio; member
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c176 int prio; in osf_getpriority() local
183 prio = sys_getpriority(which, who); in osf_getpriority()
184 if (prio >= 0) { in osf_getpriority()
186 prio = 20 - prio; in osf_getpriority()
188 return prio; in osf_getpriority()
/linux-2.4.37.9/fs/jffs2/
Dnodemgmt.c67 int jffs2_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len, int prio) in jffs2_reserve_space() argument
74 if (prio == ALLOC_DELETION) in jffs2_reserve_space()
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dsock.c257 static struct sock *rfcomm_sock_alloc(struct socket *sock, int proto, int prio) in rfcomm_sock_alloc() argument
262 sk = sk_alloc(PF_BLUETOOTH, prio, 1); in rfcomm_sock_alloc()
266 d = rfcomm_dlc_alloc(prio); in rfcomm_sock_alloc()

12