Lines Matching refs:user_data
420 u32 user_data[2] = {0}; in ptrace_gethbpregs() local
434 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs()
435 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs()
438 user_data[1] |= DBREAKC_LOAD_MASK; in ptrace_gethbpregs()
440 user_data[1] |= DBREAKC_STOR_MASK; in ptrace_gethbpregs()
444 if (copy_to_user(datap, user_data, sizeof(user_data))) in ptrace_gethbpregs()
455 u32 user_data[2]; in ptrace_sethbpregs() local
464 if (copy_from_user(user_data, datap, sizeof(user_data))) in ptrace_sethbpregs()
469 if (user_data[1] & DBREAKC_LOAD_MASK) in ptrace_sethbpregs()
471 if (user_data[1] & DBREAKC_STOR_MASK) in ptrace_sethbpregs()
490 attr.bp_addr = user_data[0]; in ptrace_sethbpregs()
491 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs()