| /linux/tools/perf/util/ |
| H A D | dwarf-aux.c | 1220 static bool check_allowed_ops(Dwarf_Op *ops, size_t nops) in check_allowed_ops() argument 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 1345 &start, &end, &op, &nops)) > 0) { in die_get_var_range() 1437 static bool is_breg_access_indirect(Dwarf_Op *ops, size_t nops) in is_breg_access_indirect() argument 1440 if (nops == 1) in is_breg_access_indirect() 1443 if (nops == 2 && ops[1].atom == DW_OP_stack_value) in is_breg_access_indirect() 1446 if (nops == 3 && (ops[1].atom == DW_OP_deref || in is_breg_access_indirect() [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 | 93 size_t nops; in pr_debug_location() local 101 while ((off = dwarf_getlocations(&attr, off, &base, &start, &end, &ops, &nops)) > 0) { in pr_debug_location()
|
| /linux/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/tools/perf/arch/powerpc/util/ |
| H A D | skip-callchain-idx.c | 43 size_t nops; in check_return_reg() local 46 result = dwarf_frame_register(frame, ra_regno, ops_mem, &ops, &nops); in check_return_reg() 57 if ((nops != 0 || ops != NULL) && in check_return_reg() 58 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg() 66 result = dwarf_frame_cfa(frame, &ops, &nops); in check_return_reg() 76 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
|
| /linux/tools/objtool/ |
| H A D | disas.c | 55 int nops; /* number of nops */ member 736 int offset, int nops) in disas_alt_add_insn() argument 749 dalt->insn[index].nops = nops; in disas_alt_add_insn() 762 int nops; in disas_alt_jump() local 773 nops = 0; in disas_alt_jump() 776 nops = orig_insn->len; in disas_alt_jump() 782 disas_alt_add_insn(dalt, 0, str, 0, nops); in disas_alt_jump() 818 int nops; in disas_alt_group() local 824 nops = 0; in disas_alt_group() 833 nops = insn->type == INSN_NOP ? insn->len : 0; in disas_alt_group() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | ftrace.c | 159 unsigned int nops[2], offset; in ftrace_init_nop() local 169 nops[0] = to_auipc_t0(offset); in ftrace_init_nop() 170 nops[1] = RISCV_INSN_NOP4; in ftrace_init_nop() 172 ret = patch_insn_write((void *)pc, nops, 2 * MCOUNT_INSN_SIZE); in ftrace_init_nop()
|
| /linux/fs/nfs/ |
| H A D | callback_xdr.c | 163 hdr->nops = ntohl(*p); in decode_compound_hdr_arg() 686 hdr->nops = xdr_reserve_space(xdr, 4); in encode_compound_hdr_res() 687 if (unlikely(hdr->nops == NULL)) in encode_compound_hdr_res() 948 unsigned int nops = 0; in nfs4_callback_compound() local 977 while (status == 0 && nops != hdr_arg.nops) { in nfs4_callback_compound() 978 status = process_op(nops, rqstp, &cps); in nfs4_callback_compound() 979 nops++; in nfs4_callback_compound() 986 nops--; in nfs4_callback_compound() 995 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 57 u32 nops; member 285 *p = cpu_to_be32(hdr->nops); /* argarray element count */ in encode_cb_compound4args() 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() 480 hdr->nops++; in encode_cb_sequence4args() 818 hdr->nops++; in encode_cb_layout4args() [all …]
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 1736 int nops; in do_jit() local 2632 nops = INSN_SZ_DIFF - 2; in do_jit() 2633 if (nops != 0 && nops != 4) { in do_jit() 2635 nops); in do_jit() 2638 emit_nops(&prog, nops); in do_jit() 2689 nops = INSN_SZ_DIFF; in do_jit() 2690 if (nops != 0 && nops != 2 && nops != 5) { in do_jit() 2692 nops); in do_jit() 2695 emit_nops(&prog, nops); in do_jit() 2714 nops = INSN_SZ_DIFF - 2; in do_jit() [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | asm.h | 86 .macro nops, num
|
| H A D | insn-def.h | 348 #define nops(n) __asm__ __volatile__ (__nops(n)) macro
|
| /linux/tools/objtool/arch/x86/ |
| H A D | decode.c | 15 #include <asm/nops.h> 852 static const char nops[5][5] = { in arch_is_retpoline() 865 return nops[len-1]; in arch_is_embedded_insn() 782 static const char nops[5][5] = { arch_nop_insn() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| 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() 2303 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, nops) }, 2313 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, nops) },
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | core.c | 1446 for (i = 0; i < info->vendor_ops->nops; i++) { in spinand_support_vendor_ops() 1512 for (i = 0; i < variants->nops; i++) { in spinand_select_op_variant()
|
| /linux/Documentation/trace/ |
| H A D | ftrace-design.rst | 395 ftrace_graph_call location with nops
|