Home
last modified time | relevance | path

Searched full:got (Results 1 – 25 of 2837) sorted by relevance

12345678910>>...114

/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 …]
/linux/tools/testing/selftests/livepatch/
H A Dtest-shadow-vars.sh21 $MOD_TEST: got expected NULL result
35 $MOD_TEST: got expected PTR3 -> PTR2 result
37 $MOD_TEST: got expected PTR6 -> PTR5 result
39 $MOD_TEST: got expected PTR8 -> PTR7 result
41 $MOD_TEST: got expected PTR11 -> PTR10 result
43 $MOD_TEST: got expected PTR13 -> PTR12 result
45 $MOD_TEST: got expected PTR16 -> PTR15 result
47 $MOD_TEST: got expected PTR3 -> PTR2 result
49 $MOD_TEST: got expected PTR8 -> PTR7 result
51 $MOD_TEST: got expected PTR13 -> PTR12 result
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskeleton.c46 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton()
47 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton()
48 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton()
49 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton()
51 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton()
52 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton()
53 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton()
54 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton()
56 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton()
57 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton()
[all …]
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()
H A Dringbuf.c52 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
56 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
232 "err_avail_size", "exp %ld, got %ld\n", in ringbuf_subtest()
235 "err_ring_size", "exp %ld, got %ld\n", in ringbuf_subtest()
238 "err_cons_pos", "exp %ld, got %ld\n", in ringbuf_subtest()
241 "err_prod_pos", "exp %ld, got %ld\n", in ringbuf_subtest()
263 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in ringbuf_subtest()
270 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in ringbuf_subtest()
272 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in ringbuf_subtest()
274 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got in ringbuf_subtest()
[all...]
H A Dendian.c38 CHECK(bss->out16 != OUT16, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian()
40 CHECK(bss->out32 != OUT32, "out32", "got 0x%llx != exp 0x%llx\n", in test_endian()
42 CHECK(bss->out64 != OUT64, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian()
45 CHECK(bss->const16 != OUT16, "const16", "got 0x%llx != exp 0x%llx\n", in test_endian()
47 CHECK(bss->const32 != OUT32, "const32", "got 0x%llx != exp 0x%llx\n", in test_endian()
49 CHECK(bss->const64 != OUT64, "const64", "got 0x%llx != exp 0x%llx\n", in test_endian()
H A Dlink_pinning.c25 CHECK(bss->out != 1, "res_check1", "exp %d, got %d\n", 1, bss->out); in test_link_pinning_subtest()
33 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest()
42 CHECK(bss->out != 2, "res_check2", "exp %d, got %d\n", 2, bss->out); in test_link_pinning_subtest()
50 CHECK(bss->out != 3, "res_check3", "exp %d, got %d\n", 3, bss->out); in test_link_pinning_subtest()
58 "exp %s, got %s\n", link_pin_path, bpf_link__pin_path(link)); in test_link_pinning_subtest()
68 CHECK(bss->out != 4, "res_check4", "exp %d, got %d\n", 4, bss->out); in test_link_pinning_subtest()
84 CHECK(i == 10000, "link_attached", "got to iteration #%d\n", i); in test_link_pinning_subtest()
/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()
98 * Find the empty .got and .plt sections. in module_frob_arch_sections()
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
[all …]
/linux/fs/btrfs/tests/
H A Dinode-tests.c264 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
268 test_err("expected a hole, got %llu", em->disk_bytenr); in test_btrfs_get_extent()
283 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
287 test_err("expected an inline, got %llu", em->disk_bytenr); in test_btrfs_get_extent()
303 "unexpected extent wanted start 0 len %u, got start %llu len %llu", in test_btrfs_get_extent()
321 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
325 test_err("expected a hole, got %llu", em->disk_bytenr); in test_btrfs_get_extent()
330 "unexpected extent wanted start %llu len 4, got start %llu len %llu", in test_btrfs_get_extent()
344 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
348 test_err("expected a real extent, got %llu", em->disk_bytenr); in test_btrfs_get_extent()
[all …]
/linux/arch/powerpc/include/uapi/asm/
H A Delf.h72 #define R_PPC_GOT_TLSGD16 79 /* half16* (sym+add)@got@tlsgd */
73 #define R_PPC_GOT_TLSGD16_LO 80 /* half16 (sym+add)@got@tlsgd@l */
74 #define R_PPC_GOT_TLSGD16_HI 81 /* half16 (sym+add)@got@tlsgd@h */
75 #define R_PPC_GOT_TLSGD16_HA 82 /* half16 (sym+add)@got@tlsgd@ha */
76 #define R_PPC_GOT_TLSLD16 83 /* half16* (sym+add)@got@tlsld */
77 #define R_PPC_GOT_TLSLD16_LO 84 /* half16 (sym+add)@got@tlsld@l */
78 #define R_PPC_GOT_TLSLD16_HI 85 /* half16 (sym+add)@got@tlsld@h */
79 #define R_PPC_GOT_TLSLD16_HA 86 /* half16 (sym+add)@got@tlsld@ha */
80 #define R_PPC_GOT_TPREL16 87 /* half16* (sym+add)@got@tprel */
81 #define R_PPC_GOT_TPREL16_LO 88 /* half16 (sym+add)@got@tprel@l */
[all …]
/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()
21 /* There is no GOT entry for val yet, create a new one. */ 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()
31 pr_err("%s: module contains bad GOT relocation\n", mod->name); in module_emit_got_entry()
35 return (Elf_Addr)&got[i]; in module_emit_got_entry()
114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
[all …]
/linux/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
149 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
150 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
151 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
152 #define STATX_UID 0x00000008U /* Want/got stx_uid */
153 #define STATX_GID 0x00000010U /* Want/got stx_gid */
154 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
155 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
156 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
157 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
149 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
150 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
151 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
152 #define STATX_UID 0x00000008U /* Want/got stx_uid */
153 #define STATX_GID 0x00000010U /* Want/got stx_gid */
154 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
155 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
156 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
157 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/linux/tools/include/uapi/linux/
H A Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
149 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
150 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
151 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
152 #define STATX_UID 0x00000008U /* Want/got stx_uid */
153 #define STATX_GID 0x00000010U /* Want/got stx_gid */
154 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
155 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
156 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
157 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/linux/arch/s390/include/asm/
H A Delf.h18 #define R_390_GOT12 6 /* 12 bit GOT offset. */
19 #define R_390_GOT32 7 /* 32 bit GOT offset. */
22 #define R_390_GLOB_DAT 10 /* Create GOT entry. */
25 #define R_390_GOTOFF32 13 /* 32 bit offset to GOT. */
26 #define R_390_GOTPC 14 /* 32 bit PC rel. offset to GOT. */
27 #define R_390_GOT16 15 /* 16 bit GOT offset. */
33 #define R_390_GOTPCDBL 21 /* 32 bit PC rel. GOT shifted by 1. */
36 #define R_390_GOT64 24 /* 64 bit GOT offset. */
38 #define R_390_GOTENT 26 /* 32 bit PC rel. to GOT entry >> 1. */
39 #define R_390_GOTOFF16 27 /* 16 bit offset to GOT. */
[all …]
/linux/arch/alpha/kernel/
H A Dmodule.c20 /* Allocate the GOT at the end of the core sections. */
59 bits above 256 to store the got offset for this reloc. */ in process_reloc_for_got()
69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections() local
73 symtab = got = NULL; in module_frob_arch_sections()
81 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
82 got = s; in module_frob_arch_sections()
90 if (!got) { in module_frob_arch_sections()
91 printk(KERN_ERR "module %s: no got section\n", me->name); 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()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c1252 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local
1270 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused()
1274 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused()
1275 got.br_startoff - max >= len) in xfs_bmap_first_unused()
1277 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1299 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local
1320 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before()
1436 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real()
3212 if (!isnullstartblock(ap->got in xfs_bmap_adjacent()
3852 xfs_bmapi_trim_map(struct xfs_bmbt_irec * mval,struct xfs_bmbt_irec * got,xfs_fileoff_t * bno,xfs_filblks_t len,xfs_fileoff_t obno,xfs_fileoff_t end,int n,uint32_t flags) xfs_bmapi_trim_map() argument
3961 struct xfs_bmbt_irec got; xfs_bmapi_read() local
4052 xfs_bmapi_reserve_delalloc(struct xfs_inode * ip,int whichfork,xfs_fileoff_t off,xfs_filblks_t len,xfs_filblks_t prealloc,struct xfs_bmbt_irec * got,struct xfs_iext_cursor * icur,int eof) xfs_bmapi_reserve_delalloc() argument
4816 struct xfs_bmbt_irec got; xfs_bmapi_remap() local
4957 xfs_bmap_del_extent_delay(struct xfs_inode * ip,int whichfork,struct xfs_iext_cursor * icur,struct xfs_bmbt_irec * got,struct xfs_bmbt_irec * del) xfs_bmap_del_extent_delay() argument
5091 xfs_bmap_del_extent_cow(struct xfs_inode * ip,struct xfs_iext_cursor * icur,struct xfs_bmbt_irec * got,struct xfs_bmbt_irec * del) xfs_bmap_del_extent_cow() argument
5176 struct xfs_bmbt_irec got; /* current extent entry */ xfs_bmap_del_extent_real() local
5431 struct xfs_bmbt_irec got; /* current extent record */ __xfs_bunmapi() local
5739 xfs_bmse_can_merge(struct xfs_bmbt_irec * left,struct xfs_bmbt_irec * got,xfs_fileoff_t shift) xfs_bmse_can_merge() argument
5775 xfs_bmse_merge(struct xfs_trans * tp,struct xfs_inode * ip,int whichfork,xfs_fileoff_t shift,struct xfs_iext_cursor * icur,struct xfs_bmbt_irec * got,struct xfs_bmbt_irec * left,struct xfs_btree_cur * cur,int * logflags) xfs_bmse_merge() argument
5860 xfs_bmap_shift_update_extent(struct xfs_trans * tp,struct xfs_inode * ip,int whichfork,struct xfs_iext_cursor * icur,struct xfs_bmbt_irec * got,struct xfs_btree_cur * cur,int * logflags,xfs_fileoff_t startoff) xfs_bmap_shift_update_extent() argument
5910 struct xfs_bmbt_irec got, prev; xfs_bmap_collapse_extents() local
5993 struct xfs_bmbt_irec got; xfs_bmap_can_insert_extents() local
6025 struct xfs_bmbt_irec got, next; xfs_bmap_insert_extents() local
6126 struct xfs_bmbt_irec got; xfs_bmap_split_extent() local
[all...]
/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,
95 "Unexpected GOT/PLT entries detected!")
101 .got : {
102 *(.got)
104 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/linux/arch/s390/kernel/
H A Dmodule.c63 case R_390_GOT12: /* 12 bit GOT offset. */ in check_rela()
64 case R_390_GOT16: /* 16 bit GOT offset. */ in check_rela()
65 case R_390_GOT20: /* 20 bit GOT offset. */ in check_rela()
66 case R_390_GOT32: /* 32 bit GOT offset. */ in check_rela()
67 case R_390_GOT64: /* 64 bit GOT offset. */ in check_rela()
68 case R_390_GOTENT: /* 32 bit PC rel. to GOT entry shifted by 1. */ in check_rela()
84 case R_390_PLTOFF16: /* 16 bit offset from GOT to PLT. */ in check_rela()
85 case R_390_PLTOFF32: /* 32 bit offset from GOT to PLT. */ in check_rela()
86 case R_390_PLTOFF64: /* 16 bit offset from GOT to PLT. */ in check_rela()
103 * Account for GOT and PLT relocations. We can't add sections for
[all …]
/linux/tools/arch/x86/lib/
H A Dinsn.c117 * to point to the (first) opcode. No effect if @insn->prefixes.got
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()
249 insn->vex_prefix.got = 1;
251 prefixes->got = 1;
266 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got in insn_get_opcode()
279 if (opcode->got) in insn_get_opcode()
341 opcode->got = 1; in insn_get_modrm()
354 * (prefixes and opcode(s)). No effect if @insn->modrm.got i in insn_get_modrm()
[all...]
/linux/arch/x86/lib/
H A Dinsn.c117 * to point to the (first) opcode. No effect if @insn->prefixes.got
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()
249 insn->vex_prefix.got = 1;
251 prefixes->got = 1;
266 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got in insn_get_opcode()
279 if (opcode->got) in insn_get_opcode()
341 opcode->got = 1; in insn_get_modrm()
354 * (prefixes and opcode(s)). No effect if @insn->modrm.got i in insn_get_modrm()
[all...]
/linux/fs/xfs/scrub/
H A Dcow_repair.c365 struct xfs_bmbt_irec *got) in xrep_cow_find_mapping() argument
370 if (!xfs_iext_lookup_extent(ip, ifp, startoff, icur, got)) in xrep_cow_find_mapping()
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()
395 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the
396 * beginning of @got with the space described by @rep.
402 const struct xfs_bmbt_irec *got, in xrep_cow_replace_mapping() argument
405 struct xfs_bmbt_irec new = *got; /* struct copy */ in xrep_cow_replace_mapping()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer.sh113 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
118 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
123 check_err $? "Expected ePool($SB_POOL_EGR_CPU) max occupancy to be $exp_max_occ, but got $max_occ"
141 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
146 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
151 …check_err $? "Expected egress TC($SB_ITC_CPU_IP) max occupancy to be $exp_max_occ, but got $max_oc…
168 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
173 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
178 check_err $? "Expected egress TC($SB_ITC_IP2ME) max occupancy to be $exp_max_occ, but got $max_occ"
/linux/arch/s390/boot/
H A Dvmlinux.lds.S43 .got : {
44 *(.got)
143 * Make sure that the .got.plt is either completely empty or it
146 .got.plt : {
147 *(.got.plt)
149 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
/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()

12345678910>>...114