Home
last modified time | relevance | path

Searched refs:DIRB (Results 1 - 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/containers/mountns/
H A Dmountns.h13 #define DIRB "LTP_DIR_B" macro
20 if (tst_is_mounted(DIRB)) in umount_folders()
21 SAFE_UMOUNT(DIRB); in umount_folders()
27 SAFE_MKDIR(DIRB, 0777); in create_folders()
29 SAFE_TOUCH(DIRB "/B", 0, NULL); in create_folders()
H A Dmountns_helper.h21 #define DIRB "B" macro
47 umount(DIRB); in cleanup()
58 SAFE_MKDIR(cleanup, DIRB, 0777); in setup()
60 SAFE_TOUCH(cleanup, DIRB"/B", 0, NULL); in setup()
H A Dmountns04.c13 * - Creates directories DIRA, DIRB and files DIRA/"A", DIRB/"B"
18 * - Check if bind mount unbindable DIRA to DIRB fails as expected
38 if (mount(DIRA, DIRB, "none", MS_BIND, NULL) == -1) { in run()
41 SAFE_UMOUNT(DIRB); in run()
H A Dmountns03.c15 * - Creates directories DIRA, DIRB and files DIRA/"A", DIRB/"B"
25 * .. X: bind mounts DIRB to DIRA
29 * .. Y: bind mounts DIRB to DIRA
58 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in child_func()
88 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in run()
H A Dmountns01.c49 /* bind mounts DIRB to DIRA making contents of DIRB visible in DIRA */ in child_func()
50 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in child_func()
77 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in run()
H A Dmountns02.c50 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in child_func()
78 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL); in run()

Completed in 2 milliseconds