Searched refs:mountTable (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dmtab.c18 FILE *mountTable; local
21 mountTable = setmntent(bb_path_mtab_file, "r");
23 if (!mountTable) mountTable = setmntent("/proc/mounts", "r");
24 if (!mountTable) {
29 while ((m = getmntent(mountTable)) != 0) {
39 endmntent(mountTable);
41 mountTable = setmntent(bb_path_mtab_file, "w");
42 if (mountTable) {
46 addmntent(mountTable,
[all...]
H A Dfind_mount_point.c24 FILE *mountTable; local
36 mountTable = setmntent(table ? table : bb_path_mtab_file, "r");
37 if (!mountTable)
40 while ((mountEntry = getmntent(mountTable)) != 0) {
51 endmntent(mountTable);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dmount.c278 FILE *mountTable = setmntent(bb_path_mtab_file, "a+"); local
281 if (!mountTable) {
309 addmntent(mountTable, mp);
310 endmntent(mountTable);
1574 FILE *mountTable = setmntent(bb_path_mtab_file, "r"); local
1576 if (!mountTable) bb_error_msg_and_die("no %s", bb_path_mtab_file);
1578 while (getmntent_r(mountTable, mtpair, bb_common_bufsiz1,
1589 if (ENABLE_FEATURE_CLEAN_UP) endmntent(mountTable);

Completed in 110 milliseconds