Home
last modified time | relevance | path

Searched refs:old (Results 1 – 6 of 6) sorted by relevance

/system/core/toolbox/
Diftop.c196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) in print_interfaces() argument
201 if (old->rx_packets || old->tx_packets) { in print_interfaces()
204 new->rx_bytes - old->rx_bytes, in print_interfaces()
205 new->rx_packets - old->rx_packets, in print_interfaces()
206 new->rx_errors - old->rx_errors, in print_interfaces()
207 new->rx_dropped - old->rx_dropped, in print_interfaces()
208 new->tx_bytes - old->tx_bytes, in print_interfaces()
209 new->tx_packets - old->tx_packets, in print_interfaces()
210 new->tx_errors - old->tx_errors, in print_interfaces()
211 new->tx_dropped - old->tx_dropped); in print_interfaces()
[all …]
Dvmstat.c69 static void print_line(struct state *old, struct state *new);
224 static void print_line(struct state *old, struct state *new) { in print_line() argument
226 us = JP(new->cpu_us - old->cpu_us); NORM(us); in print_line()
227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); in print_line()
228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy); in print_line()
229 id = JP(new->cpu_id - old->cpu_id); NORM(id); in print_line()
230 wa = JP(new->cpu_wa - old->cpu_wa); NORM(wa); in print_line()
231 ir = JP(new->cpu_ir - old->cpu_ir); NORM(ir); in print_line()
235 new->sys_in - old->sys_in, new->sys_cs - old->sys_cs, new->sys_flt - old->sys_flt, in print_line()
/system/core/include/cutils/
Datomic-mips64.h78 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value) in android_atomic_cas()
Datomic-mips.h85 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value) in android_atomic_cas()
/system/core/libutils/
DLooper.cpp121 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread() local
129 if (old != NULL) { in setForThread()
130 old->decStrong((void*)threadDestructor); in setForThread()
/system/core/lmkd/
Dlmkd.c178 static void adjslot_remove(struct adjslot_list *old) in adjslot_remove() argument
180 struct adjslot_list *prev = old->prev; in adjslot_remove()
181 struct adjslot_list *next = old->next; in adjslot_remove()