/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | vcache.h | 10 #include <sys/mount.h> 15 void dump_vcache(const mount* vol); 17 status_t init_vcache(mount* vol); 18 status_t uninit_vcache(mount* vol); 20 ino_t generate_unique_vnid(mount *vol); 22 status_t add_to_vcache(mount* vol, ino_t vnid, ino_t loc); 23 status_t remove_from_vcache(mount* vol, ino_t vnid); 24 status_t vcache_vnid_to_loc(mount* vol, ino_t vnid, ino_t* loc); 25 status_t vcache_loc_to_vnid(mount* vol, ino_t loc, ino_t* vnid); 27 status_t vcache_set_entry(mount* vo [all...] |
H A D | dosfs.h | 69 struct mount; 87 status_t _dosfs_access(const struct mount* bsdVolume, const struct vnode* bsdNode, 89 status_t assign_inode(struct mount* volume, ino_t* inode); 90 bool node_exists(struct mount* bsdVolume, uint64_t inode);
|
H A D | vcache.cpp | 14 in order to make persistent vnode id's (at least across a given mount) work. 97 dump_vcache(const mount* vol) 121 init_vcache(mount* vol) 160 uninit_vcache(mount* vol) 190 generate_unique_vnid(mount* vol) 207 _add_to_vcache_(mount* vol, ino_t vnid, ino_t loc) 257 _remove_from_vcache_(mount* vol, ino_t vnid) 306 _find_vnid_in_vcache_(mount* vol, ino_t vnid) 324 _find_loc_in_vcache_(mount* vol, ino_t loc) 342 add_to_vcache(mount* vo [all...] |
H A D | debug.cpp | 24 #include "sys/mount.h" 41 _dump_volume(const mount* bsdVolume, void (*printFunc)(const char*, ...)) 92 " address: address of a FAT private volume (struct mount)\n" 93 " Use 'mounts' to list mounted volume ids, and 'mount <id>' to display a private " 98 mount* bsdVolume = reinterpret_cast<mount*>(strtoul(argv[1], NULL, 0)); 105 dprintf_volume(mount* bsdVolume)
|
H A D | kernel_interface.cpp | 105 #include "sys/mount.h" 133 static status_t _dosfs_sync(mount* volume, bool data = true); 135 static status_t _dosfs_read_vnode(mount* bsdVolume, const ino_t id, vnode** newNode, bool createFileCache = true); 137 static status_t bsd_volume_init(fs_volume* fsVolume, const uint32 flags, mount** volume); 138 status_t bsd_volume_uninit(mount* volume); 139 static status_t bsd_device_init(mount* bsdVolume, const dev_t devID, const char* deviceFile, 144 static status_t fat_volume_init(vnode* devvp, mount* bsdVolume, const uint64_t fatFlags, 174 typedef CObjectDeleter<mount, status_t, &bsd_volume_uninit> StructMountDeleter; 221 INFORM("unsupported mount flag(s) %" B_PRIx32 "\n", (flags & ~B_MOUNT_READ_ONLY)); 225 // Initialize the struct mount, whic [all...] |
H A D | support.h | 75 #include "sys/mount.h" 206 status_t get_location(mount* bsdVolume, ino_t vnid, u_long* dirclust, u_long* diroffset); 207 status_t assign_inode_and_get(mount* bsdVolume, daddr_t cluster, u_long offset, vnode** bsdNode);
|
/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/ |
H A D | msdosfs_iconv.c | 38 #include <sys/mount.h>
|
H A D | msdosfs_vfsops.c | 64 #include "sys/mount.h" 82 struct mount* bsdVolume = (struct mount*)voidVolume; 104 // In fs_shell and userlandfs, there is no way to get the mount point, which would be needed
|
H A D | msdosfs_vnops.c | 105 struct mount* mp;
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | mount.c | 15 int mount(const char *filesystem, const char *where, const char *device, ulong flags, void *parms, int len); 19 mount(const char *filesystem, const char *where, const char *device, ulong flags, void *parms, int len)
|
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/ |
H A D | conf.h | 46 struct mount* si_mountpt;
|
H A D | vnode.h | 84 struct mount* v_mount; /* u ptr to vfs we are in */ 179 struct mount* bsdVolume = (struct mount*)vp->v_mount; 204 typedef int (*vn_get_ino_t)(struct mount*, void*, int, struct vnode**); 208 int vfs_hash_get(struct mount* mp, uint64 hash, int flags, thread_id td, struct vnode** vpp, 220 int getnewvnode(const char* tag, struct mount* mp, struct vop_vector* vops, struct vnode** vpp); 227 insmntque(struct vnode* vp, struct mount* mp)
|
H A D | mount.h | 57 struct mount { struct
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 56 #define HAS_FS_MOUNT_CALL(mount, op) (mount->volume->ops->op != NULL) 59 vnode->ops->op(vnode->mount->volume, vnode, params) 61 vnode->ops->op(vnode->mount->volume, vnode) 62 #define FS_MOUNT_CALL(mount, op, params...) \ 63 mount->volume->ops->op(mount->volume, params) 64 #define FS_MOUNT_CALL_NO_PARAMS(mount, op) \ 65 mount->volume->ops->op(mount 82 struct fs_mount *mount; member in struct:FSShell::vnode 405 struct fs_mount *mount = (fs_mount *)_m; local 418 struct fs_mount *mount = (fs_mount *)_m; local 446 struct fs_mount *mount = find_mount(id); local 464 put_mount(struct fs_mount *mount) argument 569 add_vnode_to_mount_list(struct vnode *vnode, struct fs_mount *mount) argument 580 remove_vnode_from_mount_list(struct vnode *vnode, struct fs_mount *mount) argument 881 disconnect_mount_or_vnode_fds(struct fs_mount *mount, struct vnode *vnodeToDisconnect) argument 985 struct fs_mount *mount = vnode->mount; local 1666 get_new_fd(int type, struct fs_mount *mount, struct vnode *vnode, void *cookie, int openMode, bool kernel) argument 4301 struct fs_mount *mount; local 4337 struct fs_mount *mount = descriptor->u.mount; local 4351 struct fs_mount *mount = descriptor->u.mount; local 4365 struct fs_mount *mount = descriptor->u.mount; local 4377 struct fs_mount *mount = descriptor->u.mount; local 4391 struct fs_mount *mount; local 4415 struct fs_mount *mount; local 4438 struct fs_mount *mount; local 4465 struct fs_mount *mount; local 4501 struct fs_mount *mount = descriptor->u.mount; local 4515 struct fs_mount *mount = descriptor->u.mount; local 4529 struct fs_mount *mount = descriptor->u.mount; local 4541 struct fs_mount *mount = descriptor->u.mount; local 4558 struct fs_mount *mount; local 4736 struct fs_mount *mount; local 4871 struct fs_mount *mount; local 4930 struct fs_mount *mount; local 4962 struct fs_mount *mount; local 4980 struct fs_mount *mount = NULL; local [all...] |
/haiku/src/bin/ |
H A D | df.cpp | 32 char mount[B_PATH_NAME_LENGTH]; local 33 mount[0] = '\0'; 40 strlcpy(mount, path.Path(), sizeof(mount)); 42 strlcpy(mount, "?", sizeof(mount)); 46 printf(" Mounted at: %s\n", mount); 48 printf("%-17s ", mount); 49 if (strlen(mount) > 17)
|
H A D | mountvolume.cpp | 56 " -all - mount all mountable volumes\n" 57 " -allbfs - mount all mountable BFS volumes\n" 58 " -allhfs - mount all mountable HFS volumes\n" 59 " -alldos - mount all mountable DOS volumes\n" 60 " -ro, -readonly - mount volumes read-only\n" 171 // check whether to mount 172 bool mount = false; local 176 mount = true; 180 mount = true; 183 mount [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 85 #define HAS_FS_MOUNT_CALL(mount, op) (mount->volume->ops->op != NULL) 90 vnode->ops->op(vnode->mount->volume, vnode, params) \ 94 vnode->ops->op(vnode->mount->volume, vnode) \ 96 # define FS_MOUNT_CALL(mount, op, params...) \ 97 ( HAS_FS_MOUNT_CALL(mount, op) ? \ 98 mount->volume->ops->op(mount->volume, params) \ 99 : (panic("FS_MOUNT_CALL: mount %p op " #op " is NULL", mount), 726 struct fs_mount* mount; local 749 put_mount(struct fs_mount* mount) argument 848 add_vnode_to_mount_list(struct vnode* vnode, struct fs_mount* mount) argument 856 remove_vnode_from_mount_list(struct vnode* vnode, struct fs_mount* mount) argument 1873 replace_vnode_if_disconnected(struct fs_mount* mount, struct vnode* vnodeToDisconnect, struct vnode*& vnode, struct vnode* fallBack, bool lockRootLock) argument 1922 disconnect_mount_or_vnode_fds(struct fs_mount* mount, struct vnode* vnodeToDisconnect) argument 2819 get_new_fd(struct fd_ops* ops, struct fs_mount* mount, struct vnode* vnode, void* cookie, int openMode, bool kernel) argument 3007 _dump_mount(struct fs_mount* mount) argument 3190 struct fs_mount* mount = sMountsTable->Lookup(id); local 3216 struct fs_mount* mount; local 4094 struct fs_mount* mount = find_mount(mountID); local 4109 struct fs_mount* mount = find_mount(mountID); local 4124 struct fs_mount* mount = find_mount(mountID); local 5157 struct fs_mount* mount = find_mount(mountID); local 7091 struct fs_mount* mount; local 7131 struct fs_mount* mount = descriptor->u.mount; local 7145 struct fs_mount* mount = descriptor->u.mount; local 7158 struct fs_mount* mount = descriptor->u.mount; local 7172 struct fs_mount* mount = descriptor->u.mount; local 7188 struct fs_mount* mount; local 7242 struct fs_mount* mount; local 7266 struct fs_mount* mount; local 7293 struct fs_mount* mount; local 7334 struct fs_mount* mount = descriptor->u.mount; local 7348 struct fs_mount* mount = descriptor->u.mount; local 7361 struct fs_mount* mount = descriptor->u.mount; local 7375 struct fs_mount* mount = descriptor->u.mount; local 7391 struct ::fs_mount* mount; local 7721 struct fs_mount* mount; local 7944 struct fs_mount* mount; local 8028 struct fs_mount* mount; local 8066 struct fs_mount* mount; local 8084 struct fs_mount* mount = NULL; local [all...] |
/haiku/src/add-ons/kernel/file_systems/fat/bsd/kern/ |
H A D | vfs_vnops.c | 49 #include "sys/mount.h" 67 struct mount* bsdVolume = vp->v_mount;
|
H A D | vfs_hash.c | 42 #include "sys/mount.h" 74 vfs_hash_get(struct mount* mp, uint64 hash, int flags, thread_id td, struct vnode** vpp,
|
H A D | vfs_subr.c | 97 getnewvnode(const char* tag, struct mount* mp, struct vop_vector* vops, struct vnode** vpp)
|
/haiku/src/bin/network/mount_nfs/ |
H A D | mount_nfs.cpp | 14 int mount(const char *filesystem, const char *where, const char *device, ulong flags, void *parameters, size_t len) function 108 int result=mount ("nfs",argv[2],NULL,0,buf,strlen(buf)); 109 //int result=mount ("nfs",argv[2],NULL,0,¶ms,sizeof(params)); 115 printf ("mount failed (%s)\n",strerror(result));
|
/haiku/src/system/libroot/os/arch/x86/ |
H A D | compatibility.c | 28 int mount(const char *filesystem, const char *where, const char *device, ulong flags, 111 mount(const char *filesystem, const char *where, const char *device, ulong flags, function
|
/haiku/src/tests/add-ons/kernel/file_systems/ext2/ |
H A D | extents_test.sh | 7 TEST_MP="/mount" 19 mount -t ext2 ${TEST_DEV} ${TEST_MP} 56 mount -t ext2 ${TEST_DEV} ${TEST_MP}
|
/haiku/src/tests/add-ons/kernel/file_systems/fat/ |
H A D | fat_test.sh | 7 TEST_MP="/mount" 18 mount -t fat ${TEST_DEV} ${TEST_MP} 54 mount -t fat ${TEST_DEV} ${TEST_MP}
|
/haiku/3rdparty/mmu_man/scripts/ |
H A D | bootstrap-haiku.sh | 58 mount -ro "$PWD/haiku-nightly.image" "$LOOPVOL" || error "mount"
|