Searched refs:procfile (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/iptables/
H A Dip6tables-save.c41 FILE *procfile = NULL; local
44 procfile = fopen("/proc/net/ip6_tables_names", "re");
45 if (!procfile)
48 while (fgets(tablename, sizeof(tablename), procfile)) {
57 fclose(procfile);
H A Diptables-save.c39 FILE *procfile = NULL; local
42 procfile = fopen("/proc/net/ip_tables_names", "re");
43 if (!procfile)
46 while (fgets(tablename, sizeof(tablename), procfile)) {
55 fclose(procfile);
H A Dxtables.c305 int procfile; local
309 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
310 if (procfile < 0)
312 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) {
321 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
327 close(procfile);
332 close(procfile);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/
H A Dudev_selinux.c50 char procfile[PATH_MAX]; local
58 snprintf(procfile, PATH_MAX, "/proc/ide/%s/media", devname);
59 procfile[PATH_MAX-1] = '\0';
61 fp = fopen(procfile, "r");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/
H A Dip6tables-save.c222 FILE *procfile = NULL; local
225 procfile = fopen("/proc/net/ip6_tables_names", "r");
226 if (!procfile)
229 while (fgets(tablename, sizeof(tablename), procfile)) {
H A Diptables-save.c227 FILE *procfile = NULL; local
230 procfile = fopen("/proc/net/ip_tables_names", "r");
231 if (!procfile)
234 while (fgets(tablename, sizeof(tablename), procfile)) {
H A Dip6tables.c1719 int procfile; local
1723 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
1724 if (procfile < 0)
1730 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
1736 close(procfile);
1741 close(procfile);
H A Diptables.c1783 int procfile; local
1787 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
1788 if (procfile < 0)
1794 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
1800 close(procfile);
1805 close(procfile);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfusermount.c487 static char procfile[256]; local
506 sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd);
507 *mntp = procfile;

Completed in 90 milliseconds