Lines Matching defs:kbuf
489 char kbuf[MMU_KBUF_SIZE];
493 if (count > sizeof(kbuf) - 1)
495 if (copy_from_user(kbuf, buf, count))
497 kbuf[count] = 0;
499 c = strchr(kbuf, ' ');
504 rc = kstrtouint(kbuf, 10, &dev_entry->mmu_asid);
551 char kbuf[MMU_KBUF_SIZE];
554 if (count > sizeof(kbuf) - 1)
557 if (copy_from_user(kbuf, buf, count))
560 kbuf[count] = 0;
562 if (strncmp(kbuf, "0x", 2))
565 rc = kstrtoull(kbuf, 16, &dev_entry->mmu_cap_mask);