Home
last modified time | relevance | path

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

12345678910>>...16

/openbmc/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 …]
/openbmc/qemu/crypto/
H A Drandom-platform.c81 ssize_t got = getrandom(buf, buflen, 0); in qcrypto_random_bytes()
82 if (likely(got == buflen)) { in qcrypto_random_bytes()
85 if (got >= 0) { in qcrypto_random_bytes()
86 buflen -= got; in qcrypto_random_bytes()
87 buf += got; in qcrypto_random_bytes()
97 ssize_t got = read(fd, buf, buflen); in qcrypto_random_bytes()
98 if (likely(got == buflen)) { in qcrypto_random_bytes()
101 if (got > 0) { in qcrypto_random_bytes()
102 buflen -= got; in qcrypto_random_bytes()
103 buf += got; in qcrypto_random_bytes()
[all …]
/openbmc/linux/arch/x86/lib/
H A 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 …]
/openbmc/linux/tools/arch/x86/lib/
H A 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 …]
/openbmc/linux/arch/riscv/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, 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 …]
/openbmc/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()
/openbmc/linux/fs/xfs/libxfs/
H A 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()
3138 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent()
3142 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent()
[all …]
/openbmc/linux/arch/x86/boot/compressed/
H A Dvmlinux.lds.S86 .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!")
/openbmc/linux/drivers/infiniband/hw/qib/
H A 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()
/openbmc/linux/arch/loongarch/kernel/
H A 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 …]
/openbmc/qemu/hw/core/
H A Deif.c92 size_t got; in read_eif_header() local
95 got = fread(header, 1, header_size, f); in read_eif_header()
96 if (got != header_size) { in read_eif_header()
136 size_t got; in read_eif_section_header() local
139 got = fread(section_header, 1, section_header_size, f); in read_eif_section_header()
140 if (got != section_header_size) { in read_eif_section_header()
192 size_t got; in read_eif_kernel() local
207 got = fread(kernel, 1, size, f); in read_eif_kernel()
208 if ((uint64_t) got != size) { in read_eif_kernel()
213 got = fwrite(kernel, 1, size, tmp_file); in read_eif_kernel()
[all …]
/openbmc/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 …]
/openbmc/linux/fs/xfs/
H A 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 …]
/openbmc/linux/fs/xfs/scrub/
H A 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 …]
/openbmc/linux/arch/arm/boot/compressed/
H A Dvmlinux.lds.S71 .got.plt : { *(.got.plt) }
74 .got : { *(.got) }
86 *(.got)
/openbmc/u-boot/arch/x86/lib/
H A Delf_ia32_efi.lds25 *(.got.plt)
26 *(.got)
40 *(.got.plt)
41 *(.got)
66 *(.rel.got)
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch30 + unsigned int got = 0;
41 + retval = ext2fs_file_read(e2_file, ptr, count, &got);
47 + count -= got;
48 + ptr += got;
49 + done += got;
50 + if (got == 0 || count == 0)
/openbmc/qemu/scripts/
H A Dcpu-x86-uarch-abi.py100 got = {} variable
103 got[feature] = True
110 "features": got,
129 got = set(models[name]["features"]) variable
131 missing = want - got
/openbmc/linux/arch/um/kernel/
H A Ddyn.lds.S53 .rel.got : { *(.rel.got) }
54 .rela.got : { *(.rela.got) }
157 .got : { *(.got.plt) *(.got) }
/openbmc/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]+//;
/openbmc/linux/sound/pci/emu10k1/
H A 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()
/openbmc/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()
/openbmc/qemu/gdbstub/
H A Dtrace-events25 gdbstub_err_invalid_repeat(uint8_t ch) "got invalid RLE count: 0x%02x"
26 gdbstub_err_invalid_rle(void) "got invalid RLE sequence"
27 gdbstub_err_checksum_invalid(uint8_t ch) "got invalid command checksum digit: 0x%02x"
28 gdbstub_err_checksum_incorrect(uint8_t expected, uint8_t got) "got command packet with incorrect ch…
/openbmc/linux/arch/x86/kernel/
H A Dvmlinux.lds.S465 .got.plt (INFO) : { *(.got.plt) }
466 ASSERT(SIZEOF(.got.plt) == 0 ||
468 SIZEOF(.got.plt) == 0x18,
470 SIZEOF(.got.plt) == 0xc,
478 .got : {
479 *(.got) *(.igot.*)
481 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/openbmc/u-boot/arch/arm/lib/
H A Delf_arm_efi.lds32 *(.got.plt)
33 *(.got)
53 .rel.got : { *(.rel.got) }

12345678910>>...16