/haiku-fatelf/src/system/kernel/fs/ |
H A D | vfs.cpp | 345 static int open_vnode(struct vnode* vnode, int openMode, bool kernel); 2796 void* cookie, int openMode, bool kernel) 2845 descriptor->open_mode = openMode; 2855 fd_set_close_on_exec(context, fd, (openMode & O_CLOEXEC) != 0); 4120 vfs_open_vnode(struct vnode* vnode, int openMode, bool kernel) argument 4122 return open_vnode(vnode, openMode, kernel); 5182 open_vnode(struct vnode* vnode, int openMode, bool kernel) argument 5185 status_t status = FS_CALL(vnode, open, openMode, &cookie); 5189 int fd = get_new_fd(FDTYPE_FILE, NULL, vnode, cookie, openMode, kernel); 5203 create_vnode(struct vnode* directory, const char* name, int openMode, argument 2795 get_new_fd(int type, struct fs_mount* mount, struct vnode* vnode, void* cookie, int openMode, bool kernel) argument 5361 file_create_entry_ref(dev_t mountID, ino_t directoryID, const char* name, int openMode, int perms, bool kernel) argument 5381 file_create(int fd, char* path, int openMode, int perms, bool kernel) argument 5402 file_open_entry_ref(dev_t mountID, ino_t directoryID, const char* name, int openMode, bool kernel) argument 5438 file_open(int fd, char* path, int openMode, bool kernel) argument 6488 attr_create(int fd, char* path, const char* name, uint32 type, int openMode, bool kernel) argument 6535 attr_open(int fd, char* path, const char* name, int openMode, bool kernel) argument 7998 _kern_open_entry_ref(dev_t device, ino_t inode, const char* name, int openMode, int perms) argument 8025 _kern_open(int fd, const char* path, int openMode, int perms) argument 8432 _kern_open_attr(int fd, const char* path, const char* name, uint32 type, int openMode) argument 8765 _user_open_entry_ref(dev_t device, ino_t inode, const char* userName, int openMode, int perms) argument 8786 _user_open(int fd, const char* userPath, int openMode, int perms) argument 9480 _user_open_attr(int fd, const char* userPath, const char* userName, uint32 type, int openMode) argument [all...] |
/haiku-fatelf/src/kits/storage/ |
H A D | File.cpp | 44 BFile::BFile(const entry_ref* ref, uint32 openMode) argument 48 SetTo(ref, openMode); 54 BFile::BFile(const BEntry* entry, uint32 openMode) argument 58 SetTo(entry, openMode); 64 BFile::BFile(const char* path, uint32 openMode) argument 68 SetTo(path, openMode); 75 BFile::BFile(const BDirectory *dir, const char* path, uint32 openMode) argument 79 SetTo(dir, path, openMode); 98 BFile::SetTo(const entry_ref* ref, uint32 openMode) argument 107 return SetTo(ref->name, openMode); 127 SetTo(const BEntry* entry, uint32 openMode) argument 154 SetTo(const char* path, uint32 openMode) argument 179 SetTo(const BDirectory* dir, const char* path, uint32 openMode) argument [all...] |
/haiku-fatelf/src/system/kernel/vm/ |
H A D | vm.cpp | 1890 int32 openMode = descriptor->open_mode; 1895 if ((openMode & O_ACCMODE) == O_WRONLY 1898 && (openMode & O_ACCMODE) == O_RDONLY)) {
|
/haiku-fatelf/src/apps/terminal/ |
H A D | TermWindow.cpp | 523 TermWindow::_GetWindowPositionFile(BFile* file, uint32 openMode) argument 538 return file->SetTo(path.Path(), openMode);
|
H A D | TermWindow.h | 144 uint32 openMode);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 22 int openMode, uint32 type) 29 fOpenMode(openMode), 2572 int32 mode, int openMode, uint32 type, bool* _created, ino_t* _id, 2606 if (S_ISDIR(mode) || S_ISLNK(mode) || (openMode & O_EXCL) != 0) 2617 if (inode->IsDirectory() && (openMode & O_RWMASK) != O_RDONLY) 2619 if ((openMode & O_DIRECTORY) != 0 && !inode->IsDirectory()) 2623 if (inode->CheckPermissions(open_mode_to_access(openMode) 2624 | ((openMode & O_TRUNC) != 0 ? W_OK : 0)) != B_OK) 2627 if ((openMode & O_TRUNC) != 0) { 2655 } else if ((openMode 21 Create(Inode* inode, Inode* parent, const char* name, int32 mode, int openMode, uint32 type) argument 2571 Create(Transaction& transaction, Inode* parent, const char* name, int32 mode, int openMode, uint32 type, bool* _created, ino_t* _id, Inode** _inode, fs_vnode_ops* vnodeOps, uint32 publishFlags) argument [all...] |
/haiku-fatelf/headers/os/storage/ |
H A D | File.h | 21 BFile(const entry_ref *ref, uint32 openMode); 22 BFile(const BEntry *entry, uint32 openMode); 23 BFile(const char *path, uint32 openMode); 24 BFile(const BDirectory *dir, const char *path, uint32 openMode); 27 status_t SetTo(const entry_ref *ref, uint32 openMode); 28 status_t SetTo(const BEntry *entry, uint32 openMode); 29 status_t SetTo(const char *path, uint32 openMode); 30 status_t SetTo(const BDirectory *dir, const char *path, uint32 openMode);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | kernel.c | 1104 int openMode, int coe) 1123 err = (*opo)(vn->ns->data, vn->data, openMode, &cookie); 1143 f->omode = openMode; 1103 sys_open_entry_ref(int kernel, nspace_id device, vnode_id parent, const char *name, int openMode, int coe) argument
|
H A D | kprotos.h | 19 const char *name, int openMode, int coe);
|
H A D | xcp.cpp | 96 virtual status_t Open(const char *path, int openMode, Node *&node) = 0; 322 virtual status_t Open(const char *path, int openMode, Node *&_node) argument 325 int fd = open(path, to_platform_open_mode(openMode)); 652 virtual status_t Open(const char *path, int openMode, Node *&_node) argument 655 int fd = sys_open(true, -1, path, openMode, 0, true);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/private/ |
H A D | Requests.h | 481 int openMode; member in class:UserlandFSUtil::CreateRequest 499 int openMode; member in class:UserlandFSUtil::OpenRequest
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/ |
H A D | Volume.cpp | 551 Volume::Create(void* dir, const char* name, int openMode, int mode, argument 568 request->openMode = openMode; 592 Volume::Open(void* node, int openMode, void** cookie) argument 608 request->openMode = openMode;
|
H A D | Volume.h | 68 int openMode, int mode, vnode_id* vnid, 70 status_t Open(void* node, int openMode, void** cookie);
|
H A D | kernel_interface.cpp | 61 int openMode, int mode, vnode_id *vnid, void **cookie); 62 static int userlandfs_open(void *ns, void *node, int openMode, void **cookie); 501 userlandfs_create(void *ns, void *dir, const char *name, int openMode, int mode, argument 506 name, openMode, mode, vnid, cookie)); 507 status_t error = volume->Create(dir, name, openMode, mode, vnid, cookie); 516 userlandfs_open(void *ns, void *node, int openMode, void **cookie) argument 519 PRINT(("userlandfs_open(%p, %p, %d)\n", ns, node, openMode)); 520 status_t error = volume->Open(node, openMode, cookie);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/server/ |
H A D | KernelUserVolume.cpp | 143 KernelUserVolume::Create(void* dir, const char* name, int openMode, int mode, argument 148 return fFSOps->create(fVolumeCookie, dir, name, openMode, mode, vnid, 154 KernelUserVolume::Open(void* node, int openMode, void** cookie) argument 158 return fFSOps->open(fVolumeCookie, node, openMode, cookie);
|
H A D | KernelUserVolume.h | 42 int openMode, int mode, vnode_id* vnid, 44 virtual status_t Open(void* node, int openMode, void** cookie);
|
H A D | UserVolume.cpp | 130 UserVolume::Create(void* dir, const char* name, int openMode, int mode, argument 138 UserVolume::Open(void* node, int openMode, void** cookie) argument
|
H A D | UserVolume.h | 46 int openMode, int mode, vnode_id* vnid, 48 virtual status_t Open(void* node, int openMode, void** cookie);
|
H A D | UserlandRequestHandler.cpp | 537 (const char*)request->name.GetData(), request->openMode, 565 result = volume->Open(request->node, request->openMode, &fileCookie);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/ |
H A D | ShareVolume.cpp | 619 ShareVolume::Create(Node* _dir, const char* name, int openMode, int mode, argument 640 request.openMode = openMode; 702 ShareVolume::Open(Node* _node, int openMode, void** cookie) argument 712 if ((openMode & O_RWMASK) == O_WRONLY) 714 if (openMode & O_TRUNC) 716 if ((openMode & O_RWMASK) == O_RDWR) 717 openMode = openMode & ~O_RWMASK | O_RDONLY; 723 request.openMode [all...] |
H A D | ShareVolume.h | 75 int openMode, int mode, vnode_id* vnid, 77 virtual status_t Open(Node* node, int openMode,
|
H A D | VirtualVolume.cpp | 384 VirtualVolume::Create(Node* dir, const char* name, int openMode, int mode, argument 392 VirtualVolume::Open(Node* node, int openMode, void** cookie) argument 398 if ((openMode & O_RWMASK) == O_WRONLY) 400 if (openMode & O_TRUNC) 402 if ((openMode & O_RWMASK) == O_RDWR) 403 openMode = openMode & ~O_RWMASK | O_RDONLY;
|
H A D | VirtualVolume.h | 52 int openMode, int mode, vnode_id* vnid, 54 virtual status_t Open(Node* node, int openMode,
|
H A D | Volume.cpp | 281 Volume::Create(Node* dir, const char* name, int openMode, int mode, argument 289 Volume::Open(Node* node, int openMode, void** cookie) argument
|
H A D | Volume.h | 85 int openMode, int mode, vnode_id* vnid, 87 virtual status_t Open(Node* node, int openMode,
|