| /kernel/linux/linux-6.6/lib/kunit/ |
| D | executor_test.c | 49 struct kunit_suite_set got; in filter_suites_test() local 56 got = kunit_filter_suites(&suite_set, "suite2", NULL, NULL, &err); in filter_suites_test() 57 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test() 59 free_suite_set_at_end(test, &got); in filter_suites_test() 62 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test() 63 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2"); in filter_suites_test() 66 KUNIT_ASSERT_EQ(test, got.end - got.start, 1); in filter_suites_test() 75 struct kunit_suite_set got; in filter_suites_test_glob_test() local 82 got = kunit_filter_suites(&suite_set, "suite2.test2", NULL, NULL, &err); in filter_suites_test_glob_test() 83 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test_glob_test() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | skeleton.c | 34 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 35 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton() 36 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton() 37 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton() 39 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 40 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 41 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton() 42 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton() 44 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton() 45 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton() [all …]
|
| D | ringbuf.c | 48 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 52 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 111 "err_avail_size", "exp %ld, got %ld\n", in test_ringbuf() 114 "err_ring_size", "exp %ld, got %ld\n", in test_ringbuf() 117 "err_cons_pos", "exp %ld, got %ld\n", in test_ringbuf() 120 "err_prod_pos", "exp %ld, got %ld\n", in test_ringbuf() 130 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf() 137 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf() 139 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf() 141 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/livepatch/ |
| D | test-shadow-vars.sh | 21 $MOD_TEST: got expected NULL result 35 $MOD_TEST: got expected PTR3 -> PTR2 result 37 $MOD_TEST: got expected PTR6 -> PTR5 result 39 $MOD_TEST: got expected PTR8 -> PTR7 result 41 $MOD_TEST: got expected PTR11 -> PTR10 result 43 $MOD_TEST: got expected PTR13 -> PTR12 result 45 $MOD_TEST: got expected PTR16 -> PTR15 result 47 $MOD_TEST: got expected PTR3 -> PTR2 result 49 $MOD_TEST: got expected PTR8 -> PTR7 result 51 $MOD_TEST: got expected PTR13 -> PTR12 result [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/livepatch/ |
| D | test-shadow-vars.sh | 21 $MOD_TEST: got expected NULL result 35 $MOD_TEST: got expected PTR3 -> PTR2 result 37 $MOD_TEST: got expected PTR6 -> PTR5 result 39 $MOD_TEST: got expected PTR8 -> PTR7 result 41 $MOD_TEST: got expected PTR11 -> PTR10 result 43 $MOD_TEST: got expected PTR13 -> PTR12 result 45 $MOD_TEST: got expected PTR16 -> PTR15 result 47 $MOD_TEST: got expected PTR3 -> PTR2 result 49 $MOD_TEST: got expected PTR8 -> PTR7 result 51 $MOD_TEST: got expected PTR13 -> PTR12 result [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | skeleton.c | 46 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 47 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton() 48 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton() 49 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton() 51 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 52 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 53 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton() 54 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton() 56 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton() 57 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton() [all …]
|
| D | ringbuf.c | 49 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 53 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 167 "err_avail_size", "exp %ld, got %ld\n", in ringbuf_subtest() 170 "err_ring_size", "exp %ld, got %ld\n", in ringbuf_subtest() 173 "err_cons_pos", "exp %ld, got %ld\n", in ringbuf_subtest() 176 "err_prod_pos", "exp %ld, got %ld\n", in ringbuf_subtest() 186 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in ringbuf_subtest() 193 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in ringbuf_subtest() 195 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest() 197 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in ringbuf_subtest() [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/ |
| D | module-sections.c | 15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry() local 19 if (got) in module_emit_got_entry() 20 return (unsigned long)got; in module_emit_got_entry() 23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry() 24 got[i] = emit_got_entry(val); in module_emit_got_entry() 29 return (unsigned long)&got[i]; in module_emit_got_entry() 98 * Find the empty .got and .plt sections. in module_frob_arch_sections() 103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/kernel/ |
| D | module-sections.c | 15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry() local 19 if (got) in module_emit_got_entry() 20 return (unsigned long)got; in module_emit_got_entry() 23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry() 24 got[i] = emit_got_entry(val); in module_emit_got_entry() 29 return (unsigned long)&got[i]; in module_emit_got_entry() 98 * Find the empty .got and .plt sections. in module_frob_arch_sections() 103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
| D | elf.h | 72 #define R_PPC_GOT_TLSGD16 79 /* half16* (sym+add)@got@tlsgd */ 73 #define R_PPC_GOT_TLSGD16_LO 80 /* half16 (sym+add)@got@tlsgd@l */ 74 #define R_PPC_GOT_TLSGD16_HI 81 /* half16 (sym+add)@got@tlsgd@h */ 75 #define R_PPC_GOT_TLSGD16_HA 82 /* half16 (sym+add)@got@tlsgd@ha */ 76 #define R_PPC_GOT_TLSLD16 83 /* half16* (sym+add)@got@tlsld */ 77 #define R_PPC_GOT_TLSLD16_LO 84 /* half16 (sym+add)@got@tlsld@l */ 78 #define R_PPC_GOT_TLSLD16_HI 85 /* half16 (sym+add)@got@tlsld@h */ 79 #define R_PPC_GOT_TLSLD16_HA 86 /* half16 (sym+add)@got@tlsld@ha */ 80 #define R_PPC_GOT_TPREL16 87 /* half16* (sym+add)@got@tprel */ 81 #define R_PPC_GOT_TPREL16_LO 88 /* half16 (sym+add)@got@tprel@l */ [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/ |
| D | elf.h | 72 #define R_PPC_GOT_TLSGD16 79 /* half16* (sym+add)@got@tlsgd */ 73 #define R_PPC_GOT_TLSGD16_LO 80 /* half16 (sym+add)@got@tlsgd@l */ 74 #define R_PPC_GOT_TLSGD16_HI 81 /* half16 (sym+add)@got@tlsgd@h */ 75 #define R_PPC_GOT_TLSGD16_HA 82 /* half16 (sym+add)@got@tlsgd@ha */ 76 #define R_PPC_GOT_TLSLD16 83 /* half16* (sym+add)@got@tlsld */ 77 #define R_PPC_GOT_TLSLD16_LO 84 /* half16 (sym+add)@got@tlsld@l */ 78 #define R_PPC_GOT_TLSLD16_HI 85 /* half16 (sym+add)@got@tlsld@h */ 79 #define R_PPC_GOT_TLSLD16_HA 86 /* half16 (sym+add)@got@tlsld@ha */ 80 #define R_PPC_GOT_TPREL16 87 /* half16* (sym+add)@got@tprel */ 81 #define R_PPC_GOT_TPREL16_LO 88 /* half16 (sym+add)@got@tprel@l */ [all …]
|
| /kernel/linux/linux-6.6/fs/btrfs/tests/ |
| D | inode-tests.c | 264 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 268 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 283 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 287 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 303 "unexpected extent wanted start 0 len %u, got start %llu len %llu", in test_btrfs_get_extent() 321 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 325 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 330 "unexpected extent wanted start %llu len 4, got start %llu len %llu", in test_btrfs_get_extent() 344 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 348 test_err("expected a real extent, got %llu", em->block_start); in test_btrfs_get_extent() [all …]
|
| /kernel/linux/linux-5.10/fs/btrfs/tests/ |
| D | inode-tests.c | 267 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 271 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 286 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 290 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 295 "unexpected extent wanted start 0 len 5, got start %llu len %llu", in test_btrfs_get_extent() 308 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 312 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 318 "unexpected extent wanted start %llu len 1, got start %llu len %llu", in test_btrfs_get_extent() 336 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 340 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() [all …]
|
| /kernel/linux/linux-5.10/arch/s390/include/asm/ |
| D | elf.h | 18 #define R_390_GOT12 6 /* 12 bit GOT offset. */ 19 #define R_390_GOT32 7 /* 32 bit GOT offset. */ 22 #define R_390_GLOB_DAT 10 /* Create GOT entry. */ 25 #define R_390_GOTOFF32 13 /* 32 bit offset to GOT. */ 26 #define R_390_GOTPC 14 /* 32 bit PC rel. offset to GOT. */ 27 #define R_390_GOT16 15 /* 16 bit GOT offset. */ 33 #define R_390_GOTPCDBL 21 /* 32 bit PC rel. GOT shifted by 1. */ 36 #define R_390_GOT64 24 /* 64 bit GOT offset. */ 38 #define R_390_GOTENT 26 /* 32 bit PC rel. to GOT entry >> 1. */ 39 #define R_390_GOTOFF16 27 /* 16 bit offset to GOT. */ [all …]
|
| /kernel/linux/linux-6.6/arch/s390/include/asm/ |
| D | elf.h | 18 #define R_390_GOT12 6 /* 12 bit GOT offset. */ 19 #define R_390_GOT32 7 /* 32 bit GOT offset. */ 22 #define R_390_GLOB_DAT 10 /* Create GOT entry. */ 25 #define R_390_GOTOFF32 13 /* 32 bit offset to GOT. */ 26 #define R_390_GOTPC 14 /* 32 bit PC rel. offset to GOT. */ 27 #define R_390_GOT16 15 /* 16 bit GOT offset. */ 33 #define R_390_GOTPCDBL 21 /* 32 bit PC rel. GOT shifted by 1. */ 36 #define R_390_GOT64 24 /* 64 bit GOT offset. */ 38 #define R_390_GOTENT 26 /* 32 bit PC rel. to GOT entry >> 1. */ 39 #define R_390_GOTOFF16 27 /* 16 bit offset to GOT. */ [all …]
|
| /kernel/linux/linux-6.6/arch/loongarch/kernel/ |
| D | module-sections.c | 14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry() local 18 if (got) in module_emit_got_entry() 19 return (Elf_Addr)got; in module_emit_got_entry() 21 /* There is no GOT entry for val yet, create a new one. */ in module_emit_got_entry() 22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry() 23 got[i] = emit_got_entry(val); in module_emit_got_entry() 31 pr_err("%s: module contains bad GOT relocation\n", mod->name); in module_emit_got_entry() 35 return (Elf_Addr)&got[i]; in module_emit_got_entry() 114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-5.10/arch/loongarch/kernel/ |
| D | module-sections.c | 14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry() local 18 if (got) in module_emit_got_entry() 19 return (Elf_Addr)got; in module_emit_got_entry() 21 /* There is no GOT entry for val yet, create a new one. */ in module_emit_got_entry() 22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry() 23 got[i] = emit_got_entry(val); in module_emit_got_entry() 31 pr_err("%s: module contains bad GOT relocation\n", mod->name); in module_emit_got_entry() 35 return (Elf_Addr)&got[i]; in module_emit_got_entry() 114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
| D | vmlinux.lds.S | 83 .got.plt (INFO) : { 84 *(.got.plt) 86 ASSERT(SIZEOF(.got.plt) == 0 || 88 SIZEOF(.got.plt) == 0x18, 90 SIZEOF(.got.plt) == 0xc, 92 "Unexpected GOT/PLT entries detected!") 98 .got : { 99 *(.got) 101 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
|
| /kernel/linux/linux-6.6/arch/x86/boot/compressed/ |
| D | vmlinux.lds.S | 86 .got.plt (INFO) : { 87 *(.got.plt) 89 ASSERT(SIZEOF(.got.plt) == 0 || 91 SIZEOF(.got.plt) == 0x18, 93 SIZEOF(.got.plt) == 0xc, 95 "Unexpected GOT/PLT entries detected!") 101 .got : { 102 *(.got) 104 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
|
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| D | module.c | 20 /* Allocate the GOT at the end of the core sections. */ 59 bits above 256 to store the got offset for this reloc. */ in process_reloc_for_got() 69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections() local 73 symtab = got = NULL; in module_frob_arch_sections() 81 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections() 82 got = s; in module_frob_arch_sections() 90 if (!got) { in module_frob_arch_sections() 91 printk(KERN_ERR "module %s: no got section\n", me->name); in module_frob_arch_sections() 104 got->sh_size = 0; in module_frob_arch_sections() 105 got->sh_addralign = 8; in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-6.6/arch/alpha/kernel/ |
| D | module.c | 20 /* Allocate the GOT at the end of the core sections. */ 59 bits above 256 to store the got offset for this reloc. */ in process_reloc_for_got() 69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections() local 73 symtab = got = NULL; in module_frob_arch_sections() 81 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections() 82 got = s; in module_frob_arch_sections() 90 if (!got) { in module_frob_arch_sections() 91 printk(KERN_ERR "module %s: no got section\n", me->name); in module_frob_arch_sections() 104 got->sh_size = 0; in module_frob_arch_sections() 105 got->sh_addralign = 8; in module_frob_arch_sections() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/lib/ |
| D | insn.c | 117 * to point to the (first) opcode. No effect if @insn->prefixes.got 131 if (prefixes->got) in insn_get_prefixes() 190 insn->rex_prefix.got = 1; in insn_get_prefixes() 238 insn->vex_prefix.got = 1; in insn_get_prefixes() 240 prefixes->got = 1; in insn_get_prefixes() 255 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got 268 if (opcode->got) in insn_get_opcode() 271 if (!insn->prefixes.got) { in insn_get_opcode() 314 opcode->got = 1; in insn_get_opcode() 327 * (prefixes and opcode(s)). No effect if @insn->modrm.got is already 1. [all …]
|
| /kernel/linux/linux-6.6/tools/arch/x86/lib/ |
| D | insn.c | 117 * to point to the (first) opcode. No effect if @insn->prefixes.got 131 if (prefixes->got) in insn_get_prefixes() 190 insn->rex_prefix.got = 1; in insn_get_prefixes() 238 insn->vex_prefix.got = 1; in insn_get_prefixes() 240 prefixes->got = 1; in insn_get_prefixes() 255 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got 268 if (opcode->got) in insn_get_opcode() 271 if (!insn->prefixes.got) { in insn_get_opcode() 314 opcode->got = 1; in insn_get_opcode() 327 * (prefixes and opcode(s)). No effect if @insn->modrm.got is already 1. [all …]
|
| /kernel/linux/linux-6.6/tools/include/uapi/linux/ |
| D | stat.h | 67 * parameter to statx(). What statx() actually got will be indicated in 142 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */ 143 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */ 144 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */ 145 #define STATX_UID 0x00000008U /* Want/got stx_uid */ 146 #define STATX_GID 0x00000010U /* Want/got stx_gid */ 147 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */ 148 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */ 149 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */ 150 #define STATX_INO 0x00000100U /* Want/got stx_ino */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | stat.h | 67 * parameter to statx(). What statx() actually got will be indicated in 142 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */ 143 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */ 144 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */ 145 #define STATX_UID 0x00000008U /* Want/got stx_uid */ 146 #define STATX_GID 0x00000010U /* Want/got stx_gid */ 147 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */ 148 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */ 149 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */ 150 #define STATX_INO 0x00000100U /* Want/got stx_ino */ [all …]
|