Searched refs:uinsn (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_insn_decoder.c | 1193 static inline int insn_to_user(struct pt_insn *uinsn, size_t size, in insn_to_user() argument 1196 if (!uinsn || !insn) in insn_to_user() 1199 if (uinsn == insn) in insn_to_user() 1204 memset(uinsn + sizeof(*insn), 0, size - sizeof(*insn)); in insn_to_user() 1209 memcpy(uinsn, insn, size); in insn_to_user() 1288 int pt_insn_next(struct pt_insn_decoder *decoder, struct pt_insn *uinsn, in pt_insn_next() argument 1296 if (!uinsn || !decoder) in pt_insn_next() 1311 pinsn = size == sizeof(insn) ? uinsn : &insn; in pt_insn_next() 1344 (void) insn_to_user(uinsn, size, pinsn); in pt_insn_next() 1351 status = insn_to_user(uinsn, size, pinsn); in pt_insn_next()
|