Lines Matching defs:entry
6170 struct mnttab entry;
6184 while (getmntent(mnttab_file, &entry) == 0) {
6185 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0 ||
6186 strchr(entry.mnt_special, '@') != NULL)
6189 (void) printf("%-30s %s\n", entry.mnt_special,
6190 entry.mnt_mountp);
6257 * absolute path, find the entry /etc/mnttab, verify that its a ZFS filesystem,
6266 struct extmnttab entry;
6288 while ((ret = getextmntent(mnttab_file, &entry, 0)) == 0) {
6289 if (entry.mnt_major == major(statbuf.st_dev) &&
6290 entry.mnt_minor == minor(statbuf.st_dev))
6302 statfs2mnttab(&sfs, &entry);
6319 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) {
6325 if ((zhp = zfs_open(g_zfs, entry.mnt_special,
6330 if (stat64(entry.mnt_mountp, &statbuf) != 0) {
6436 struct mnttab entry;
6456 while (getmntent(mnttab_file, &entry) == 0) {
6459 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0)
6463 if (strchr(entry.mnt_special, '@') != NULL)
6466 if ((zhp = zfs_open(g_zfs, entry.mnt_special,
6514 node->un_mountp = safe_strdup(entry.mnt_mountp);