HomeSort by relevance Sort by last modified time
    Searched refs:procfile (Results 1 - 9 of 9) sorted by null

  /external/iptables/iptables/
ip6tables-save.c 36 FILE *procfile = NULL; local
39 procfile = fopen("/proc/net/ip6_tables_names", "re");
40 if (!procfile)
43 while (fgets(tablename, sizeof(tablename), procfile)) {
52 fclose(procfile);
iptables-save.c 34 FILE *procfile = NULL; local
37 procfile = fopen("/proc/net/ip_tables_names", "re");
38 if (!procfile)
41 while (fgets(tablename, sizeof(tablename), procfile)) {
50 fclose(procfile);
  /external/elfutils/libdwfl/
linux-pid-attach.c 50 FILE *procfile; local
54 procfile = fopen (buffer, "r");
55 if (procfile == NULL)
59 while (fgets (buffer, sizeof (buffer), procfile) != NULL)
66 fclose (procfile);
298 FILE *procfile; local
304 procfile = fopen (buffer, "r");
305 if (procfile == NULL)
319 while (getline (&line, &linelen, procfile) >= 0)
333 fclose (procfile);
    [all...]
  /external/ltp/testcases/network/stress/ns-tools/
ns-common.c 93 char *procfile[] = { PROC_RMEM_MAX, PROC_WMEM_MAX }; local
101 if ((fp = fopen(procfile[idx], "r")) == NULL) {
102 fprintf(stderr, "Failed to open %s\n", procfile[idx]);
107 procfile[idx]);
116 procfile[idx]);
  /system/core/init/
bootchart.cpp 95 static void log_file(FILE* log, const char* procfile) {
99 if (android::base::ReadFileToString(procfile, &content)) {
  /system/core/toolbox/upstream-netbsd/usr.bin/grep/
grep.h 141 int procfile(const char *fn);
grep.c 689 exit(!procfile("-"));
697 c+= procfile(*aargv);
util.c 110 * the -R option. Each appropriate file is passed to procfile().
174 c += procfile(p->fts_path);
188 procfile(const char *fn) function
  /external/iptables/libxtables/
xtables.c 325 int procfile; local
329 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
330 if (procfile < 0)
332 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) {
340 count = read(procfile, ret, PATH_MAX);
347 close(procfile);
352 close(procfile);
    [all...]

Completed in 180 milliseconds