Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 24 of 24) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dcore_extern.c25 const char *cfg; member
32 .cfg = "CONFIG_BPF_SYSCALL=n\n"
53 { .name = "tristate (y)", .cfg = CFG"CONFIG_TRISTATE=y\n",
55 { .name = "tristate (n)", .cfg = CFG"CONFIG_TRISTATE=n\n",
57 { .name = "tristate (m)", .cfg = CFG"CONFIG_TRISTATE=m\n",
59 { .name = "tristate (int)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=1" },
60 { .name = "tristate (bad)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=M" },
62 { .name = "bool (y)", .cfg = CFG"CONFIG_BOOL=y\n",
64 { .name = "bool (n)", .cfg = CFG"CONFIG_BOOL=n\n",
66 { .name = "bool (tristate)", .fails = 1, .cfg = CFG"CONFIG_BOOL=m" },
[all …]
/tools/cgroup/
Dmemcg_slabinfo.py83 def slub_get_slabinfo(s, cfg): argument
88 for node in range(cfg['nr_nodes']):
106 def cache_show(s, cfg, objs): argument
107 if cfg['allocator'] == 'SLUB':
108 sinfo = slub_get_slabinfo(s, cfg)
112 if cfg['shared_slab_pages']:
127 cfg = {}
129 cfg['nr_nodes'] = prog['nr_online_nodes'].value_()
132 cfg['allocator'] = 'SLUB'
134 cfg['allocator'] = 'SLAB'
[all …]
/tools/bpf/bpftool/
Dcfg.c12 struct cfg { struct
54 #define cfg_first_func(cfg) \ argument
55 list_first_entry(&cfg->funcs, struct func_node, l)
56 #define cfg_last_func(cfg) \ argument
57 list_last_entry(&cfg->funcs, struct func_node, l)
63 static struct func_node *cfg_append_func(struct cfg *cfg, struct bpf_insn *insn) in cfg_append_func() argument
67 list_for_each_entry(func, &cfg->funcs, l) { in cfg_append_func()
81 new_func->idx = cfg->func_num; in cfg_append_func()
83 cfg->func_num++; in cfg_append_func()
131 static bool cfg_partition_funcs(struct cfg *cfg, struct bpf_insn *cur, in cfg_partition_funcs() argument
[all …]
/tools/power/pm-graph/
DMakefile14 install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
15 install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
16 install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
17 install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
18 install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
19 install -m 644 config/standby-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
20 install -m 644 config/suspend-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
21 install -m 644 config/suspend.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
22 install -m 644 config/suspend-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
23 install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
DREADME137 %> sudo ./sleepgraph.py -config config/suspend.cfg
173 %> sudo ./sleepgraph.py -config config/suspend-dev.cfg
197 %> sudo ./sleepgraph.py -config config/suspend-proc.cfg
307 config/suspend.cfg
308 config/freeze.cfg
309 config/standby.cfg
312 config/suspend-dev.cfg
313 config/freeze-dev.cfg
314 config/standby-dev.cfg
317 config/suspend-callgraph.cfg
[all …]
Dbootgraph.py182 cfg = '/boot/grub2/grub.cfg'
184 cfg = '/boot/grub/grub.cfg'
185 if not os.path.exists(cfg):
186 doError('[GRUB] missing %s' % cfg)
190 self.blexec = [blcmd, '-o', cfg]
/tools/testing/selftests/bpf/progs/
Dstrobemeta.h339 static void read_int_var(struct strobemeta_cfg *cfg, in read_int_var() argument
344 void *location = calc_location(&cfg->int_locs[idx], tls_base); in read_int_var()
354 static __always_inline uint64_t read_str_var(struct strobemeta_cfg *cfg, in read_str_var() argument
364 location = calc_location(&cfg->str_locs[idx], tls_base); in read_str_var()
384 static __always_inline void *read_map_var(struct strobemeta_cfg *cfg, in read_map_var() argument
399 location = calc_location(&cfg->map_locs[idx], tls_base); in read_map_var()
409 if (cfg->req_meta_idx == idx) { in read_map_var()
462 struct strobemeta_cfg *cfg; in read_strobe_meta() local
465 cfg = bpf_map_lookup_elem(&strobemeta_cfgs, &pid); in read_strobe_meta()
466 if (!cfg) in read_strobe_meta()
[all …]
/tools/lib/bpf/
Dxsk.c129 static void xsk_set_umem_config(struct xsk_umem_config *cfg, in xsk_set_umem_config() argument
133 cfg->fill_size = XSK_RING_PROD__DEFAULT_NUM_DESCS; in xsk_set_umem_config()
134 cfg->comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS; in xsk_set_umem_config()
135 cfg->frame_size = XSK_UMEM__DEFAULT_FRAME_SIZE; in xsk_set_umem_config()
136 cfg->frame_headroom = XSK_UMEM__DEFAULT_FRAME_HEADROOM; in xsk_set_umem_config()
137 cfg->flags = XSK_UMEM__DEFAULT_FLAGS; in xsk_set_umem_config()
141 cfg->fill_size = usr_cfg->fill_size; in xsk_set_umem_config()
142 cfg->comp_size = usr_cfg->comp_size; in xsk_set_umem_config()
143 cfg->frame_size = usr_cfg->frame_size; in xsk_set_umem_config()
144 cfg->frame_headroom = usr_cfg->frame_headroom; in xsk_set_umem_config()
[all …]
/tools/memory-model/scripts/
Dchecklitmus.sh21 herdoptions=${LKMM_HERD_OPTIONS--conf linux-kernel.cfg}
/tools/testing/selftests/bpf/
Dxdpxceiver.c240 struct xsk_umem_config cfg = { in xsk_configure_umem() local
255 &umem->fq, &umem->cq, &cfg); in xsk_configure_umem()
279 struct xsk_socket_config cfg; in xsk_configure_socket() local
290 cfg.rx_size = rxqsize; in xsk_configure_socket()
291 cfg.tx_size = XSK_RING_PROD__DEFAULT_NUM_DESCS; in xsk_configure_socket()
292 cfg.libbpf_flags = 0; in xsk_configure_socket()
293 cfg.xdp_flags = xdp_flags; in xsk_configure_socket()
294 cfg.bind_flags = xdp_bind_flags; in xsk_configure_socket()
305 ifobject->umem->umem, rxr, txr, &cfg); in xsk_configure_socket()
/tools/power/pm-graph/config/
Dstandby.cfg9 # sudo ./sleepgraph.py -config config/standby.cfg
Dfreeze.cfg9 # sudo ./sleepgraph.py -config config/freeze.cfg
Dfreeze-dev.cfg9 # sudo ./sleepgraph.py -config config/freeze-dev.cfg
Dfreeze-callgraph.cfg9 # sudo ./sleepgraph.py -config config/freeze-callgraph.cfg
Dsuspend-dev.cfg9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg
Dsuspend-x2-proc.cfg9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg
Dstandby-callgraph.cfg9 # sudo ./sleepgraph.py -config config/standby-callgraph.cfg
Dstandby-dev.cfg9 # sudo ./sleepgraph.py -config config/standby-dev.cfg
Dsuspend.cfg9 # sudo ./sleepgraph.py -config config/suspend.cfg
Dsuspend-callgraph.cfg9 # sudo ./sleepgraph.py -config config/suspend.cfg
Dexample.cfg9 # sudo ./sleepgraph.py -config config/example.cfg
/tools/memory-model/
DREADME92 $ herd7 -conf linux-kernel.cfg litmus-tests/SB+fencembonceonces.litmus
185 linux-kernel.cfg
/tools/perf/util/
Dparse-events.c2762 struct strlist_config cfg = {.dont_dupstr = true}; in print_sdt_events() local
2768 sdtlist = strlist__new(NULL, &cfg); in print_sdt_events()
/tools/memory-model/Documentation/
Dlitmus-tests.txt183 herd7 -conf linux-kernel.cfg litmus-tests/MP+pooncerelease+poacquireonce.litmus