Home
last modified time | relevance | path

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

12345678910

/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/arch/x86/lib/
Dinsn.c131 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()
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()
339 if (modrm->got) in insn_get_modrm()
342 if (!insn->opcode.got) { in insn_get_modrm()
366 modrm->got = 1; in insn_get_modrm()
[all …]
/Linux-v6.6/tools/arch/x86/lib/
Dinsn.c131 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()
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()
339 if (modrm->got) in insn_get_modrm()
342 if (!insn->opcode.got) { in insn_get_modrm()
366 modrm->got = 1; in insn_get_modrm()
[all …]
/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()
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()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
Dflow_dissector.c17 #define CHECK_FLOW_KEYS(desc, got, expected) \ argument
18 _CHECK(memcmp(&got, &expected, sizeof(got)) != 0, \
32 got.nhoff, expected.nhoff, \
33 got.thoff, expected.thoff, \
34 got.addr_proto, expected.addr_proto, \
35 got.is_frag, expected.is_frag, \
36 got.is_first_frag, expected.is_first_frag, \
37 got.is_encap, expected.is_encap, \
38 got.ip_proto, expected.ip_proto, \
39 got.n_proto, expected.n_proto, \
[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,
99 .got : {
100 *(.got)
102 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/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/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/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()
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()
[all …]
/Linux-v6.6/arch/alpha/kernel/
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-v6.6/fs/xfs/
Dxfs_reflink.c251 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local
256 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
260 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
262 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked()
264 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
267 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
268 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
271 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked()
273 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
277 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
[all …]
Dxfs_bmap_util.c93 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc()
233 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
236 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
237 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
238 *count += got.br_blockcount; in xfs_bmap_count_leaves()
304 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
310 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
314 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
315 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
328 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
[all …]
/Linux-v6.6/fs/xfs/scrub/
Ddir.c620 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()
692 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
[all …]
/Linux-v6.6/arch/arm/boot/compressed/
Dvmlinux.lds.S71 .got.plt : { *(.got.plt) }
74 .got : { *(.got) }
86 *(.got)
/Linux-v6.6/scripts/dtc/
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-v6.6/arch/um/kernel/
Ddyn.lds.S53 .rel.got : { *(.rel.got) }
54 .rela.got : { *(.rela.got) }
157 .got : { *(.got.plt) *(.got) }
/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()
109 for (int i = 0; i < got; i++) { in snd_emu10k1_voice_alloc()
/Linux-v6.6/arch/powerpc/platforms/512x/
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-v6.6/arch/x86/kernel/
Dvmlinux.lds.S468 .got.plt (INFO) : { *(.got.plt) }
469 ASSERT(SIZEOF(.got.plt) == 0 ||
471 SIZEOF(.got.plt) == 0x18,
473 SIZEOF(.got.plt) == 0xc,
481 .got : {
482 *(.got) *(.igot.*)
484 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/Linux-v6.6/arch/nios2/boot/compressed/
Dvmlinux.lds.S27 .got : {
28 *(.got.plt)
30 *(.got)
/Linux-v6.6/tools/testing/selftests/powerpc/primitives/
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-v6.6/arch/nios2/kernel/
Dvmlinux.lds.S34 .got : {
35 *(.got.plt)
37 *(.got)
/Linux-v6.6/arch/riscv/include/asm/
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-v6.6/arch/arm64/kernel/
Dvmlinux.lds.S194 .got : { *(.got) }
199 .got.plt : { *(.got.plt) }
200 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18,

12345678910