Lines Matching defs:mntp
234 struct mnttab *mntp;
291 mntp = (struct mnttab *)malloc(sizeof (struct mnttab));
292 if (mntp == NULL) {
298 while (getmntent(fp, mntp) == 0) {
305 DPRINTF1(" %s \n", mntp->mnt_special);
306 if (strstr(mntp->mnt_special, tmp_path_name) !=
307 mntp->mnt_special) {
311 DPRINTF1("Found!! %s\n", mntp->mnt_special);
327 free(mntp);
346 struct mnttab *mntp;
377 mntp = (struct mnttab *)malloc(sizeof (struct mnttab));
378 if (mntp == NULL) {
393 while (getmntent(fp, mntp) == 0) {
400 if (strncmp(mntp->mnt_special, tmp_name, strlen(tmp_name))) {
409 if (strcmp(mntp->mnt_special, block_dev_name) == 0) {
411 if (my_umount(mntp->mnt_mountp) < 0) {
430 if (strcmp(mntp->mnt_special,
433 if (my_umount(mntp->mnt_mountp)
449 if (strcmp(mntp->mnt_special,
452 if (my_umount(mntp->mnt_mountp)