Lines Matching defs:entry
6127 struct mnttab entry;
6141 while (getmntent(mnttab_file, &entry) == 0) {
6142 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0 ||
6143 strchr(entry.mnt_special, '@') != NULL)
6146 (void) printf("%-30s %s\n", entry.mnt_special,
6147 entry.mnt_mountp);
6214 * absolute path, find the entry /etc/mnttab, verify that its a ZFS filesystem,
6223 struct extmnttab entry;
6244 while ((ret = getextmntent(mnttab_file, &entry, 0)) == 0) {
6245 if (entry.mnt_major == major(statbuf.st_dev) &&
6246 entry.mnt_minor == minor(statbuf.st_dev))
6263 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) {
6269 if ((zhp = zfs_open(g_zfs, entry.mnt_special,
6274 if (stat64(entry.mnt_mountp, &statbuf) != 0) {
6378 struct mnttab entry;
6398 while (getmntent(mnttab_file, &entry) == 0) {
6401 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0)
6405 if (strchr(entry.mnt_special, '@') != NULL)
6408 if ((zhp = zfs_open(g_zfs, entry.mnt_special,
6456 node->un_mountp = safe_strdup(entry.mnt_mountp);