Searched refs:update_opts (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_reattach.c | 261 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 in test_link_update_same_prog() [all...] |
H A D | lsm_cgroup.c | 64 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_lsm_cgroup_functional() 149 update_opts.old_prog_fd = bind_prog_fd; in test_lsm_cgroup_functional() 150 update_opts.flags = BPF_F_REPLACE; in test_lsm_cgroup_functional() 152 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
|
/linux/fs/bcachefs/ |
H A D | io_read.c | 215 struct data_update_opts update_opts = { .write_flags = BCH_WRITE_alloc_nowait }; in __promote_alloc() local 218 update_opts.target = orig->opts.promote_target; in __promote_alloc() 219 update_opts.extra_replicas = 1; in __promote_alloc() 220 update_opts.write_flags |= BCH_WRITE_cached; in __promote_alloc() 221 update_opts.write_flags |= BCH_WRITE_only_specified_devs; in __promote_alloc() 223 update_opts.target = orig->opts.foreground_target; in __promote_alloc() 230 update_opts.rewrite_ptrs |= ptr_bit; in __promote_alloc() 234 if (!update_opts.rewrite_ptrs) in __promote_alloc() 263 update_opts, in __promote_alloc()
|