Home
last modified time | relevance | path

Searched refs:KPath (Results 1 – 25 of 38) sorted by relevance

12

/haiku/src/tools/fs_shell/
H A DKPath.cpp21 KPath::KPath(fssh_size_t bufferSize) in KPath() function in KPath
32 KPath::KPath(const char* path, bool normalize, fssh_size_t bufferSize) in KPath() function in KPath
43 KPath::KPath(const KPath& other) in KPath() function in KPath
54 KPath::~KPath() in ~KPath()
61 KPath::SetTo(const char* path, bool normalize, fssh_size_t bufferSize) in SetTo()
89 KPath::InitCheck() const in InitCheck()
96 KPath::SetPath(const char *path, bool normalize) in SetPath()
130 KPath::Path() const in Path()
137 KPath::LockBuffer() in LockBuffer()
148 KPath::UnlockBuffer() in UnlockBuffer()
[all …]
H A Dvfs.cpp1444 KPath pathBuffer; in dir_vnode_to_path()
2354 KPath pathBuffer(FSSH_B_PATH_NAME_LENGTH + 1); in vfs_get_vnode_from_path()
2456 KPath pathBuffer(FSSH_B_PATH_NAME_LENGTH + 1); in vfs_get_fs_node_from_path()
2617 KPath mutablePathBuffer(FSSH_B_PATH_NAME_LENGTH + 1); in vfs_normalize_path()
4578 KPath normalizedDevice; in fs_mount()
5085 KPath pathBuffer(path, false, FSSH_B_PATH_NAME_LENGTH + 1); in _kern_mount()
5096 KPath pathBuffer(path, false, FSSH_B_PATH_NAME_LENGTH + 1); in _kern_unmount()
5176 KPath pathBuffer(path, false, FSSH_B_PATH_NAME_LENGTH + 1); in _kern_open()
5230 KPath pathBuffer(path, false, FSSH_B_PATH_NAME_LENGTH + 1); in _kern_open_dir()
5291 KPath pathBuffer(path, false, FSSH_B_PATH_NAME_LENGTH + 1); in _kern_create_dir()
[all …]
H A DJamfile46 KPath.cpp
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A DKPath.cpp25 KPath::KPath(size_t bufferSize) in KPath() function in KPath
39 KPath::KPath(const char* path, int32 flags, size_t bufferSize) in KPath() function in KPath
53 KPath::KPath(const KPath& other) in KPath() function in KPath
67 KPath::~KPath() in ~KPath()
74 KPath::SetTo(const char* path, int32 flags, size_t bufferSize) in SetTo()
103 KPath::Adopt(KPath& other) in Adopt()
124 KPath::InitCheck() const in InitCheck()
140 KPath::SetPath(const char* path, int32 flags) in SetPath()
186 KPath::Path() const in Path()
198 KPath::LockBuffer(bool force) in LockBuffer()
[all …]
H A DJamfile12 KPath.cpp
/haiku/src/system/kernel/fs/
H A DKPath.cpp31 KPath::KPath(size_t bufferSize) in KPath() function in KPath
45 KPath::KPath(const char* path, int32 flags, size_t bufferSize) in KPath() function in KPath
59 KPath::KPath(const KPath& other) in KPath() function in KPath
73 KPath::~KPath() in ~KPath()
80 KPath::SetTo(const char* path, int32 flags, size_t bufferSize) in SetTo()
108 KPath::Adopt(KPath& other) in Adopt()
129 KPath::InitCheck() const in InitCheck()
145 KPath::SetPath(const char* path, int32 flags) in SetPath()
191 KPath::Path() const in Path()
203 KPath::LockBuffer(bool force) in LockBuffer()
[all …]
H A DJamfile14 KPath.cpp
H A Dvfs.cpp4192 KPath pathBuffer; in vfs_get_vnode_from_path()
4292 KPath pathBuffer; in vfs_get_fs_node_from_path()
4340 KPath pathBuffer(path); in vfs_read_stat()
4529 KPath tmpPathBuffer; in vfs_create_special_node()
7423 KPath normalizedDevice; in fs_mount()
8209 KPath pathBuffer(path); in _kern_mount()
8220 KPath pathBuffer(path); in _kern_unmount()
8348 KPath pathBuffer(path, KPath::LAZY_ALLOC); in _kern_open()
8400 KPath pathBuffer(path, KPath::LAZY_ALLOC); in _kern_open_dir()
8468 KPath pathBuffer(path, KPath::DEFAULT); in _kern_create_dir()
[all …]
H A Dvfs_net_boot.cpp104 KPath path; in Init()
115 void _ScanDevices(KPath& path) in _ScanDevices()
/haiku/headers/private/fs_shell/
H A DKPath.h15 class KPath {
17 KPath(fssh_size_t bufferSize = FSSH_B_PATH_NAME_LENGTH);
18 KPath(const char* path, bool normalize = false,
20 KPath(const KPath& other);
21 ~KPath();
41 KPath& operator=(const KPath& other);
42 KPath& operator=(const char* path);
44 bool operator==(const KPath& other) const;
46 bool operator!=(const KPath& other) const;
60 using FSShell::KPath;
/haiku/headers/private/kernel/fs/
H A DKPath.h17 class KPath {
27 KPath(size_t bufferSize = B_PATH_NAME_LENGTH);
28 KPath(const char* path, int32 flags = DEFAULT,
30 KPath(const KPath& other);
31 ~KPath();
35 void Adopt(KPath& other);
61 KPath& operator=(const KPath& other);
62 KPath& operator=(const char* path);
64 bool operator==(const KPath& other) const;
66 bool operator!=(const KPath& other) const;
[all …]
/haiku/src/tests/system/kernel/fs/
H A DKPathTest.cpp92 KPath path; in TestSetToAndPath()
119 status = path.SetTo(NULL, KPath::DEFAULT, SIZE_MAX); in TestSetToAndPath()
127 KPath path(NULL, KPath::LAZY_ALLOC); in TestLazyAlloc()
139 KPath second("yo", KPath::LAZY_ALLOC); in TestLazyAlloc()
145 status_t status = path.SetTo(NULL, KPath::LAZY_ALLOC, SIZE_MAX); in TestLazyAlloc()
156 KPath path("a"); in TestLeaf()
185 KPath path; in TestReplaceLeaf()
212 KPath path; in TestRemoveLeaf()
248 KPath one("first", false, 10); in TestAdopt()
252 KPath two("second", false, 20); in TestAdopt()
[all …]
H A DJamfile11 KPath.cpp
18 KPath.cpp
/haiku/src/tests/system/kernel/disk_device_manager/
H A DKPartitionTest.cpp69 KPath path; in TestPartitionWithoutFilesystemReturnsBadValue()
84 KPath path; in TestPartitionContentNameUsedFirst()
100 KPath path; in TestPartitionNameUsedSecond()
116 KPath path; in TestPartitionWithoutAnyNameIsNotRoot()
132 KPath path; in TestPartitionNameWithSlashesRemoved()
148 KPath path; in TestPartitionMountPointExists()
H A DJamfile39 KPath.cpp
/haiku/src/system/kernel/disk_device_manager/
H A DKFileDiskDevice.cpp51 KPath tmpFilePath; in SetTo()
52 status_t error = tmpFilePath.SetTo(filePath, KPath::NORMALIZE); in SetTo()
62 KPath tmpDevicePath; in SetTo()
198 KFileDiskDevice::_GetDirectoryPath(partition_id id, KPath* path) in _GetDirectoryPath()
H A DKDiskDeviceManager.cpp205 KPath path; in _HandleDeviceEvent()
430 KPath partitionPath; in FindPartition()
754 KPath normalizedFilePath; in CreateFileDevice()
755 status_t error = normalizedFilePath.SetTo(filePath, KPath::NORMALIZE); in CreateFileDevice()
1053 KPath name; in _RescanDiskSystems()
1275 KPath entryPath; in _Scan()
1382 KPath partitionPath; in _ScanPartition()
1497 KPath entryPath; in _AddRemoveMonitoring()
/haiku/headers/private/kernel/disk_device_manager/
H A DKFileDiskDevice.h13 class KPath; variable
34 static status_t _GetDirectoryPath(partition_id id, KPath *path);
H A DKPartition.h25 class KPath; variable
115 virtual status_t GetPath(KPath *path) const;
118 status_t GetMountPoint(KPath* mountPoint) const;
H A DKDiskDevice.h68 virtual status_t GetPath(KPath *path) const;
/haiku/src/system/kernel/device_manager/
H A Dlegacy_drivers.cpp190 status_t GetNext(KPath &path, struct stat &stat);
197 Stack<KPath*> fPaths;
200 KPath* fBasePath;
530 KPath pathBuffer; in get_priority()
945 KPath pathBuffer; in SetTo()
964 DirectoryIterator::GetNext(KPath& path, struct stat& stat) in GetNext()
999 KPath* nextPath = new(nothrow) KPath(path); in GetNext()
1023 KPath* path; in Unset()
1032 KPath* path = new(nothrow) KPath(basePath); in AddPath()
1082 KPath path(B_PATH_NAME_LENGTH + 1); in EventOccurred()
[all …]
H A Ddevice_manager.cpp166 status_t _AddPath(Stack<KPath*>& stack, const char* path,
168 status_t _GetNextDriverPath(void*& cookie, KPath& _path);
310 KPath path("drivers"); in publish_directories()
1524 device_node::_AddPath(Stack<KPath*>& stack, const char* basePath, in _AddPath()
1527 KPath* path = new(std::nothrow) KPath; in _AddPath()
1547 device_node::_GetNextDriverPath(void*& cookie, KPath& _path) in _GetNextDriverPath()
1549 Stack<KPath*>* stack = NULL; in _GetNextDriverPath()
1553 stack = new(std::nothrow) Stack<KPath*>(); in _GetNextDriverPath()
1557 StackDeleter<KPath*> stackDeleter(stack); in _GetNextDriverPath()
1699 stack = static_cast<Stack<KPath*>*>(cookie); in _GetNextDriverPath()
[all …]
/haiku/src/tests/system/kernel/vm/
H A DJamfile17 KPath.cpp
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.cpp150 status_t _AddPath(Stack<KPath*>& stack, const char* path,
152 status_t _GetNextDriverPath(void*& cookie, KPath& _path);
1235 device_node::_AddPath(Stack<KPath*>& stack, const char* basePath, in _AddPath()
1238 KPath* path = new(std::nothrow) KPath; in _AddPath()
1256 device_node::_GetNextDriverPath(void*& cookie, KPath& _path) in _GetNextDriverPath()
1258 Stack<KPath*>* stack = NULL; in _GetNextDriverPath()
1262 stack = new(std::nothrow) Stack<KPath*>(); in _GetNextDriverPath()
1266 StackDeleter<KPath*> stackDeleter(stack); in _GetNextDriverPath()
1338 stack = static_cast<Stack<KPath*>*>(cookie); in _GetNextDriverPath()
1340 KPath* path; in _GetNextDriverPath()
[all …]
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.cpp122 KPath normalizedPath; in _Init()

12