Home
last modified time | relevance | path

Searched refs:null_mount (Results 1 – 3 of 3) sorted by relevance

/netbsd/tests/fs/vfs/
H A Dt_rwtoro.c132 const char *null_mount = "/nullm"; in basic_test() local
136 RL(rump_sys_mkdir(null_mount, 0777)); in basic_test()
139 RL(rump_sys_mount(MOUNT_NULL, null_mount, 0, in basic_test()
143 (*pre)(use_layer ? null_mount : mp); in basic_test()
146 (*post)(use_layer ? null_mount : mp); in basic_test()
148 RL(rump_sys_unmount(null_mount, 0)); in basic_test()
/netbsd/sys/miscfs/nullfs/
H A Dnull_vfsops.c101 struct null_mount *nmp; in nullfs_mount()
139 nmp = kmem_zalloc(sizeof(struct null_mount), KM_SLEEP); in nullfs_mount()
152 kmem_free(nmp, sizeof(struct null_mount)); in nullfs_mount()
166 kmem_free(nmp, sizeof(struct null_mount)); in nullfs_mount()
191 struct null_mount *nmp = MOUNTTONULLMOUNT(mp); in nullfs_unmount()
208 kmem_free(mp->mnt_data, sizeof(struct null_mount)); in nullfs_unmount()
H A Dnull.h83 struct null_mount { struct
109 #define MOUNTTONULLMOUNT(mp) ((struct null_mount *)((mp)->mnt_data))