Home
last modified time | relevance | path

Searched refs:update_opts (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c261 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_link_update_no_old_prog()
272 update_opts.flags = 0; in test_link_update_no_old_prog()
273 update_opts.old_prog_fd = 0; in test_link_update_no_old_prog()
274 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_no_old_prog()
286 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_link_update_replace_old_prog()
297 update_opts.flags = BPF_F_REPLACE; in test_link_update_replace_old_prog()
298 update_opts.old_prog_fd = prog1; in test_link_update_replace_old_prog()
299 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_replace_old_prog()
311 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_link_update_same_prog()
322 update_opts.flags = 0; in test_link_update_same_prog()
[all …]
/linux/fs/bcachefs/
H A Dio_read.c230 struct data_update_opts update_opts = {}; in __promote_alloc() local
233 update_opts.target = opts.promote_target; in __promote_alloc()
234 update_opts.extra_replicas = 1; in __promote_alloc()
235 update_opts.write_flags = BCH_WRITE_ALLOC_NOWAIT|BCH_WRITE_CACHED; in __promote_alloc()
237 update_opts.target = opts.foreground_target; in __promote_alloc()
243 update_opts.rewrite_ptrs |= ptr_bit; in __promote_alloc()
251 update_opts, in __promote_alloc()