Lines Matching refs:kbuf
3359 char kbuf[16] = {}, *pkbuf; in hisi_sas_debugfs_bist_linkrate_write() local
3366 if (count >= sizeof(kbuf)) in hisi_sas_debugfs_bist_linkrate_write()
3369 if (copy_from_user(kbuf, buf, count)) in hisi_sas_debugfs_bist_linkrate_write()
3372 pkbuf = strstrip(kbuf); in hisi_sas_debugfs_bist_linkrate_write()
3449 char kbuf[16] = {}, *pkbuf; in hisi_sas_debugfs_bist_code_mode_write() local
3456 if (count >= sizeof(kbuf)) in hisi_sas_debugfs_bist_code_mode_write()
3459 if (copy_from_user(kbuf, buf, count)) in hisi_sas_debugfs_bist_code_mode_write()
3462 pkbuf = strstrip(kbuf); in hisi_sas_debugfs_bist_code_mode_write()
3578 char kbuf[16] = {}, *pkbuf; in hisi_sas_debugfs_bist_mode_write() local
3585 if (count >= sizeof(kbuf)) in hisi_sas_debugfs_bist_mode_write()
3588 if (copy_from_user(kbuf, buf, count)) in hisi_sas_debugfs_bist_mode_write()
3591 pkbuf = strstrip(kbuf); in hisi_sas_debugfs_bist_mode_write()