Lines Matching full:buff
392 char file[PATH_MAX], buff[4096];
404 while (fgets(buff, sizeof(buff), fp)) {
405 if (sscanf(buff, "map_type:\t%u", &val) == 1)
407 else if (sscanf(buff, "key_size:\t%u", &val) == 1)
409 else if (sscanf(buff, "value_size:\t%u", &val) == 1)
411 else if (sscanf(buff, "max_entries:\t%u", &val) == 1)
413 else if (sscanf(buff, "map_flags:\t%i", &val) == 1)
415 else if (sscanf(buff, "owner_prog_type:\t%i", &val) == 1)
417 else if (sscanf(buff, "owner_jited:\t%i", &val) == 1)
604 static char buff[4096];
607 ret = read(fd_in, buff, sizeof(buff));
608 if (ret > 0 && write(fd_out, buff, ret) == ret)
1814 __u8 *buff;
1846 for (i = 0, buff = (void *)ctx->maps; i < ctx->map_num;
1847 i++, buff += ctx->map_len) {
1852 memcpy(&fixup[i], buff, ctx->map_len);
2142 char file[PATH_MAX], buff[4096];
2155 while (fgets(buff, sizeof(buff), fp)) {
2156 if (sscanf(buff, "prog_type:\t%u", &val) == 1)
2158 else if (sscanf(buff, "prog_jited:\t%u", &val) == 1)
2260 char buff[PATH_MAX];
2262 while (fgets(buff, sizeof(buff), fp)) {
2263 char *ptr = buff;