Home
last modified time | relevance | path

Searched refs:percpu_cnt (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
A Dnetcnt_prog.c28 union percpu_net_cnt *percpu_cnt; in bpf_nextcnt() local
37 percpu_cnt->packets++; in bpf_nextcnt()
38 percpu_cnt->bytes += skb->len; in bpf_nextcnt()
42 percpu_cnt->packets); in bpf_nextcnt()
43 percpu_cnt->packets = 0; in bpf_nextcnt()
46 percpu_cnt->bytes); in bpf_nextcnt()
47 percpu_cnt->bytes = 0; in bpf_nextcnt()
51 dt = ts - percpu_cnt->prev_ts; in bpf_nextcnt()
56 if (cnt->bytes + percpu_cnt->bytes - percpu_cnt->prev_bytes < dt) in bpf_nextcnt()
62 percpu_cnt->prev_ts = ts; in bpf_nextcnt()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
A Dcpu_hotplug.rst246 140: lib/percpu_cnt:online
255 要将CPU4回滚到 ``lib/percpu_cnt:online`` ,再回到在线状态,只需发出::
/linux/Documentation/core-api/
A Dcpu_hotplug.rst651 140: lib/percpu_cnt:online
660 To rollback CPU4 to ``lib/percpu_cnt:online`` and back online just issue::

Completed in 6 milliseconds