Searched refs:openMode (Results 1 - 25 of 183) sorted by last modified time

12345678

/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp345 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 DFile.cpp44 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 Dvm.cpp1890 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 DTermWindow.cpp523 TermWindow::_GetWindowPositionFile(BFile* file, uint32 openMode) argument
538 return file->SetTo(path.Path(), openMode);
H A DTermWindow.h144 uint32 openMode);
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DInode.cpp22 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 DFile.h21 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 Dkernel.c1104 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 Dkprotos.h19 const char *name, int openMode, int coe);
H A Dxcp.cpp96 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 DRequests.h481 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 DVolume.cpp551 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 DVolume.h68 int openMode, int mode, vnode_id* vnid,
70 status_t Open(void* node, int openMode, void** cookie);
H A Dkernel_interface.cpp61 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 DKernelUserVolume.cpp143 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 DKernelUserVolume.h42 int openMode, int mode, vnode_id* vnid,
44 virtual status_t Open(void* node, int openMode, void** cookie);
H A DUserVolume.cpp130 UserVolume::Create(void* dir, const char* name, int openMode, int mode, argument
138 UserVolume::Open(void* node, int openMode, void** cookie) argument
H A DUserVolume.h46 int openMode, int mode, vnode_id* vnid,
48 virtual status_t Open(void* node, int openMode, void** cookie);
H A DUserlandRequestHandler.cpp537 (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 DShareVolume.cpp619 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 DShareVolume.h75 int openMode, int mode, vnode_id* vnid,
77 virtual status_t Open(Node* node, int openMode,
H A DVirtualVolume.cpp384 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 DVirtualVolume.h52 int openMode, int mode, vnode_id* vnid,
54 virtual status_t Open(Node* node, int openMode,
H A DVolume.cpp281 Volume::Create(Node* dir, const char* name, int openMode, int mode, argument
289 Volume::Open(Node* node, int openMode, void** cookie) argument
H A DVolume.h85 int openMode, int mode, vnode_id* vnid,
87 virtual status_t Open(Node* node, int openMode,

Completed in 348 milliseconds

12345678