Lines Matching refs:buf1
209 char *buf1, *bp;
217 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
218 if (buf1 == NULL)
224 len = qword_get(&buf, buf1, PAGE_SIZE);
227 memcpy(ent.authname, buf1, sizeof(ent.authname));
230 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
232 ent.type = strcmp(buf1, "user") == 0 ?
236 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
238 ent.id = simple_strtoul(buf1, &bp, 10);
239 if (bp == buf1)
254 len = qword_get(&buf, buf1, PAGE_SIZE);
260 memcpy(ent.name, buf1, sizeof(ent.name));
269 kfree(buf1);
379 char *buf1;
386 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
387 if (buf1 == NULL)
393 len = qword_get(&buf, buf1, PAGE_SIZE);
396 memcpy(ent.authname, buf1, sizeof(ent.authname));
399 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
401 ent.type = strcmp(buf1, "user") == 0 ?
405 len = qword_get(&buf, buf1, PAGE_SIZE);
408 memcpy(ent.name, buf1, sizeof(ent.name));
433 kfree(buf1);