/linux/lib/kunit/ |
H A D | executor_test.c | 49 struct kunit_suite_set got; in filter_suites_test() local 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 90 KUNIT_ASSERT_EQ(test, got.end - got.start, 1); in filter_suites_test_glob_test() 104 struct kunit_suite_set got; in filter_suites_to_empty_test() local 114 KUNIT_EXPECT_PTR_EQ_MSG(test, got.start, got.end, in filter_suites_to_empty_test() 156 struct kunit_suite_set got; in filter_attr_test() local 180 KUNIT_ASSERT_EQ(test, got.end - got.start, 1); in filter_attr_test() 194 struct kunit_suite_set got; in filter_attr_empty_test() local 205 KUNIT_EXPECT_PTR_EQ_MSG(test, got.start, got.end, in filter_attr_empty_test() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | module-sections.c | 15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 19 if (got) in module_emit_got_entry() 20 return (unsigned long)got; 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() 104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() 113 if (!mod->arch.got.shdr) { in module_frob_arch_sections() 145 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() 146 mod->arch.got.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections() 149 mod->arch.got.num_entries = 0; in module_frob_arch_sections() [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()
|
H A D | flow_dissector.c | 16 #define CHECK_FLOW_KEYS(desc, got, expected) \ argument 17 _CHECK(memcmp(&got, &expected, sizeof(got)) != 0, \ 31 got.nhoff, expected.nhoff, \ 32 got.thoff, expected.thoff, \ 33 got.addr_proto, expected.addr_proto, \ 34 got.is_frag, expected.is_frag, \ 36 got.is_encap, expected.is_encap, \ 37 got.ip_proto, expected.ip_proto, \ 38 got.n_proto, expected.n_proto, \ 40 got.sport, expected.sport, \ [all …]
|
/linux/arch/x86/boot/compressed/ |
H A 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, 101 .got : { 102 *(.got) 104 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
|
/linux/tools/arch/x86/lib/ |
H A D | insn.c | 131 if (prefixes->got) in insn_get_prefixes() 251 prefixes->got = 1; in insn_get_prefixes() 279 if (opcode->got) in insn_get_opcode() 341 opcode->got = 1; in insn_get_opcode() 366 if (modrm->got) in insn_get_modrm() 391 modrm->got = 1; in insn_get_modrm() 552 insn->moffset1.got = insn->moffset2.got = 1; in __get_moffset() 599 insn->immediate1.got = insn->immediate2.got = 1; in __get_immv() 623 insn->immediate1.got = insn->immediate2.got = 1; in __get_immptr() 736 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete() [all …]
|
/linux/arch/x86/lib/ |
H A D | insn.c | 131 if (prefixes->got) in insn_get_prefixes() 251 prefixes->got = 1; in insn_get_prefixes() 279 if (opcode->got) in insn_get_opcode() 341 opcode->got = 1; in insn_get_opcode() 366 if (modrm->got) in insn_get_modrm() 391 modrm->got = 1; in insn_get_modrm() 552 insn->moffset1.got = insn->moffset2.got = 1; in __get_moffset() 599 insn->immediate1.got = insn->immediate2.got = 1; in __get_immv() 623 insn->immediate1.got = insn->immediate2.got = 1; in __get_immptr() 736 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete() [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 98 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/xfs/libxfs/ |
H A D | xfs_bmap.c | 1276 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 3860 got->br_startoff + got->br_blockcount <= obno) { in xfs_bmapi_trim_map() 3885 got->br_blockcount - (*bno - got->br_startoff)); in xfs_bmapi_trim_map() 4950 got_endoff = got->br_startoff + got->br_blockcount; in xfs_bmap_del_extent_delay() 5079 got_endoff = got->br_startoff + got->br_blockcount; in xfs_bmap_del_extent_cow() 5174 got_endoff = got.br_startoff + got.br_blockcount; in xfs_bmap_del_extent_real() 5272 old = got; in xfs_bmap_del_extent_real() 5475 got.br_startoff + got.br_blockcount - 1); in __xfs_bunmapi() 5482 del = got; in __xfs_bunmapi() 5862 got); in xfs_bmap_shift_update_extent() [all …]
|
/linux/arch/loongarch/kernel/ |
H A D | module-sections.c | 14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 18 if (got) in module_emit_got_entry() 19 return (Elf_Addr)got; 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() 35 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() 158 mod->arch.got.num_entries = 0; 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 150 gp = got + 0x8000; in apply_relocate_add() [all …]
|
/linux/fs/xfs/scrub/ |
H A D | cow_repair.c | 365 struct xfs_bmbt_irec *got) in xrep_cow_find_mapping() argument 373 if (got->br_startoff > startoff) in xrep_cow_find_mapping() 376 if (got->br_blockcount == 0) in xrep_cow_find_mapping() 379 if (isnullstartblock(got->br_startblock)) in xrep_cow_find_mapping() 382 if (xfs_bmap_is_written_extent(got)) in xrep_cow_find_mapping() 402 const struct xfs_bmbt_irec *got, in xrep_cow_replace_mapping() argument 408 ASSERT(!isnullstartblock(got->br_startblock)); in xrep_cow_replace_mapping() 412 if (got->br_blockcount == repl->len) { in xrep_cow_replace_mapping() 431 new.br_startoff = got->br_startoff; in xrep_cow_replace_mapping() 449 struct xfs_bmbt_irec got; in xrep_cow_replace_range() local [all …]
|
/linux/arch/s390/boot/ |
H A D | vmlinux.lds.S | 43 .got : { 44 *(.got) 140 .got.plt : { 141 *(.got.plt) 143 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
|
/linux/fs/xfs/ |
H A D | xfs_reflink.c | 252 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local 263 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked() 269 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 272 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked() 572 struct xfs_bmbt_irec got, del; in xfs_reflink_cancel_cow_blocks() local 582 while (got.br_startoff + got.br_blockcount > offset_fsb) { in xfs_reflink_cancel_cow_blocks() 583 del = got; in xfs_reflink_cancel_cow_blocks() 735 got.br_startoff >= end_fsb) { in xfs_reflink_end_cow_extent() 754 del = got; in xfs_reflink_end_cow_extent() 1536 struct xfs_bmbt_irec got; in xfs_reflink_inode_has_shared_extents() local [all …]
|
H A D | xfs_bmap_util.c | 86 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local 91 *count += got.br_blockcount; in xfs_bmap_count_leaves() 157 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument 267 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local 390 if (got.br_startoff > bno) { in xfs_getbmap() 392 got.br_startoff); in xfs_getbmap() 402 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap() 403 rec = got; in xfs_getbmap() 453 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local 462 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range() [all …]
|
/linux/arch/arm/boot/compressed/ |
H A D | vmlinux.lds.S | 71 .got.plt : { *(.got.plt) } 74 .got : { *(.got) } 86 *(.got)
|
/linux/arch/um/kernel/ |
H A D | dyn.lds.S | 53 .rel.got : { *(.rel.got) } 54 .rela.got : { *(.rela.got) } 157 .got : { *(.got.plt) *(.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/s390/kernel/ |
H A D | vmlinux.lds.S | 65 .got : { 67 *(.got) argument 240 .got.plt : { 241 *(.got.plt) 243 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
|
/linux/sound/pci/emu10k1/ |
H A D | voice.c | 91 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() 109 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 | 451 .got.plt (INFO) : { *(.got.plt) } 452 ASSERT(SIZEOF(.got.plt) == 0 || 454 SIZEOF(.got.plt) == 0x18, 456 SIZEOF(.got.plt) == 0xc, 464 .got : { 465 *(.got) *(.igot.*) 467 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
|
/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()
|
/linux/arch/nios2/kernel/ |
H A D | vmlinux.lds.S | 34 .got : { 35 *(.got.plt) 37 *(.got)
|