Lines Matching defs:buf1
196 char *buf1, *bp;
204 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
205 if (buf1 == NULL)
211 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
213 memcpy(ent.authname, buf1, sizeof(ent.authname));
216 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
218 ent.type = strcmp(buf1, "user") == 0 ?
222 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
224 ent.id = simple_strtoul(buf1, &bp, 10);
225 if (bp == buf1)
240 len = qword_get(&buf, buf1, PAGE_SIZE);
248 memcpy(ent.name, buf1, sizeof(ent.name));
258 kfree(buf1);
373 char *buf1;
380 buf1 = kmalloc(PAGE_SIZE, GFP_KERNEL);
381 if (buf1 == NULL)
387 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
389 memcpy(ent.authname, buf1, sizeof(ent.authname));
392 if (qword_get(&buf, buf1, PAGE_SIZE) <= 0)
394 ent.type = strcmp(buf1, "user") == 0 ?
398 error = qword_get(&buf, buf1, PAGE_SIZE);
401 memcpy(ent.name, buf1, sizeof(ent.name));
426 kfree(buf1);