/external/ltp/testcases/kernel/containers/mountns/ |
mountns04.c | 54 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); 57 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); 59 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_UNBINDABLE, NULL);
|
mountns01.c | 87 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); 90 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); 93 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_SHARED, NULL); 100 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL);
|
mountns02.c | 87 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); 90 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); 93 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_PRIVATE, NULL); 100 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL);
|
mountns03.c | 100 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); 103 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); 106 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_SHARED, NULL); 116 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL);
|
/external/ltp/testcases/kernel/syscalls/umount2/ |
umount2_01.c | 94 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 125 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
|
umount2_02.c | 85 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
|
umount2_03.c | 112 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat06.c | 147 SAFE_MOUNT(tst_device->dev, "mntpoint", tst_device->fs_type,
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise01.c | 72 SAFE_MOUNT(TMP_DIR, TMP_DIR, "tmpfs", 0, NULL);
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
ftruncate04.c | 248 SAFE_MOUNT(cleanup, device, MOUNT_DIR, fs_type, 0, NULL);
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap16.c | 168 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, "nodelalloc");
|
/external/ltp/testcases/kernel/syscalls/open/ |
open12.c | 112 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_STRICTATIME, NULL);
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify06.c | 256 SAFE_MOUNT(cleanup, MOUNT_NAME, MOUNT_NAME, NULL, MS_BIND, NULL);
|
/external/ltp/include/old/ |
safe_macros.h | 155 #define SAFE_MOUNT(cleanup_fn, source, target, filesystemtype, \ 157 safe_mount(__FILE__, __LINE__, (cleanup_fn), (source), (target), \
|
/external/ltp/include/ |
tst_safe_macros.h | 184 #define SAFE_MOUNT(source, target, filesystemtype, \ 186 safe_mount(__FILE__, __LINE__, NULL, (source), (target), \
|