Lines Matching refs:rnum
2235 unsigned int rnum; in pfm_write_ibr_dbr() local
2314 rnum = tmp.dbreg_num; in pfm_write_ibr_dbr()
2319 if ((mode == 0 && !IBR_IS_IMPL(rnum)) || ((mode == 1) && !DBR_IS_IMPL(rnum))) { in pfm_write_ibr_dbr()
2321 rnum, dbreg.val, mode, i, count)); in pfm_write_ibr_dbr()
2329 if (rnum & 0x1) { in pfm_write_ibr_dbr()
2358 CTX_USED_IBR(ctx, rnum); in pfm_write_ibr_dbr()
2360 ia64_set_ibr(rnum, dbreg.val); in pfm_write_ibr_dbr()
2363 thread->ibr[rnum] = dbreg.val; in pfm_write_ibr_dbr()
2365 DBprintk(("write ibr%u=0x%lx used_ibrs=0x%lx\n", rnum, dbreg.val, ctx->ctx_used_ibrs[0])); in pfm_write_ibr_dbr()
2367 CTX_USED_DBR(ctx, rnum); in pfm_write_ibr_dbr()
2369 ia64_set_dbr(rnum, dbreg.val); in pfm_write_ibr_dbr()
2372 thread->dbr[rnum] = dbreg.val; in pfm_write_ibr_dbr()
2374 DBprintk(("write dbr%u=0x%lx used_dbrs=0x%lx\n", rnum, dbreg.val, ctx->ctx_used_dbrs[0])); in pfm_write_ibr_dbr()