Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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 …]
Dlsm_cgroup.c68 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_lsm_cgroup_functional()
153 update_opts.old_prog_fd = bind_prog_fd; in test_lsm_cgroup_functional()
154 update_opts.flags = BPF_F_REPLACE; in test_lsm_cgroup_functional()
156 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
/linux-6.12.1/fs/bcachefs/
Dio_read.c224 struct data_update_opts update_opts = {}; in __promote_alloc() local
227 update_opts.target = opts.promote_target; in __promote_alloc()
228 update_opts.extra_replicas = 1; in __promote_alloc()
229 update_opts.write_flags = BCH_WRITE_ALLOC_NOWAIT|BCH_WRITE_CACHED; in __promote_alloc()
231 update_opts.target = opts.foreground_target; in __promote_alloc()
237 update_opts.rewrite_ptrs |= BIT(i); in __promote_alloc()
245 update_opts, in __promote_alloc()