Lines Matching refs:kbuf
926 char *kbuf = NULL, *pos, *next_line; in map_write() local
934 kbuf = memdup_user_nul(buf, count); in map_write()
935 if (IS_ERR(kbuf)) in map_write()
936 return PTR_ERR(kbuf); in map_write()
974 pos = kbuf; in map_write()
1099 kfree(kbuf); in map_write()
1213 char kbuf[8], *pos; in proc_setgroups_write() local
1219 if ((*ppos != 0) || (count >= sizeof(kbuf))) in proc_setgroups_write()
1224 if (copy_from_user(kbuf, buf, count)) in proc_setgroups_write()
1226 kbuf[count] = '\0'; in proc_setgroups_write()
1227 pos = kbuf; in proc_setgroups_write()