Home
last modified time | relevance | path

Searched refs:got (Results 1 – 25 of 164) sorted by relevance

1234567

/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/bpf/prog_tests/
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()
/linux/arch/x86/boot/compressed/
H A Dvmlinux.lds.S94 .got.plt (INFO) : {
95 *(.got.plt)
97 ASSERT(SIZEOF(.got.plt) == 0 ||
99 SIZEOF(.got.plt) == 0x18,
101 SIZEOF(.got.plt) == 0xc,
109 .got : {
110 *(.got)
112 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/linux/arch/x86/lib/
H A Dinsn.c131 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()
252 insn->vex_prefix.got = 1; in insn_get_prefixes()
254 prefixes->got = 1; in insn_get_prefixes()
282 if (opcode->got) in insn_get_opcode()
363 opcode->got = 1; in insn_get_opcode()
388 if (modrm->got) in insn_get_modrm()
414 modrm->got = 1; in insn_get_modrm()
463 if (insn->sib.got) in insn_get_sib()
[all …]
/linux/tools/arch/x86/lib/
H A Dinsn.c131 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()
252 insn->vex_prefix.got = 1; in insn_get_prefixes()
254 prefixes->got = 1; in insn_get_prefixes()
282 if (opcode->got) in insn_get_opcode()
363 opcode->got = 1; in insn_get_opcode()
388 if (modrm->got) in insn_get_modrm()
414 modrm->got = 1; in insn_get_modrm()
463 if (insn->sib.got) in insn_get_sib()
[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/loongarch/kernel/
H A 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, sechdrs, got_sec); in module_emit_got_entry() local
19 if (got) in module_emit_got_entry()
20 return (Elf_Addr)got; in module_emit_got_entry()
23 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
24 got[i] = emit_got_entry(val); in module_emit_got_entry()
36 return (Elf_Addr)&got[i]; in module_emit_got_entry()
114 mod->arch.got.shndx = i; in module_frob_arch_sections()
123 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
152 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
[all …]
H A Dvmlinux.lds.S109 .got : ALIGN(16) { *(.got) }
111 .got.plt : ALIGN(16) { *(.got.plt) }
/linux/fs/xfs/
H A Dxfs_bmap_util.c79 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
82 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
83 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
84 *count += got.br_blockcount; in xfs_bmap_count_leaves()
150 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
156 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
160 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
161 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
174 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
177 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
[all …]
H A Dxfs_reflink.c303 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local
308 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
312 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
314 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked()
316 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
319 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
320 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
323 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked()
325 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
329 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
[all …]
/linux/arch/alpha/kernel/
H A Dmodule.c69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections() local
73 symtab = got = NULL; in module_frob_arch_sections()
82 got = s; in module_frob_arch_sections()
90 if (!got) { 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()
106 got->sh_type = SHT_NOBITS; in module_frob_arch_sections()
116 &got->sh_size); in module_frob_arch_sections()
141 unsigned long got, gp; in apply_relocate_add() local
149 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add()
[all …]
/linux/arch/arm/boot/compressed/
H A Dvmlinux.lds.S72 .got.plt : { *(.got.plt) }
75 .got : { *(.got) }
87 *(.got)
/linux/fs/xfs/scrub/
H A Dcow_repair.c498 struct xfs_bmbt_irec *got, in xrep_cow_find_mapping() argument
504 if (!xfs_iext_lookup_extent(ip, ifp, badoff, icur, got)) in xrep_cow_find_mapping()
506 memcpy(rep, got, sizeof(*rep)); in xrep_cow_find_mapping()
508 if (got->br_startoff > badoff) in xrep_cow_find_mapping()
511 if (isnullstartblock(got->br_startblock)) in xrep_cow_find_mapping()
514 if (xfs_bmap_is_written_extent(got)) in xrep_cow_find_mapping()
517 if (got->br_startoff < badoff) { in xrep_cow_find_mapping()
518 const int64_t delta = badoff - got->br_startoff; in xrep_cow_find_mapping()
525 if (got->br_startoff + got->br_blockcount > badoff + badlen) { in xrep_cow_find_mapping()
526 const int64_t delta = (got->br_startoff + got->br_blockcount) - in xrep_cow_find_mapping()
[all …]
/linux/scripts/dtc/
H A Dof_unittest_expect30 my ($expect, $got) = @_;
45 $got_next = $got;
47 $got =~ s/^$expect_next_lit//;
54 if ($got =~ /^[+-]*[0-9]+/) {
55 $got =~ s/^[+-]*[0-9]+//;
60 if ($got =~ /^(0x)*[0-9a-f]+/) {
61 $got =~ s/^(0x)*[0-9a-f]+//;
/linux/arch/um/kernel/
H A Ddyn.lds.S53 .rel.got : { *(.rel.got) }
54 .rela.got : { *(.rela.got) }
155 .got : { *(.got.plt) *(.got) }
H A Duml.lds.S94 .got : { *(.got.plt) *(.got) }
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c60 unsigned long offset, want, got, delta; in mpc512x_set_pixel_clock() local
126 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
127 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
135 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
136 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
143 pixclock, got, delta, epsilon); in mpc512x_set_pixel_clock()
156 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
157 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
159 pixclock, got, delta, epsilon); in mpc512x_set_pixel_clock()
/linux/arch/nios2/boot/compressed/
H A Dvmlinux.lds.S27 .got : {
28 *(.got.plt)
30 *(.got)
/linux/arch/powerpc/kernel/
H A Dvmlinux.lds.S151 .got : AT(ADDR(.got) - LOAD_OFFSET) {
152 *(.got)
153 *(.got.plt)
167 .got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
169 *(.got)
171 *(.got .toc)
/linux/tools/testing/selftests/powerpc/primitives/
H A Dload_unaligned_zeropad.c105 unsigned long got; in do_one_test() local
111 got = load_unaligned_zeropad(p); in do_one_test()
113 if (should != got) { in do_one_test()
114 …printf("offset %u load_unaligned_zeropad returned 0x%lx, should be 0x%lx\n", page_offset, got, sho… in do_one_test()
/linux/arch/nios2/kernel/
H A Dvmlinux.lds.S34 .got : {
35 *(.got.plt)
37 *(.got)
/linux/arch/riscv/include/asm/
H A Dmodule.h22 struct mod_section got; member
39 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry() local
42 if (got[i].symbol_addr == val) in get_got_entry()
43 return &got[i]; in get_got_entry()
/linux/tools/testing/selftests/powerpc/copyloops/
H A Dexc_validate.c62 unsigned long got, expected; in do_one_test() local
64 got = COPY_LOOP(dstp, srcp, len); in do_one_test()
67 if (got != expected) { in do_one_test()
70 srcp, dstp, len, got, expected); in do_one_test()
/linux/arch/loongarch/include/asm/
H A Dmodule.h21 struct mod_section got; member
118 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry() local
121 if (got[i].symbol_addr == val) in get_got_entry()
122 return &got[i]; in get_got_entry()
/linux/tools/testing/selftests/powerpc/security/
H A Dbranch_loops.S46 ld r6, jump_table@got(%r2)
49 ld r7, .Lstate_0@got(%r2)
75 ld r4, 2f@got(%r2)

1234567