Home
last modified time | relevance | path

Searched full:got (Results 1 – 25 of 2543) sorted by relevance

12345678910>>...102

/Linux-v6.6/lib/kunit/
Dexecutor_test.c49 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 kfree_at_end(test, got.start); 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 …]
/Linux-v6.6/tools/testing/selftests/livepatch/
Dtest-shadow-vars.sh21 $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 …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c46 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 …]
Dringbuf.c49 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 …]
Dtest_strncmp.c30 int got; in strncmp_full_str_cmp() local
37 got = trigger_strncmp(skel); in strncmp_full_str_cmp()
38 ASSERT_EQ(got, exp, name); in strncmp_full_str_cmp()
47 int err, got; in test_strncmp_ret() local
67 got = trigger_strncmp(skel); in test_strncmp_ret()
68 ASSERT_EQ(got, -1, "strncmp: empty str"); in test_strncmp_ret()
72 got = trigger_strncmp(skel); in test_strncmp_ret()
73 ASSERT_EQ(got, 0, "strncmp: same str"); in test_strncmp_ret()
78 got = trigger_strncmp(skel); in test_strncmp_ret()
79 ASSERT_EQ(got, 1, "strncmp: not-null-term str"); in test_strncmp_ret()
Dendian.c38 CHECK(bss->out16 != OUT16, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian()
40 CHECK(bss->out32 != OUT32, "out32", "got 0x%llx != exp 0x%llx\n", in test_endian()
42 CHECK(bss->out64 != OUT64, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian()
45 CHECK(bss->const16 != OUT16, "const16", "got 0x%llx != exp 0x%llx\n", in test_endian()
47 CHECK(bss->const32 != OUT32, "const32", "got 0x%llx != exp 0x%llx\n", in test_endian()
49 CHECK(bss->const64 != OUT64, "const64", "got 0x%llx != exp 0x%llx\n", in test_endian()
Dlink_pinning.c25 CHECK(bss->out != 1, "res_check1", "exp %d, got %d\n", 1, bss->out); in test_link_pinning_subtest()
33 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest()
42 CHECK(bss->out != 2, "res_check2", "exp %d, got %d\n", 2, bss->out); in test_link_pinning_subtest()
50 CHECK(bss->out != 3, "res_check3", "exp %d, got %d\n", 3, bss->out); in test_link_pinning_subtest()
58 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest()
68 CHECK(bss->out != 4, "res_check4", "exp %d, got %d\n", 4, bss->out); in test_link_pinning_subtest()
84 CHECK(i == 10000, "link_attached", "got to iteration #%d\n", i); in test_link_pinning_subtest()
Dringbuf_multi.c23 CHECK(ring != 1, "sample1_ring", "exp %d, got %d\n", 1, ring); in process_sample()
24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
28 CHECK(ring != 2, "sample2_ring", "exp %d, got %d\n", 2, ring); in process_sample()
29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
112 if (CHECK(err != 2, "poll_res", "expected 2 records, got %d\n", err)) in test_ringbuf_multi()
120 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf_multi()
122 CHECK(skel->bss->skipped != 1, "err_skipped", "exp %ld, got %ld\n", in test_ringbuf_multi()
124 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf_multi()
/Linux-v6.6/arch/riscv/kernel/
Dmodule-sections.c15 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 …]
/Linux-v6.6/arch/powerpc/include/uapi/asm/
Delf.h72 #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 …]
/Linux-v6.6/fs/btrfs/tests/
Dinode-tests.c256 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
260 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
275 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
279 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent()
295 "unexpected extent wanted start 0 len %u, got start %llu len %llu", in test_btrfs_get_extent()
313 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
317 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
322 "unexpected extent wanted start %llu len 4, 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 real extent, got %llu", em->block_start); in test_btrfs_get_extent()
[all …]
/Linux-v6.6/arch/s390/include/asm/
Delf.h18 #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 …]
/Linux-v6.6/arch/loongarch/kernel/
Dmodule-sections.c14 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 …]
/Linux-v6.6/arch/alpha/kernel/
Dmodule.c20 /* 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 …]
/Linux-v6.6/arch/x86/boot/compressed/
Dvmlinux.lds.S84 .got.plt (INFO) : {
85 *(.got.plt)
87 ASSERT(SIZEOF(.got.plt) == 0 ||
89 SIZEOF(.got.plt) == 0x18,
91 SIZEOF(.got.plt) == 0xc,
93 "Unexpected GOT/PLT entries detected!")
99 .got : {
100 *(.got)
102 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/Linux-v6.6/arch/x86/lib/
Dinsn.c117 * 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 …]
/Linux-v6.6/tools/arch/x86/lib/
Dinsn.c117 * 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 …]
/Linux-v6.6/tools/include/uapi/linux/
Dstat.h67 * 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 …]
/Linux-v6.6/include/uapi/linux/
Dstat.h67 * 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 …]
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_bmap.c1235 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local
1253 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused()
1257 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused()
1258 got.br_startoff - max >= len) in xfs_bmap_first_unused()
1260 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1282 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local
1302 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before()
1416 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real()
3133 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent()
3137 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent()
[all …]
/Linux-v6.6/arch/s390/kernel/
Dmodule.c99 case R_390_GOT12: /* 12 bit GOT offset. */ in check_rela()
100 case R_390_GOT16: /* 16 bit GOT offset. */ in check_rela()
101 case R_390_GOT20: /* 20 bit GOT offset. */ in check_rela()
102 case R_390_GOT32: /* 32 bit GOT offset. */ in check_rela()
103 case R_390_GOT64: /* 64 bit GOT offset. */ in check_rela()
104 case R_390_GOTENT: /* 32 bit PC rel. to GOT entry shifted by 1. */ in check_rela()
120 case R_390_PLTOFF16: /* 16 bit offset from GOT to PLT. */ in check_rela()
121 case R_390_PLTOFF32: /* 32 bit offset from GOT to PLT. */ in check_rela()
122 case R_390_PLTOFF64: /* 16 bit offset from GOT to PLT. */ in check_rela()
139 * Account for GOT and PLT relocations. We can't add sections for
[all …]
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer.sh113 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
118 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
123 check_err $? "Expected ePool($SB_POOL_EGR_CPU) max occupancy to be $exp_max_occ, but got $max_occ"
141 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
146 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
151 …check_err $? "Expected egress TC($SB_ITC_CPU_IP) max occupancy to be $exp_max_occ, but got $max_oc…
168 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
173 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
178 check_err $? "Expected egress TC($SB_ITC_IP2ME) max occupancy to be $exp_max_occ, but got $max_occ"
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_user_pages.c98 size_t got; in qib_get_user_pages() local
110 for (got = 0; got < num_pages; got += ret) { in qib_get_user_pages()
111 ret = pin_user_pages(start_page + got * PAGE_SIZE, in qib_get_user_pages()
112 num_pages - got, in qib_get_user_pages()
114 p + got); in qib_get_user_pages()
124 __qib_release_user_pages(p, got, 0); in qib_get_user_pages()
/Linux-v6.6/fs/xfs/scrub/
Ddir.c213 /* Make sure we got a real directory entry. */ in xchk_dir_rec()
620 struct xfs_bmbt_irec got; in xchk_directory_blocks() local
654 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
657 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks()
671 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
673 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
681 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
683 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
690 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks()
691 got.br_startoff == leaf_lblk && in xchk_directory_blocks()
[all …]
/Linux-v6.6/sound/pci/emu10k1/
Dvoice.c91 for (int got = 0; got < channels; ) { in snd_emu10k1_voice_alloc() local
92 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc()
94 got++; in snd_emu10k1_voice_alloc()
97 rvoice[got - 1]->number, got, want); in snd_emu10k1_voice_alloc()
109 for (int i = 0; i < got; i++) { in snd_emu10k1_voice_alloc()

12345678910>>...102