Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/lib/kunit/
Dexecutor_test.c46 struct suite_set got; in filter_suites_test() local
53 got = kunit_filter_suites(&suite_set, "suite2", &err); in filter_suites_test()
54 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test()
56 kfree_at_end(test, got.start); in filter_suites_test()
59 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start[0]); in filter_suites_test()
60 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2"); in filter_suites_test()
63 KUNIT_ASSERT_EQ(test, got.end - got.start, 1); in filter_suites_test()
70 struct suite_set got; in filter_suites_test_glob_test() local
77 got = kunit_filter_suites(&suite_set, "suite2.test2", &err); in filter_suites_test_glob_test()
78 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, got.start); in filter_suites_test_glob_test()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/loongarch/kernel/
Dmodule-sections.c12 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
14 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry() local
16 if (got) in module_emit_got_entry()
17 return (Elf_Addr)got; in module_emit_got_entry()
20 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
21 got[i] = emit_got_entry(val); in module_emit_got_entry()
33 return (Elf_Addr)&got[i]; in module_emit_got_entry()
112 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
119 if (!mod->arch.got.shdr) { in module_frob_arch_sections()
148 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
[all …]
Dvmlinux.lds.S58 .got : ALIGN(16) { *(.got) }
60 .got.plt : ALIGN(16) { *(.got.plt) }
/linux-6.1.9/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-6.1.9/arch/x86/boot/compressed/
Dvmlinux.lds.S83 .got.plt (INFO) : {
84 *(.got.plt)
86 ASSERT(SIZEOF(.got.plt) == 0 ||
88 SIZEOF(.got.plt) == 0x18,
90 SIZEOF(.got.plt) == 0xc,
98 .got : {
99 *(.got)
101 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_bmap.c1211 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local
1229 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused()
1233 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused()
1234 got.br_startoff - max >= len) in xfs_bmap_first_unused()
1236 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1258 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local
1278 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before()
1392 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real()
3121 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent()
3125 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent()
[all …]
/linux-6.1.9/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, NULL); in qib_get_user_pages()
124 __qib_release_user_pages(p, got, 0); in qib_get_user_pages()
/linux-6.1.9/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
152 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add()
[all …]
/linux-6.1.9/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()
324 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
[all …]
/linux-6.1.9/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-6.1.9/arch/arm/boot/compressed/
Dvmlinux.lds.S71 .got.plt : { *(.got.plt) }
74 .got : { *(.got) }
86 *(.got)
/linux-6.1.9/fs/xfs/scrub/
Ddir.c668 struct xfs_bmbt_irec got; in xchk_directory_blocks() local
700 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
703 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks()
717 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
719 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
727 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
729 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
736 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks()
737 got.br_startoff == leaf_lblk && in xchk_directory_blocks()
738 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks()
[all …]
/linux-6.1.9/arch/um/kernel/
Ddyn.lds.S53 .rel.got : { *(.rel.got) }
54 .rela.got : { *(.rela.got) }
158 .got : { *(.got.plt) *(.got) }
/linux-6.1.9/arch/x86/kernel/
Dvmlinux.lds.S440 .got.plt (INFO) : { *(.got.plt) }
441 ASSERT(SIZEOF(.got.plt) == 0 ||
443 SIZEOF(.got.plt) == 0x18,
445 SIZEOF(.got.plt) == 0xc,
453 .got : {
454 *(.got) *(.igot.*)
456 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/linux-6.1.9/arch/powerpc/platforms/512x/
Dmpc512x_shared.c74 unsigned long offset, want, got, delta; in mpc512x_set_pixel_clock() local
140 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
141 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
149 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
150 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
157 pixclock, got, delta, epsilon); in mpc512x_set_pixel_clock()
170 got = clk_get_rate(clk_diu); in mpc512x_set_pixel_clock()
171 delta = abs(pixclock - got); in mpc512x_set_pixel_clock()
173 pixclock, got, delta, epsilon); in mpc512x_set_pixel_clock()
/linux-6.1.9/arch/riscv/include/asm/
Dmodule.h21 struct mod_section got; member
38 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry() local
41 if (got[i].symbol_addr == val) in get_got_entry()
42 return &got[i]; in get_got_entry()
/linux-6.1.9/arch/nios2/boot/compressed/
Dvmlinux.lds.S27 .got : {
28 *(.got.plt)
30 *(.got)
/linux-6.1.9/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-6.1.9/arch/nios2/kernel/
Dvmlinux.lds.S35 .got : {
36 *(.got.plt)
38 *(.got)
/linux-6.1.9/arch/loongarch/include/asm/
Dmodule.h20 struct mod_section got; member
94 struct got_entry *got = (struct got_entry *)sec->shdr->sh_addr; in get_got_entry() local
98 if (got[i].symbol_addr == val) in get_got_entry()
99 return &got[i]; in get_got_entry()

12345678910