/linux-6.1.9/kernel/bpf/preload/iterators/ |
D | iterators.lskel.h | 11 struct bpf_map_desc rodata; member 22 } *rodata; member 71 skel_free_map_data(skel->rodata, skel->maps.rodata.initial_value, 4096); in iterators_bpf__destroy() 72 skel_closenz(skel->maps.rodata.map_fd); in iterators_bpf__destroy() 84 skel->rodata = skel_prep_map_data((void *)"\ in iterators_bpf__open() 90 if (!skel->rodata) in iterators_bpf__open() 92 skel->maps.rodata.initial_value = (__u64) (long) skel->rodata; in iterators_bpf__open() 403 skel->rodata = skel_finalize_map_data(&skel->maps.rodata.initial_value, in iterators_bpf__load() 404 4096, PROT_READ, skel->maps.rodata.map_fd); in iterators_bpf__load() 405 if (!skel->rodata) in iterators_bpf__load()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | metadata.c | 76 bpf_map__fd(obj->maps.rodata)); in test_metadata_unused() 83 if (CHECK(strncmp(obj->rodata->bpf_metadata_a, "foo", in test_metadata_unused() 84 sizeof(obj->rodata->bpf_metadata_a)), in test_metadata_unused() 87 if (CHECK(obj->rodata->bpf_metadata_b != 1, "bpf_metadata_b", in test_metadata_unused() 88 "expected 1, got %d", obj->rodata->bpf_metadata_b)) in test_metadata_unused() 93 bpf_map__fd(obj->maps.rodata), NULL); in test_metadata_unused() 110 bpf_map__fd(obj->maps.rodata)); in test_metadata_used() 117 if (CHECK(strncmp(obj->rodata->bpf_metadata_a, "bar", in test_metadata_used() 118 sizeof(obj->rodata->bpf_metadata_a)), in test_metadata_used() 121 if (CHECK(obj->rodata->bpf_metadata_b != 2, "metadata_b", in test_metadata_used() [all …]
|
D | skeleton.c | 20 struct test_skeleton__rodata *rodata; in test_skeleton() local 37 rodata = skel->rodata; in test_skeleton() 54 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton() 68 rodata->in.in6 = 14; in test_skeleton() 83 CHECK(rodata->in.in6 != 14, "in6", "got %d != exp %d\n", rodata->in.in6, 14); in test_skeleton()
|
D | subskeleton.c | 15 *lib->rodata.var1 = 1; in subskeleton_lib_setup() 58 skel->rodata->rovar1 = 10; in test_subskeleton() 59 skel->rodata->var1 = 1; in test_subskeleton()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_renderstate.c | 53 const struct intel_renderstate_rodata *rodata = so->rodata; in render_state_setup() local 62 while (i < rodata->batch_items) { in render_state_setup() 63 u32 s = rodata->batch[i]; in render_state_setup() 65 if (i * 4 == rodata->reloc[reloc_index]) { in render_state_setup() 70 if (i + 1 >= rodata->batch_items || in render_state_setup() 71 rodata->batch[i + 1] != 0) in render_state_setup() 84 if (rodata->reloc[reloc_index] != -1) { in render_state_setup() 90 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup() 151 so->rodata = render_state_get_rodata(engine); in intel_renderstate_init() 152 if (so->rodata) { in intel_renderstate_init() [all …]
|
/linux-6.1.9/samples/bpf/ |
D | xdp_redirect_map_user.c | 133 ret = get_mac_addr(ifindex_out, skel->rodata->tx_mac_addr); in main() 143 skel->rodata->tx_mac_addr[0], skel->rodata->tx_mac_addr[1], in main() 144 skel->rodata->tx_mac_addr[2], skel->rodata->tx_mac_addr[3], in main() 145 skel->rodata->tx_mac_addr[4], skel->rodata->tx_mac_addr[5]); in main() 148 skel->rodata->from_match[0] = ifindex_in; in main() 149 skel->rodata->to_match[0] = ifindex_out; in main()
|
/linux-6.1.9/arch/parisc/boot/compressed/ |
D | vmlinux.lds.S | 47 .rodata.compressed : { 48 *(.rodata.compressed) 70 .rodata : { 72 *(.rodata) /* read-only data */ argument 73 *(.rodata.*)
|
/linux-6.1.9/arch/x86/boot/compressed/ |
D | vmlinux.lds.S | 30 .rodata..compressed : { 31 *(.rodata..compressed) 39 .rodata : { 41 *(.rodata) /* read-only data */ argument 42 *(.rodata.*)
|
/linux-6.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage.c | 125 ctx.skel->rodata->num_maps = args.nr_maps; in __setup() 126 ctx.skel->rodata->hashmap_num_keys = args.hashmap_nr_keys_used; in __setup() 186 skel->rodata->use_hashmap = 1; in hashmap_setup() 187 skel->rodata->interleave = 0; in hashmap_setup() 201 skel->rodata->use_hashmap = 0; in local_storage_cache_get_setup() 202 skel->rodata->interleave = 0; in local_storage_cache_get_setup() 216 skel->rodata->use_hashmap = 0; in local_storage_cache_get_interleaved_setup() 217 skel->rodata->interleave = 1; in local_storage_cache_get_interleaved_setup()
|
D | bench_bloom_filter_map.c | 234 ctx.skel->rodata->nr_rand_bytes, 0); in populate_maps() 235 if (nr_rand_bytes != ctx.skel->rodata->nr_rand_bytes) { in populate_maps() 268 skel->rodata->hashmap_use_bloom = ctx.hashmap_use_bloom; in setup_skeleton() 269 skel->rodata->count_false_hits = ctx.count_false_hits; in setup_skeleton() 397 hit_key = ctx.skel->rodata->hit_key; in measure() 398 drop_key = ctx.skel->rodata->drop_key; in measure() 399 false_hit_key = ctx.skel->rodata->false_hit_key; in measure()
|
/linux-6.1.9/scripts/ |
D | module.lds.S | 46 .rodata : { 47 *(.rodata .rodata.[0-9a-zA-Z_]*) 48 *(.rodata..L*)
|
/linux-6.1.9/arch/s390/boot/ |
D | vmlinux.lds.S | 36 .rodata : { 38 *(.rodata) /* read-only data */ argument 39 *(.rodata.*) 101 .rodata.compressed : {
|
/linux-6.1.9/arch/s390/purgatory/ |
D | purgatory.lds.S | 24 .rodata : { 26 *(.rodata) /* read-only data */ argument 27 *(.rodata.*)
|
/linux-6.1.9/arch/nios2/boot/compressed/ |
D | vmlinux.lds.S | 20 .rodata : { *(.rodata) *(.rodata.*) }
|
/linux-6.1.9/arch/x86/realmode/rm/ |
D | realmode.lds.S | 27 .rodata : { 28 *(.rodata) 29 *(.rodata.*)
|
/linux-6.1.9/arch/alpha/boot/ |
D | bootloader.lds | 11 .rodata : { *(.rodata) *(.rodata.*) }
|
/linux-6.1.9/drivers/firmware/efi/libstub/ |
D | zboot.lds | 15 .rodata : ALIGN(8) { 19 *(.rodata* .init.rodata* .srodata*) argument
|
/linux-6.1.9/arch/um/kernel/ |
D | dyn.lds.S | 41 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 42 .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
|
/linux-6.1.9/include/asm-generic/ |
D | vmlinux.lds.h | 103 #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* .rodata..L* 110 #define RODATA_MAIN .rodata 341 KEEP(*(.dtb.init.rodata)) \ 463 .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ 465 *(.rodata) *(.rodata.*) \ 547 *(.ref.rodata) \ 548 MEM_KEEP(init.rodata) \ 549 MEM_KEEP(exit.rodata) \ 724 *(.init.rodata .init.rodata.*) \ 729 MEM_DISCARD(init.rodata) \ [all …]
|
/linux-6.1.9/drivers/misc/lkdtm/ |
D | Makefile | 26 --rename-section .noinstr.text=.rodata,alloc,readonly,load,contents 27 targets += rodata.o rodata_objcopy.o 28 $(obj)/rodata_objcopy.o: $(obj)/rodata.o FORCE
|
/linux-6.1.9/arch/csky/kernel/vdso/ |
D | vdso.lds.S | 26 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
|
/linux-6.1.9/arch/riscv/kernel/vdso/ |
D | vdso.lds.S | 32 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
|
/linux-6.1.9/samples/acrn/ |
D | guest.ld | 7 .rodata : { *(.rodata) }
|
/linux-6.1.9/arch/arm/boot/compressed/ |
D | vmlinux.lds.S | 57 .rodata : { 58 *(.rodata) 59 *(.rodata.*)
|
/linux-6.1.9/arch/ia64/scripts/ |
D | check-segrel.lds | 4 .rodata : { *(.rodata) } :ro
|