Home
last modified time | relevance | path

Searched refs:mntent (Results 1 – 9 of 9) sorted by relevance

/external/bluetooth/glib/gio/
Dgunixmounts.c345 struct mntent ent; in _g_get_unix_mounts()
348 struct mntent *mntent; in _g_get_unix_mounts() local
366 while ((mntent = getmntent_r (file, &ent, buf, sizeof (buf))) != NULL) in _g_get_unix_mounts()
369 while ((mntent = getmntent (file)) != NULL) in _g_get_unix_mounts()
382 if (mntent->mnt_fsname != NULL && in _g_get_unix_mounts()
383 mntent->mnt_fsname[0] == '/' && in _g_get_unix_mounts()
384 g_hash_table_lookup (mounts_hash, mntent->mnt_fsname)) in _g_get_unix_mounts()
388 mount_entry->mount_path = g_strdup (mntent->mnt_dir); in _g_get_unix_mounts()
389 if (strcmp (mntent->mnt_fsname, "/dev/root") == 0) in _g_get_unix_mounts()
392 mount_entry->device_path = g_strdup (mntent->mnt_fsname); in _g_get_unix_mounts()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/
DSDL_syscdrom.c190 struct mntent *mntent; in CheckMounts() local
201 while ( (mntent=getmntent(mntfp)) != NULL ) { in CheckMounts()
202 mnt_type_len = SDL_strlen(mntent->mnt_type) + 1; in CheckMounts()
207 mnt_dev_len = SDL_strlen(mntent->mnt_fsname) + 1; in CheckMounts()
214 SDL_strlcpy(mnt_type, mntent->mnt_type, mnt_type_len); in CheckMounts()
215 SDL_strlcpy(mnt_dev, mntent->mnt_fsname, mnt_dev_len); in CheckMounts()
219 tmp = SDL_strstr(mntent->mnt_opts, "fs="); in CheckMounts()
230 tmp = SDL_strstr(mntent->mnt_opts, "dev="); in CheckMounts()
245 mtab, mnt_dev, mntent->mnt_dir, mnt_type); in CheckMounts()
/external/ppp/pppd/
Dsys-linux.c1387 struct mntent *mntent; in path_to_procfs() local
1396 while ((mntent = getmntent(fp)) != NULL) { in path_to_procfs()
1397 if (strcmp(mntent->mnt_type, MNTTYPE_IGNORE) == 0) in path_to_procfs()
1399 if (strcmp(mntent->mnt_type, "proc") == 0) { in path_to_procfs()
1400 strlcpy(proc_path, mntent->mnt_dir, sizeof(proc_path)); in path_to_procfs()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c46 struct mntent *mnt; in check_mntent_file()
/external/libffi/src/
Dclosures.c264 struct mntent mnt; in open_temp_exec_file_mnt()
/external/bluetooth/glib/
Dconfig.h.win32.in309 /* Define to 1 if you have the <mntent.h> header file. */
Dconfigure.in859 AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
/external/e2fsprogs/
Dconfigure.in696 AC_CHECK_HEADERS(dirent.h errno.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h …
Dconfigure9965 for ac_header in dirent.h errno.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h …