Lines Matching refs:diag
345 int diag; in kdb_getphysword() local
354 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
355 if (!diag) in kdb_getphysword()
359 diag = kdb_getphys(&w2, addr, sizeof(w2)); in kdb_getphysword()
360 if (!diag) in kdb_getphysword()
364 diag = kdb_getphys(&w4, addr, sizeof(w4)); in kdb_getphysword()
365 if (!diag) in kdb_getphysword()
370 diag = kdb_getphys(&w8, addr, sizeof(w8)); in kdb_getphysword()
371 if (!diag) in kdb_getphysword()
377 diag = KDB_BADWIDTH; in kdb_getphysword()
380 return diag; in kdb_getphysword()
395 int diag; in kdb_getword() local
403 diag = kdb_getarea(w1, addr); in kdb_getword()
404 if (!diag) in kdb_getword()
408 diag = kdb_getarea(w2, addr); in kdb_getword()
409 if (!diag) in kdb_getword()
413 diag = kdb_getarea(w4, addr); in kdb_getword()
414 if (!diag) in kdb_getword()
419 diag = kdb_getarea(w8, addr); in kdb_getword()
420 if (!diag) in kdb_getword()
426 diag = KDB_BADWIDTH; in kdb_getword()
429 return diag; in kdb_getword()
444 int diag; in kdb_putword() local
452 diag = kdb_putarea(addr, w1); in kdb_putword()
456 diag = kdb_putarea(addr, w2); in kdb_putword()
460 diag = kdb_putarea(addr, w4); in kdb_putword()
465 diag = kdb_putarea(addr, w8); in kdb_putword()
470 diag = KDB_BADWIDTH; in kdb_putword()
473 return diag; in kdb_putword()