Home | History | Annotate | Download | only in mountns

Lines Matching refs:DIRA

61 	/* makes mount DIRA a slave of DIRA (all slave mounts have
63 if (mount("none", DIRA, "none", MS_SLAVE, NULL) == -1) {
71 if (access(DIRA"/B", F_OK) == -1)
76 /* bind mounts DIRB to DIRA making contents of DIRB visible
77 * in DIRA */
78 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) {
85 umount(DIRA);
99 /* bind mounts DIRA to itself */
100 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL);
102 /* makes mount DIRA shared */
103 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_SHARED, NULL);
111 /* bind mounts DIRB to DIRA making contents of DIRB visible
112 * in DIRA */
113 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL);
117 SAFE_UMOUNT(cleanup, DIRA);
122 if ((access(DIRA"/A", F_OK) == 0) && (access(DIRA"/B", F_OK) == -1))
143 SAFE_UMOUNT(cleanup, DIRA);