Searched refs:root_vnode (Results 1 - 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddosfs.cpp64 vol->root_sectors, &(vol->root_vnode));
260 vol->root_vnode.cluster = read32(buf, 0x2c);
261 if (vol->root_vnode.cluster >= vol->total_clusters) {
263 ")\n", vol->root_vnode.cluster);
315 vol->root_vnode.cluster = 1;
316 vol->root_vnode.end_cluster = 1;
317 vol->root_vnode.st_size = vol->root_sectors * vol->bytes_per_sector;
412 buffer = diri_init(vol, vol->root_vnode.cluster, 0, &diri);
424 DPRINTF(0, ("root vnode id = %" B_PRIdINO "\n", vol->root_vnode.vnid));
611 vol->root_vnode
[all...]
H A Ddir.cpp208 } while ((info.mode & FAT_VOLUME) && (dir->vnid == vol->root_vnode.vnid));
276 i = (dir->vnid == vol->root_vnode.vnid) ? 2 : 0;
362 if (strcmp(file,".") == 0 && dir->vnid == vol->root_vnode.vnid) {
365 } else if (strcmp(file, "..") == 0 && dir->vnid == vol->root_vnode.vnid) {
501 if (!(info.mode & FAT_VOLUME) || (dir->vnid != vol->root_vnode.vnid))
773 err = find_short_name(vol, &(vol->root_vnode), (uchar *)name);
779 return _create_dir_entry_(vol, &(vol->root_vnode), &info, name, NULL,
931 if (vnid == vol->root_vnode.vnid) {
933 _node->private_node = (void *)&(vol->root_vnode);
934 *_type = make_mode(vol, &vol->root_vnode);
[all...]
H A Ddosfs.h132 vnode root_vnode; // root directory member in struct:_nspace
H A Dfile.cpp54 if (willWrite && node->vnid != vol->root_vnode.vnid)
172 if (node->vnid != vol->root_vnode.vnid) {
753 if (dir->vnid != vol->root_vnode.vnid) {
864 if (vnid == vol->root_vnode.vnid)
993 if (ndir->vnid == vol->root_vnode.vnid) {
1135 if (file->vnid == vol->root_vnode.vnid) {
/haiku/src/tools/fs_shell/
H A Dvfs.cpp101 Note: The root_vnode and covers_vnode fields (what others?) are
119 struct vnode *root_vnode; member in struct:FSShell::fs_mount
450 if (mount->root_vnode == NULL) {
456 inc_vnode_ref_count(mount->root_vnode);
467 put_vnode(mount->root_vnode);
986 if (vnode == mount->root_vnode && mount->covers_vnode) {
1130 && vnode->mount->root_vnode == vnode
1356 if (vnode->mount->root_vnode == vnode && vnode->mount->covers_vnode != NULL) {
2468 struct vnode *vnode = mount->root_vnode;
3404 && parent->mount->root_vnode
[all...]
/haiku/src/system/kernel/fs/
H A Dvfs.cpp125 Note: The root_vnode and root_vnode->covers fields (what others?) are
130 while mounted the mount holds a reference to the root_vnode->covers vnode,
131 and thus making the access path vnode->mount->root_vnode->covers->mount->...
133 root_vnode->covers is NULL, though).
166 struct vnode* root_vnode; member in struct:fs_mount
727 struct vnode* rootNode = mount->root_vnode;
744 put_vnode(mount->root_vnode);
3009 kprintf(" root_vnode: %p\n", mount->root_vnode);
[all...]
H A Drootfs.cpp111 struct rootfs_vnode* root_vnode; member in struct:__anon39::rootfs
419 fs->root_vnode = vnode;
445 put_vnode(fs->volume, fs->root_vnode->id);
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp139 struct devfs_vnode* root_vnode; member in struct:__anon34::devfs
601 struct devfs_vnode* dir = fs->root_vnode;
666 struct devfs_vnode* dir = fs->root_vnode;
942 fs->root_vnode = vnode;
972 put_vnode(fs->volume, fs->root_vnode->id);

Completed in 107 milliseconds