Home
last modified time | relevance | path

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

12345678910>>...69

/linux/lib/kunit/
H A 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 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 …]
/linux/tools/testing/selftests/livepatch/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
H A 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()
H A Dringbuf.c52 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
56 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
232 "err_avail_size", "exp %ld, got %ld\n", in ringbuf_subtest()
235 "err_ring_size", "exp %ld, got %ld\n", in ringbuf_subtest()
238 "err_cons_pos", "exp %ld, got %ld\n", in ringbuf_subtest()
241 "err_prod_pos", "exp %ld, got %ld\n", in ringbuf_subtest()
263 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in ringbuf_subtest()
270 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in ringbuf_subtest()
272 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest()
274 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got in ringbuf_subtest()
[all...]
H A 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()
H A 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()
H A 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()
127 if (CHECK(err != 2, "poll_res", "expected 2 records, got %d\n", err)) in test_ringbuf_multi()
135 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf_multi()
137 CHECK(skel->bss->skipped != 1, "err_skipped", "exp %ld, got %ld\n", in test_ringbuf_multi()
139 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf_multi()
H A Dksyms_btf.c49 "got %llu, exp %llu\n", in test_basic()
53 "got %llu, exp %llu\n", in test_basic()
58 "got %u, exp != -1\n", data->out__rq_cpu); in test_basic()
60 "got %d, exp >= 0\n", data->out__bpf_prog_active); in test_basic()
62 "got %u, exp 0\n", data->out__cpu_0_rq_cpu); in test_basic()
66 "got %u, exp %u\n", this_rq_cpu, data->out__rq_cpu); in test_basic()
70 "got %d, exp %d\n", this_bpf_prog_active, in test_basic()
/linux/arch/powerpc/include/uapi/asm/
H A 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/arch/riscv/kernel/
H A Dmodule-sections.c16 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
18 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry() local
20 if (got) in module_emit_got_entry()
21 return (unsigned long)got; in module_emit_got_entry()
24 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
25 got[i] = emit_got_entry(val); in module_emit_got_entry()
30 return (unsigned long)&got[i]; in module_emit_got_entry()
126 * Find the empty .got and .plt sections. in module_frob_arch_sections()
131 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
132 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
[all …]
/linux/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
203 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
204 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
205 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
206 #define STATX_UID 0x00000008U /* Want/got stx_uid */
207 #define STATX_GID 0x00000010U /* Want/got stx_gid */
208 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
209 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
210 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
211 #define STATX_INO 0x00000100U /* Want/got stx_in
[all...]
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
203 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
204 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
205 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
206 #define STATX_UID 0x00000008U /* Want/got stx_uid */
207 #define STATX_GID 0x00000010U /* Want/got stx_gid */
208 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
209 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
210 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
211 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
H A Dmount.h213 #define STATMOUNT_SB_BASIC 0x00000001U /* Want/got sb_... */
214 #define STATMOUNT_MNT_BASIC 0x00000002U /* Want/got mnt_... */
215 #define STATMOUNT_PROPAGATE_FROM 0x00000004U /* Want/got propagate_from */
216 #define STATMOUNT_MNT_ROOT 0x00000008U /* Want/got mnt_root */
217 #define STATMOUNT_MNT_POINT 0x00000010U /* Want/got mnt_point */
218 #define STATMOUNT_FS_TYPE 0x00000020U /* Want/got fs_type */
219 #define STATMOUNT_MNT_NS_ID 0x00000040U /* Want/got mnt_ns_id */
220 #define STATMOUNT_MNT_OPTS 0x00000080U /* Want/got mnt_opts */
221 #define STATMOUNT_FS_SUBTYPE 0x00000100U /* Want/got fs_subtype */
222 #define STATMOUNT_SB_SOURCE 0x00000200U /* Want/got sb_source */
[all …]
/linux/tools/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
203 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
204 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
205 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
206 #define STATX_UID 0x00000008U /* Want/got stx_uid */
207 #define STATX_GID 0x00000010U /* Want/got stx_gid */
208 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
209 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
210 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
211 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/linux/arch/loongarch/kernel/
H A 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/arch/alpha/kernel/
H A 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/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_basic_ops.c807 unsigned int value, got; in test_lpm_trie_update_flags() local
839 got = 0; in test_lpm_trie_update_flags()
840 err = bpf_map_lookup_elem(fd, &key, &got); in test_lpm_trie_update_flags()
842 CHECK(got != value, "check value", "got %d exp %d\n", got, value); in test_lpm_trie_update_flags()
852 got = 0; in test_lpm_trie_update_flags()
853 err = bpf_map_lookup_elem(fd, &key, &got); in test_lpm_trie_update_flags()
855 CHECK(got != value, "check value", "got %d exp %d\n", got, value); in test_lpm_trie_update_flags()
861 got = 0; in test_lpm_trie_update_flags()
862 err = bpf_map_lookup_elem(fd, &key, &got); in test_lpm_trie_update_flags()
864 CHECK(got != value, "check value", "got %d exp %d\n", got, value); in test_lpm_trie_update_flags()
[all …]
/linux/arch/s390/kernel/
H A Dmodule.c63 case R_390_GOT12: /* 12 bit GOT offset. */ in check_rela()
64 case R_390_GOT16: /* 16 bit GOT offset. */ in check_rela()
65 case R_390_GOT20: /* 20 bit GOT offset. */ in check_rela()
66 case R_390_GOT32: /* 32 bit GOT offset. */ in check_rela()
67 case R_390_GOT64: /* 64 bit GOT offset. */ in check_rela()
68 case R_390_GOTENT: /* 32 bit PC rel. to GOT entry shifted by 1. */ in check_rela()
84 case R_390_PLTOFF16: /* 16 bit offset from GOT to PLT. */ in check_rela()
85 case R_390_PLTOFF32: /* 32 bit offset from GOT to PLT. */ in check_rela()
86 case R_390_PLTOFF64: /* 16 bit offset from GOT to PLT. */ in check_rela()
103 * Account for GOT and PLT relocations. We can't add sections for
[all …]
/linux/tools/arch/x86/lib/
H A Dinsn.c117 * to point to the (first) opcode. No effect if @insn->prefixes.got
131 if (prefixes->got) in insn_get_prefixes()
197 insn->rex_prefix.got = 1; in insn_get_prefixes()
201 insn->rex_prefix.got = 1; in insn_get_prefixes()
249 insn->vex_prefix.got = 1; in insn_get_prefixes()
251 prefixes->got = 1; in insn_get_prefixes()
266 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got
279 if (opcode->got) in insn_get_opcode()
347 opcode->got = 1;
360 * (prefixes and opcode(s)). No effect if @insn->modrm.got i
[all...]
/linux/fs/xfs/scrub/
H A Dcow_repair.c480 struct xfs_bmbt_irec *got) in xrep_cow_find_mapping() argument
485 if (!xfs_iext_lookup_extent(ip, ifp, startoff, icur, got)) in xrep_cow_find_mapping()
488 if (got->br_startoff > startoff) in xrep_cow_find_mapping()
491 if (got->br_blockcount == 0) in xrep_cow_find_mapping()
494 if (isnullstartblock(got->br_startblock)) in xrep_cow_find_mapping()
497 if (xfs_bmap_is_written_extent(got)) in xrep_cow_find_mapping()
510 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the
511 * beginning of @got with the space described by @rep.
517 const struct xfs_bmbt_irec *got, in xrep_cow_replace_mapping() argument
520 struct xfs_bmbt_irec new = *got; /* struct copy */ in xrep_cow_replace_mapping()
[all …]
/linux/drivers/infiniband/hw/qib/
H A 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/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c150 test_err("invalid physical address, expected %llu, got %llu", in test_punch_hole_3extents()
157 test_err("invalid stripe length, expected %llu, got %llu", in test_punch_hole_3extents()
184 test_err("invalid physical address, expected %llu, got %llu", in test_punch_hole_3extents()
191 test_err("invalid stripe length, expected %llu, got %llu", in test_punch_hole_3extents()
340 test_err("invalid physical address, expected %llu, got %llu", in test_delete_two_extents()
347 test_err("invalid stripe length, expected %llu, got %llu", in test_delete_two_extents()
414 test_err("invalid physical address, expected %llu got %llu", in test_punch_hole()
421 test_err("invalid stripe length, expected %llu got %llu", in test_punch_hole()
443 test_err("invalid physical address, expected %llu, got %llu", in test_punch_hole()
450 test_err("invalid stripe length, expected %llu, got %llu", in test_punch_hole()
[all …]
/linux/sound/pci/emu10k1/
H A 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()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_police_occ.sh74 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
78 check_err $? "Got occupancy $(tc_police_occ_get), expected $occ"
88 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
92 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
96 check_err $? "Got occupancy $(tc_police_occ_get), expected $occ"

12345678910>>...69