/linux-2.4.37.9/net/ipv4/ipvs/ |
D | ip_vs_wrr.c | 57 int weight; in ip_vs_wrr_gcd_weight() local 63 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight() 64 if (weight > 0) { in ip_vs_wrr_gcd_weight() 65 g = weight; in ip_vs_wrr_gcd_weight() 74 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight() 75 if (weight > 0) in ip_vs_wrr_gcd_weight() 76 g = gcd(weight, g); in ip_vs_wrr_gcd_weight() 90 int weight = 0; in ip_vs_wrr_max_weight() local 95 if (atomic_read(&dest->weight) > weight) in ip_vs_wrr_max_weight() 96 weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight() [all …]
|
D | ip_vs_sed.c | 106 if (atomic_read(&least->weight) > 0) { in ip_vs_sed_schedule() 120 if (loh * atomic_read(&dest->weight) > in ip_vs_sed_schedule() 121 doh * atomic_read(&least->weight)) { in ip_vs_sed_schedule() 132 atomic_read(&least->weight), loh); in ip_vs_sed_schedule()
|
D | ip_vs_wlc.c | 94 if (atomic_read(&least->weight) > 0) { in ip_vs_wlc_schedule() 109 if (loh * atomic_read(&dest->weight) > in ip_vs_wlc_schedule() 110 doh * atomic_read(&least->weight)) { in ip_vs_wlc_schedule() 121 atomic_read(&least->weight), loh); in ip_vs_wlc_schedule()
|
D | ip_vs_nq.c | 102 if (atomic_read(&least->weight) > 0) { in ip_vs_nq_schedule() 129 if (loh * atomic_read(&dest->weight) > in ip_vs_nq_schedule() 130 doh * atomic_read(&least->weight)) { in ip_vs_nq_schedule() 142 atomic_read(&least->weight), loh); in ip_vs_nq_schedule()
|
D | ip_vs_lblcr.c | 181 if ((atomic_read(&least->weight) > 0) in ip_vs_dest_set_min() 197 if ((loh * atomic_read(&dest->weight) > in ip_vs_dest_set_min() 198 doh * atomic_read(&least->weight)) in ip_vs_dest_set_min() 211 atomic_read(&least->weight), loh); in ip_vs_dest_set_min() 230 if (atomic_read(&most->weight) > 0) { in ip_vs_dest_set_max() 246 if ((moh * atomic_read(&dest->weight) < in ip_vs_dest_set_max() 247 doh * atomic_read(&most->weight)) in ip_vs_dest_set_max() 248 && (atomic_read(&dest->weight) > 0)) { in ip_vs_dest_set_max() 260 atomic_read(&most->weight), moh); in ip_vs_dest_set_max() 726 if (atomic_read(&least->weight) > 0) { in __ip_vs_wlc_schedule() [all …]
|
D | ip_vs_lblc.c | 476 if (atomic_read(&least->weight) > 0) { in __ip_vs_wlc_schedule() 492 if (loh * atomic_read(&dest->weight) > in __ip_vs_wlc_schedule() 493 doh * atomic_read(&least->weight)) { in __ip_vs_wlc_schedule() 504 atomic_read(&least->weight), loh); in __ip_vs_wlc_schedule() 517 if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)) { in is_overloaded() 525 < atomic_read(&d->weight)) { in is_overloaded() 562 || atomic_read(&dest->weight) <= 0 in ip_vs_lblc_schedule()
|
D | ip_vs_rr.c | 71 if (atomic_read(&dest->weight) > 0) in ip_vs_rr_schedule() 86 atomic_read(&dest->refcnt), atomic_read(&dest->weight)); in ip_vs_rr_schedule()
|
D | ip_vs_lc.c | 82 if (atomic_read(&least->weight) > 0) { in ip_vs_lc_schedule() 95 if (atomic_read(&dest->weight) == 0) in ip_vs_lc_schedule()
|
D | ip_vs_sh.c | 190 if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)*2) { in is_overloaded() 212 || atomic_read(&dest->weight) <= 0 in ip_vs_sh_schedule()
|
D | ip_vs_dh.c | 193 if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)*2) { in is_overloaded() 215 || atomic_read(&dest->weight) <= 0 in ip_vs_dh_schedule()
|
D | ip_vs_ctl.c | 675 atomic_set(&dest->weight, ur->weight); in __ip_vs_update_dest() 778 if (ur->weight < 0) { in ip_vs_add_dest() 877 if (ur->weight < 0) { in ip_vs_edit_dest() 1545 atomic_read(&dest->weight), in ip_vs_get_info() 1588 atomic_read(&dest->weight), in ip_vs_get_info() 1915 entry.weight = atomic_read(&dest->weight); in __ip_vs_get_dest_entries()
|
D | ip_vs_conn.c | 1170 (atomic_read(&dest->weight) == 0))) { in ip_vs_check_template()
|
/linux-2.4.37.9/kernel/ |
D | sched.c | 146 int weight; in goodness() local 153 weight = -1; in goodness() 168 weight = p->counter; in goodness() 169 if (!weight) in goodness() 176 weight += PROC_CHANGE_PENALTY; in goodness() 181 weight += 1; in goodness() 182 weight += 20 - p->nice; in goodness() 191 weight = 1000 + p->rt_priority; in goodness() 193 return weight; in goodness() 609 int weight = goodness(p, this_cpu, prev->active_mm); in schedule() local [all …]
|
/linux-2.4.37.9/net/sched/ |
D | sch_cbq.c | 122 long weight; /* Relative allotment: see below */ member 1103 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ in cbq_normalize_quanta() 1316 q->quanta[cl->priority] -= cl->weight; in cbq_rmprio() 1323 q->quanta[cl->priority] += cl->weight; in cbq_addprio() 1333 if (wrr->weight) in cbq_set_wrr() 1334 cl->weight = wrr->weight; in cbq_set_wrr() 1433 q->link.weight = q->link.R_tab->rate.rate; in cbq_init() 1505 opt.weight = cl->weight; in cbq_dump_wrr() 1937 cl->weight = cl->R_tab->rate.rate; in cbq_change_class()
|
/linux-2.4.37.9/include/linux/ |
D | netdevice.h | 351 int weight; member 772 dev->quota += dev->weight; in __netif_rx_schedule() 774 dev->quota = dev->weight; in __netif_rx_schedule()
|
D | pkt_sched.h | 359 __u32 weight; member
|
/linux-2.4.37.9/include/net/ |
D | ip_vs.h | 117 int weight; /* destination weight */ member 177 int weight; /* destination weight */ member 487 atomic_t weight; /* server weight */ member
|
/linux-2.4.37.9/net/core/ |
D | dev.c | 1631 dev->quota += dev->weight; in net_rx_action() 1633 dev->quota = dev->weight; in net_rx_action() 2782 queue->blog_dev.weight = weight_p; in net_dev_init()
|
/linux-2.4.37.9/drivers/net/tokenring/ |
D | smctr.c | 785 long weight; in smctr_decode_firmware() local 792 weight = *(long *)(tp->ptr_ucode + WEIGHT_OFFSET); in smctr_decode_firmware() 799 while(weight) in smctr_decode_firmware() 802 while((tree + branch)->tag != LEAF && weight) in smctr_decode_firmware() 808 weight--; in smctr_decode_firmware()
|
/linux-2.4.37.9/Documentation/networking/ |
D | NAPI_HOWTO.txt | 203 /* next register my weight/quanta; can be overriden in /proc */ 204 dev->weight = 16;
|
/linux-2.4.37.9/drivers/net/ |
D | ibmveth.c | 900 netdev->weight = 16; in ibmveth_probe()
|
D | titan_ge.c | 2166 netdev->weight = 64;
|
D | gt64240eth.c | 866 dev->weight = 64; in gt64240_probe1()
|
D | mv64340_eth.c | 1289 dev->weight = 64;
|
D | 8139cp.c | 1746 dev->weight = 16; /* arbitrary? from NAPI_HOWTO.txt. */ in cp_init_one()
|