| /linux-6.15/arch/riscv/kernel/ |
| H A D | ftrace.c | 39 unsigned int nops[2] = {RISCV_INSN_NOP4, RISCV_INSN_NOP4}; in ftrace_check_current_call() local 43 expected = nops; in ftrace_check_current_call() 71 unsigned int nops[2] = {RISCV_INSN_NOP4, RISCV_INSN_NOP4}; in __ftrace_modify_call() local 79 if (patch_insn_write((void *)hook_pos, enable ? call : nops, MCOUNT_INSN_SIZE)) in __ftrace_modify_call() 100 unsigned int nops[2] = {RISCV_INSN_NOP4, RISCV_INSN_NOP4}; in ftrace_make_nop() local 102 if (patch_insn_write((void *)rec->ip, nops, MCOUNT_INSN_SIZE)) in ftrace_make_nop()
|
| /linux-6.15/arch/csky/kernel/ |
| H A D | ftrace.c | 68 static uint16_t nops[7] = {NOP, NOP32_HI, NOP32_LO, NOP32_HI, NOP32_LO, variable 76 sizeof(nops))) in ftrace_check_current_nop() 79 if (memcmp((void *)nops, (void *)olds, sizeof(nops))) { in ftrace_check_current_nop() 101 ret = copy_to_kernel_nofault((void *)hook_pos, enable ? call : nops, in ftrace_modify_code() 102 sizeof(nops)); in ftrace_modify_code()
|
| /linux-6.15/tools/perf/arch/powerpc/util/ |
| H A D | skip-callchain-idx.c | 51 size_t nops; in check_return_reg() local 54 result = dwarf_frame_register(frame, ra_regno, ops_mem, &ops, &nops); in check_return_reg() 65 if ((nops != 0 || ops != NULL) && in check_return_reg() 66 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg() 74 result = dwarf_frame_cfa(frame, &ops, &nops); in check_return_reg() 84 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
|
| /linux-6.15/tools/perf/util/ |
| H A D | dwarf-aux.c | 1224 nops--; in check_allowed_ops() 1232 while (nops) { in check_allowed_ops() 1243 nops--; in check_allowed_ops() 1327 size_t nops; in die_get_var_range() local 1434 size_t nops; in __die_find_var_reg_cb() local 1529 size_t nops; in __die_find_var_addr_cb() local 1581 size_t nops; in __die_collect_vars_cb() local 1598 if (!check_allowed_ops(ops, nops)) in __die_collect_vars_cb() 1644 size_t nops; in __die_collect_global_vars_cb() local 1660 if (!check_allowed_ops(ops, nops)) in __die_collect_global_vars_cb() [all …]
|
| H A D | probe-finder.c | 78 size_t nops; in convert_variable_location() local 105 if (dwarf_getlocation_addr(&attr, addr, &op, &nops, 1) <= 0) { in convert_variable_location() 127 &nops, 1) > 0) in convert_variable_location() 133 if (nops == 0) in convert_variable_location() 589 size_t nops; in call_probe_finder() local 615 ret = dwarf_getlocation_addr(&fb_attr, pf->addr, &pf->fb_ops, &nops, 1); in call_probe_finder() 616 if (ret <= 0 || nops == 0) { in call_probe_finder() 618 } else if (nops == 1 && pf->fb_ops[0].atom == DW_OP_call_frame_cfa && in call_probe_finder() 622 dwarf_frame_cfa(frame, &pf->fb_ops, &nops) != 0) { in call_probe_finder()
|
| H A D | annotate-data.c | 89 size_t nops; in pr_debug_location() local 97 while ((off = dwarf_getlocations(&attr, off, &base, &start, &end, &ops, &nops)) > 0) { in pr_debug_location()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | switch.S | 28 .macro nops number macro 45 nops 6 63 nops 3 68 nops 7
|
| /linux-6.15/tools/build/feature/ |
| H A D | test-libdw.c | 31 size_t nops; in test_libdw_getlocations() local 34 return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); in test_libdw_getlocations()
|
| /linux-6.15/fs/nfs/ |
| H A D | callback_xdr.c | 165 hdr->nops = ntohl(*p); in decode_compound_hdr_arg() 692 hdr->nops = xdr_reserve_space(xdr, 4); in encode_compound_hdr_res() 693 if (unlikely(hdr->nops == NULL)) in encode_compound_hdr_res() 969 unsigned int nops = 0; in nfs4_callback_compound() local 998 while (status == 0 && nops != hdr_arg.nops) { in nfs4_callback_compound() 999 status = process_op(nops, rqstp, &cps); in nfs4_callback_compound() 1000 nops++; in nfs4_callback_compound() 1007 nops--; in nfs4_callback_compound() 1016 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()
|
| H A D | callback.h | 37 unsigned nops; member 44 __be32 *nops; member
|
| H A D | nfs4xdr.c | 960 uint32_t nops; member 1044 *p = cpu_to_be32(hdr->nops); in encode_compound_hdr() 1052 hdr->nops++; in encode_op_hdr() 1058 WARN_ON_ONCE(hdr->nops > NFS4_MAX_OPS); in encode_nops() 1059 *hdr->nops_p = htonl(hdr->nops); in encode_nops() 2421 .nops = 0, in nfs4_xdr_enc_open_confirm() 2781 .nops = 0, in nfs4_xdr_enc_renew() 2798 .nops = 0, in nfs4_xdr_enc_setclientid() 2815 .nops = 0, in nfs4_xdr_enc_setclientid_confirm() 3239 hdr->nops = tmp; in decode_compound_hdr() [all …]
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4callback.c | 57 u32 nops; member 293 BUG_ON(hdr->nops > NFS4_MAX_BACK_CHANNEL_OPS); in encode_cb_nops() 294 *hdr->nops_p = cpu_to_be32(hdr->nops); in encode_cb_nops() 321 if (xdr_stream_decode_u32(xdr, &hdr->nops) < 0) in decode_cb_compound4res() 351 hdr->nops++; in encode_cb_recall4args() 369 hdr->nops++; in encode_cb_recallany4args() 404 hdr->nops++; in encode_cb_getattr4args() 452 hdr->nops++; in encode_cb_sequence4args() 790 hdr->nops++; in encode_cb_layout4args() 864 hdr.nops++; in nfs4_xdr_enc_cb_notify_lock() [all …]
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | arch_gicv3.h | 70 nops(8); in gic_read_iar_cavium_thunderx() 72 nops(4); in gic_read_iar_cavium_thunderx()
|
| H A D | barrier.h | 17 #define nops(n) asm volatile(__nops(n)) macro
|
| H A D | alternative-macros.h | 203 nops (662b-661b) / AARCH64_INSN_SIZE
|
| H A D | assembler.h | 112 .macro nops, num
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | barrier.h | 19 #define nops(n) __asm__ __volatile__ (__nops(n)) macro
|
| H A D | asm.h | 80 .macro nops, num
|
| /linux-6.15/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 1624 int nops; in do_jit() local 2490 nops = INSN_SZ_DIFF - 2; in do_jit() 2491 if (nops != 0 && nops != 4) { in do_jit() 2493 nops); in do_jit() 2496 emit_nops(&prog, nops); in do_jit() 2544 nops = INSN_SZ_DIFF; in do_jit() 2545 if (nops != 0 && nops != 2 && nops != 5) { in do_jit() 2547 nops); in do_jit() 2550 emit_nops(&prog, nops); in do_jit() 2570 if (nops != 0 && nops != 3) { in do_jit() [all …]
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | callthunks.c | 174 static const u8 nops[] = { variable 195 if (bcmp(pad, nops, tsize)) { in patch_dest()
|
| /linux-6.15/include/linux/mtd/ |
| H A D | spinand.h | 337 unsigned int nops; member 343 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \
|
| /linux-6.15/tools/objtool/arch/x86/ |
| H A D | decode.c | 782 static const char nops[5][5] = { in arch_nop_insn() local 795 return nops[len-1]; in arch_nop_insn()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.h | 453 u64 nops; member
|
| H A D | en_stats.c | 283 s->tx_xdp_nops += xdpsq_red_stats->nops; in mlx5e_stats_grp_sw_update_stats_xdp_red() 295 s->rx_xdp_tx_nops += xdpsq_stats->nops; in mlx5e_stats_grp_sw_update_stats_xdpsq() 2186 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, nops) }, 2196 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, nops) },
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | xdp.c | 370 sq->stats->nops += contig_wqebbs; in mlx5e_xdpsq_get_next_pi()
|