Lines Matching refs:kbuf
855 char *kbuf = NULL, *pos, *next_line; in map_write() local
863 kbuf = memdup_user_nul(buf, count); in map_write()
864 if (IS_ERR(kbuf)) in map_write()
865 return PTR_ERR(kbuf); in map_write()
903 pos = kbuf; in map_write()
1028 kfree(kbuf); in map_write()
1138 char kbuf[8], *pos; in proc_setgroups_write() local
1144 if ((*ppos != 0) || (count >= sizeof(kbuf))) in proc_setgroups_write()
1149 if (copy_from_user(kbuf, buf, count)) in proc_setgroups_write()
1151 kbuf[count] = '\0'; in proc_setgroups_write()
1152 pos = kbuf; in proc_setgroups_write()