Lines Matching refs:text_poke_array
2785 } text_poke_array; variable
2856 if (unlikely(text_poke_array.nr_entries > 1)) { in smp_text_poke_int3_handler()
2857 tpl = __inline_bsearch(ip, text_poke_array.vec, text_poke_array.nr_entries, in smp_text_poke_int3_handler()
2863 tpl = text_poke_array.vec; in smp_text_poke_int3_handler()
2935 if (!text_poke_array.nr_entries) in smp_text_poke_batch_finish()
2966 for (i = 0; i < text_poke_array.nr_entries; i++) { in smp_text_poke_batch_finish()
2967 text_poke_array.vec[i].old = *(u8 *)text_poke_addr(&text_poke_array.vec[i]); in smp_text_poke_batch_finish()
2968 text_poke(text_poke_addr(&text_poke_array.vec[i]), &int3, INT3_INSN_SIZE); in smp_text_poke_batch_finish()
2976 for (do_sync = 0, i = 0; i < text_poke_array.nr_entries; i++) { in smp_text_poke_batch_finish()
2977 u8 old[TEXT_POKE_MAX_OPCODE_SIZE+1] = { text_poke_array.vec[i].old, }; in smp_text_poke_batch_finish()
2979 const u8 *new = text_poke_array.vec[i].text; in smp_text_poke_batch_finish()
2980 int len = text_poke_array.vec[i].len; in smp_text_poke_batch_finish()
2984 text_poke_addr(&text_poke_array.vec[i]) + INT3_INSN_SIZE, in smp_text_poke_batch_finish()
2993 text_poke(text_poke_addr(&text_poke_array.vec[i]) + INT3_INSN_SIZE, in smp_text_poke_batch_finish()
3024 perf_event_text_poke(text_poke_addr(&text_poke_array.vec[i]), old, len, new, len); in smp_text_poke_batch_finish()
3040 for (do_sync = 0, i = 0; i < text_poke_array.nr_entries; i++) { in smp_text_poke_batch_finish()
3041 u8 byte = text_poke_array.vec[i].text[0]; in smp_text_poke_batch_finish()
3043 if (text_poke_array.vec[i].len == 6) in smp_text_poke_batch_finish()
3049 text_poke(text_poke_addr(&text_poke_array.vec[i]), &byte, INT3_INSN_SIZE); in smp_text_poke_batch_finish()
3074 text_poke_array.nr_entries = 0; in smp_text_poke_batch_finish()
3083 tpl = &text_poke_array.vec[text_poke_array.nr_entries++]; in __smp_text_poke_batch_add()
3162 if (!text_poke_array.nr_entries) in text_poke_addr_ordered()
3171 if (text_poke_addr(text_poke_array.vec + text_poke_array.nr_entries-1) > addr) in text_poke_addr_ordered()
3192 if (text_poke_array.nr_entries == TEXT_POKE_ARRAY_MAX || !text_poke_addr_ordered(addr)) in smp_text_poke_batch_add()