| /linux/lib/kunit/ |
| H A 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 …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_strncmp.c | 30 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/riscv/kernel/ |
| H A D | module-sections.c | 16 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() 133 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() 142 if (!mod->arch.got.shdr) { in module_frob_arch_sections() 199 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() [all …]
|
| /linux/arch/x86/boot/compressed/ |
| H A D | vmlinux.lds.S | 94 .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/fs/xfs/libxfs/ |
| H A D | xfs_bmap.c | 1243 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local 1261 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused() 1265 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused() 1266 got.br_startoff - max >= len) in xfs_bmap_first_unused() 1268 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 1290 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local 1311 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before() 1445 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real() 3094 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent() 3098 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent() [all …]
|
| /linux/tools/arch/x86/lib/ |
| H A D | insn.c | 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() 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/arch/x86/lib/ |
| H A D | insn.c | 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() 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 D | lpm_trie_map_basic_ops.c | 807 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 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, 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() 115 mod->arch.got.shndx = i; in module_frob_arch_sections() 124 if (!mod->arch.got.shndx) { in module_frob_arch_sections() 153 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 69 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/s390/boot/ |
| H A D | vmlinux.lds.S | 44 .got : { 45 *(.got) 147 .got.plt : { 148 *(.got.plt) 150 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
|
| /linux/fs/xfs/scrub/ |
| H A D | cow_repair.c | 480 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() 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() 523 ASSERT(!isnullstartblock(got->br_startblock)); in xrep_cow_replace_mapping() 525 trace_xrep_cow_replace_mapping(ip, got, repl->fsbno, repl->len); in xrep_cow_replace_mapping() [all …]
|
| H A D | dir.c | 789 struct xfs_bmbt_irec got; in xchk_directory_blocks() local 825 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 828 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 842 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 844 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 852 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 854 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 861 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks() 862 got.br_startoff == leaf_lblk && in xchk_directory_blocks() 863 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_reflink.c | 303 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 …]
|
| H A D | xfs_bmap_util.c | 79 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 …]
|
| /linux/arch/arm/boot/compressed/ |
| H A D | vmlinux.lds.S | 71 .got.plt : { *(.got.plt) } 74 .got : { *(.got) } 86 *(.got)
|
| /linux/scripts/dtc/ |
| H A D | of_unittest_expect | 30 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 D | dyn.lds.S | 53 .rel.got : { *(.rel.got) } 54 .rela.got : { *(.rela.got) } 155 .got : { *(.got.plt) *(.got) }
|
| /linux/arch/s390/kernel/ |
| H A D | vmlinux.lds.S | 84 .got : { 86 *(.got) argument 221 .got.plt : { 222 *(.got.plt) 224 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
|
| /linux/sound/pci/emu10k1/ |
| H A D | voice.c | 90 for (int got = 0; got < channels; ) { in snd_emu10k1_voice_alloc() local 91 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc() 93 got++; in snd_emu10k1_voice_alloc() 108 for (int i = 0; i < got; i++) { in snd_emu10k1_voice_alloc()
|
| /linux/arch/powerpc/platforms/512x/ |
| H A D | mpc512x_shared.c | 60 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/x86/kernel/ |
| H A D | vmlinux.lds.S | 435 .got.plt (INFO) : { *(.got.plt) } 436 ASSERT(SIZEOF(.got.plt) == 0 || 438 SIZEOF(.got.plt) == 0x18, 440 SIZEOF(.got.plt) == 0xc, 448 .got : { 449 *(.got) *(.igot.*) 451 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
|
| /linux/arch/powerpc/kernel/ |
| H A D | vmlinux.lds.S | 151 .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/arch/nios2/boot/compressed/ |
| H A D | vmlinux.lds.S | 27 .got : { 28 *(.got.plt) 30 *(.got)
|
| /linux/tools/testing/selftests/powerpc/primitives/ |
| H A D | load_unaligned_zeropad.c | 105 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()
|