Lines Matching refs:user_data
370 u32 user_data[2] = {0}; in ptrace_gethbpregs() local
384 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs()
385 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs()
388 user_data[1] |= DBREAKC_LOAD_MASK; in ptrace_gethbpregs()
390 user_data[1] |= DBREAKC_STOR_MASK; in ptrace_gethbpregs()
394 if (copy_to_user(datap, user_data, sizeof(user_data))) in ptrace_gethbpregs()
405 u32 user_data[2]; in ptrace_sethbpregs() local
414 if (copy_from_user(user_data, datap, sizeof(user_data))) in ptrace_sethbpregs()
419 if (user_data[1] & DBREAKC_LOAD_MASK) in ptrace_sethbpregs()
421 if (user_data[1] & DBREAKC_STOR_MASK) in ptrace_sethbpregs()
440 attr.bp_addr = user_data[0]; in ptrace_sethbpregs()
441 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs()