Home
last modified time | relevance | path

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

12345678910>>...72

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c34 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton()
35 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton()
36 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton()
37 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton()
39 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton()
40 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton()
41 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton()
42 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton()
44 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton()
45 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton()
[all …]
Dringbuf.c48 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
52 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
111 "err_avail_size", "exp %ld, got %ld\n", in test_ringbuf()
114 "err_ring_size", "exp %ld, got %ld\n", in test_ringbuf()
117 "err_cons_pos", "exp %ld, got %ld\n", in test_ringbuf()
120 "err_prod_pos", "exp %ld, got %ld\n", in test_ringbuf()
130 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf()
137 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
139 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf()
141 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf()
[all …]
Dringbuf_multi.c23 CHECK(ring != 1, "sample1_ring", "exp %d, got %d\n", 1, ring); in process_sample()
24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
28 CHECK(ring != 2, "sample2_ring", "exp %d, got %d\n", 2, ring); in process_sample()
29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
84 if (CHECK(err != 2, "poll_res", "expected 2 records, got %d\n", err)) in test_ringbuf_multi()
92 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", in test_ringbuf_multi()
94 CHECK(skel->bss->skipped != 1, "err_skipped", "exp %ld, got %ld\n", in test_ringbuf_multi()
96 CHECK(skel->bss->total != 2, "err_total", "exp %ld, got %ld\n", in test_ringbuf_multi()
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()
Dksyms_btf.c46 "got %llu, exp %llu\n", in test_basic()
50 "got %llu, exp %llu\n", in test_basic()
55 "got %u, exp != -1\n", data->out__rq_cpu); in test_basic()
57 "got %d, exp >= 0\n", data->out__bpf_prog_active); in test_basic()
59 "got %u, exp 0\n", data->out__cpu_0_rq_cpu); in test_basic()
63 "got %u, exp %u\n", this_rq_cpu, data->out__rq_cpu); in test_basic()
67 "got %d, exp %d\n", this_bpf_prog_active, in test_basic()
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-v5.10/tools/testing/selftests/livepatch/
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-v5.10/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()
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-v5.10/arch/powerpc/include/uapi/asm/
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-v5.10/fs/btrfs/tests/
Dinode-tests.c267 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
271 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
286 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
290 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
295 "unexpected extent wanted start 0 len 5, got start %llu len %llu", in test_btrfs_get_extent()
308 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
312 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent()
318 "unexpected extent wanted start %llu len 1, got start %llu len %llu", in test_btrfs_get_extent()
336 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
340 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
[all …]
/Linux-v5.10/arch/s390/include/asm/
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-v5.10/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,
92 "Unexpected GOT/PLT entries detected!")
98 .got : {
99 *(.got)
101 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!")
/Linux-v5.10/arch/alpha/kernel/
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-v5.10/include/uapi/linux/
Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
141 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
142 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
143 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
144 #define STATX_UID 0x00000008U /* Want/got stx_uid */
145 #define STATX_GID 0x00000010U /* Want/got stx_gid */
146 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
147 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
148 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
149 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/Linux-v5.10/tools/include/uapi/linux/
Dstat.h67 * parameter to statx(). What statx() actually got will be indicated in
141 #define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
142 #define STATX_MODE 0x00000002U /* Want/got stx_mode & ~S_IFMT */
143 #define STATX_NLINK 0x00000004U /* Want/got stx_nlink */
144 #define STATX_UID 0x00000008U /* Want/got stx_uid */
145 #define STATX_GID 0x00000010U /* Want/got stx_gid */
146 #define STATX_ATIME 0x00000020U /* Want/got stx_atime */
147 #define STATX_MTIME 0x00000040U /* Want/got stx_mtime */
148 #define STATX_CTIME 0x00000080U /* Want/got stx_ctime */
149 #define STATX_INO 0x00000100U /* Want/got stx_ino */
[all …]
/Linux-v5.10/arch/x86/lib/
Dinsn.c98 * to point to the (first) opcode. No effect if @insn->prefixes.got
108 if (prefixes->got) in insn_get_prefixes()
168 insn->rex_prefix.got = 1; in insn_get_prefixes()
216 insn->vex_prefix.got = 1; in insn_get_prefixes()
218 prefixes->got = 1; in insn_get_prefixes()
231 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got
239 if (opcode->got) in insn_get_opcode()
241 if (!insn->prefixes.got) in insn_get_opcode()
273 opcode->got = 1; in insn_get_opcode()
285 * (prefixes and opcode(s)). No effect if @insn->modrm.got is already 1.
[all …]
/Linux-v5.10/tools/arch/x86/lib/
Dinsn.c98 * to point to the (first) opcode. No effect if @insn->prefixes.got
108 if (prefixes->got) in insn_get_prefixes()
168 insn->rex_prefix.got = 1; in insn_get_prefixes()
216 insn->vex_prefix.got = 1; in insn_get_prefixes()
218 prefixes->got = 1; in insn_get_prefixes()
231 * Sets @insn->opcode.value = opcode1. No effect if @insn->opcode.got
239 if (opcode->got) in insn_get_opcode()
241 if (!insn->prefixes.got) in insn_get_opcode()
273 opcode->got = 1; in insn_get_opcode()
285 * (prefixes and opcode(s)). No effect if @insn->modrm.got is already 1.
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_bmap.c1277 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local
1297 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused()
1301 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused()
1302 got.br_startoff - max >= len) in xfs_bmap_first_unused()
1304 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1326 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local
1348 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before()
1496 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real()
3225 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent()
3229 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent()
[all …]
/Linux-v5.10/arch/s390/kernel/
Dmodule.c67 case R_390_GOT12: /* 12 bit GOT offset. */ in check_rela()
68 case R_390_GOT16: /* 16 bit GOT offset. */ in check_rela()
69 case R_390_GOT20: /* 20 bit GOT offset. */ in check_rela()
70 case R_390_GOT32: /* 32 bit GOT offset. */ in check_rela()
71 case R_390_GOT64: /* 64 bit GOT offset. */ in check_rela()
72 case R_390_GOTENT: /* 32 bit PC rel. to GOT entry shifted by 1. */ in check_rela()
88 case R_390_PLTOFF16: /* 16 bit offset from GOT to PLT. */ in check_rela()
89 case R_390_PLTOFF32: /* 32 bit offset from GOT to PLT. */ in check_rela()
90 case R_390_PLTOFF64: /* 16 bit offset from GOT to PLT. */ in check_rela()
107 * Account for GOT and PLT relocations. We can't add sections for
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
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…
172 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
177 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
182 check_err $? "Expected egress TC($SB_ITC_IP2ME) max occupancy to be $exp_max_occ, but got $max_occ"
Dtc_police_occ.sh74 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
78 check_err $? "Got occupancy $(tc_police_occ_get), expected $occ"
88 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
92 check_err $? "Got occupancy $(tc_police_occ_get), expected $((occ + 1))"
96 check_err $? "Got occupancy $(tc_police_occ_get), expected $occ"
/Linux-v5.10/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-v5.10/fs/xfs/scrub/
Ddir.c251 /* Make sure we got a real directory entry. */ in xchk_dir_rec()
649 struct xfs_bmbt_irec got; in xchk_directory_blocks() local
680 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
684 (got.br_startoff > 0 || in xchk_directory_blocks()
685 got.br_blockcount != args.geo->fsbcount)) { in xchk_directory_blocks()
687 got.br_startoff); in xchk_directory_blocks()
692 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks()
706 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
708 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
715 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
[all …]
/Linux-v5.10/arch/arm/boot/compressed/
Dvmlinux.lds.S30 * of the text/got segments.
69 .got.plt : { *(.got.plt) }
72 .got : { *(.got) }
84 *(.got)
/Linux-v5.10/fs/xfs/
Dxfs_reflink.c248 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local
253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
257 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
259 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked()
261 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
264 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
265 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
268 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked()
270 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
274 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
[all …]

12345678910>>...72