Home
last modified time | relevance | path

Searched refs:rodata (Results 1 – 25 of 182) sorted by relevance

12345678

/linux-6.1.9/kernel/bpf/preload/iterators/
Diterators.lskel.h11 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/
Dmetadata.c76 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 …]
Dskeleton.c20 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()
Dsubskeleton.c15 *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/
Dintel_renderstate.c53 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/
Dxdp_redirect_map_user.c133 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/
Dvmlinux.lds.S47 .rodata.compressed : {
48 *(.rodata.compressed)
70 .rodata : {
72 *(.rodata) /* read-only data */ argument
73 *(.rodata.*)
/linux-6.1.9/arch/x86/boot/compressed/
Dvmlinux.lds.S30 .rodata..compressed : {
31 *(.rodata..compressed)
39 .rodata : {
41 *(.rodata) /* read-only data */ argument
42 *(.rodata.*)
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_local_storage.c125 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()
Dbench_bloom_filter_map.c234 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/
Dmodule.lds.S46 .rodata : {
47 *(.rodata .rodata.[0-9a-zA-Z_]*)
48 *(.rodata..L*)
/linux-6.1.9/arch/s390/boot/
Dvmlinux.lds.S36 .rodata : {
38 *(.rodata) /* read-only data */ argument
39 *(.rodata.*)
101 .rodata.compressed : {
/linux-6.1.9/arch/s390/purgatory/
Dpurgatory.lds.S24 .rodata : {
26 *(.rodata) /* read-only data */ argument
27 *(.rodata.*)
/linux-6.1.9/arch/nios2/boot/compressed/
Dvmlinux.lds.S20 .rodata : { *(.rodata) *(.rodata.*) }
/linux-6.1.9/arch/x86/realmode/rm/
Drealmode.lds.S27 .rodata : {
28 *(.rodata)
29 *(.rodata.*)
/linux-6.1.9/arch/alpha/boot/
Dbootloader.lds11 .rodata : { *(.rodata) *(.rodata.*) }
/linux-6.1.9/drivers/firmware/efi/libstub/
Dzboot.lds15 .rodata : ALIGN(8) {
19 *(.rodata* .init.rodata* .srodata*) argument
/linux-6.1.9/arch/um/kernel/
Ddyn.lds.S41 .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/
Dvmlinux.lds.h103 #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/
DMakefile26 --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/
Dvdso.lds.S26 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
/linux-6.1.9/arch/riscv/kernel/vdso/
Dvdso.lds.S32 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
/linux-6.1.9/samples/acrn/
Dguest.ld7 .rodata : { *(.rodata) }
/linux-6.1.9/arch/arm/boot/compressed/
Dvmlinux.lds.S57 .rodata : {
58 *(.rodata)
59 *(.rodata.*)
/linux-6.1.9/arch/ia64/scripts/
Dcheck-segrel.lds4 .rodata : { *(.rodata) } :ro

12345678