Searched refs:update_opts (Results 1 – 3 of 3) sorted by relevance
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()322 update_opts.flags = 0; in test_link_update_same_prog()323 update_opts.old_prog_fd = 0; in test_link_update_same_prog()348 update_opts.flags = 0; in test_link_update_invalid_opts()382 update_opts.old_prog_fd = 0; in test_link_update_invalid_opts()408 update_opts.flags = 0; in test_link_update_invalid_prog()409 update_opts.old_prog_fd = 0; in test_link_update_invalid_prog()423 update_opts.flags = 0; in test_link_update_invalid_prog()464 update_opts.flags = 0; in test_link_update_netns_gone()[all …]
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()
216 struct data_update_opts update_opts = { .write_flags = BCH_WRITE_alloc_nowait }; in __promote_alloc() local219 update_opts.target = orig->opts.promote_target; in __promote_alloc()220 update_opts.extra_replicas = 1; in __promote_alloc()221 update_opts.write_flags |= BCH_WRITE_cached; in __promote_alloc()222 update_opts.write_flags |= BCH_WRITE_only_specified_devs; in __promote_alloc()224 update_opts.target = orig->opts.foreground_target; in __promote_alloc()231 update_opts.rewrite_ptrs |= ptr_bit; in __promote_alloc()235 if (!update_opts.rewrite_ptrs) in __promote_alloc()260 update_opts, in __promote_alloc()