Searched refs:openMode (Results 1 - 25 of 173) sorted by path

1234567

/haiku/headers/build/os/kernel/
H A Dfs_attr.h33 uint32 type, int openMode);
35 int openMode);
/haiku/headers/os/kernel/
H A Dfs_attr.h32 uint32 type, int openMode);
34 int openMode);
/haiku/headers/os/media/
H A DSoundFile.h27 uint32 openMode);
32 status_t SetTo(const entry_ref* ref, uint32 openMode);
/haiku/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/headers/private/fs_shell/
H A Dfssh_fs_attr.h35 //extern int fssh_fs_open_attr(const char *path, const char *attribute, uint32_t type, int openMode);
37 uint32_t type, int openMode);
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dbus_raw.cpp59 scsi_bus_raw_open(void *bus, const char *path, int openMode, argument
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.h27 status_t CheckAccess(const char* name, int openMode);
33 int openMode, attr_cookie** _cookie);
34 status_t Open(const char* name, int openMode,
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.cpp50 Attribute::CheckAccess(const char* name, int openMode) argument
52 return fInode->CheckPermissions(open_mode_to_access(openMode)
53 | (openMode & O_TRUNC ? W_OK : 0));
58 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie) argument
61 status_t status = CheckAccess(name, openMode);
77 cookie->open_mode = openMode;
H A DUtility.h57 open_mode_to_access(int openMode) argument
59 openMode &= O_RWMASK;
60 if (openMode == O_RDONLY)
62 if (openMode == O_WRONLY)
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.cpp65 Attribute::CheckAccess(const char* name, int openMode) argument
67 return fInode->CheckPermissions(open_mode_to_access(openMode)
68 | (openMode & O_TRUNC ? W_OK : 0));
115 Attribute::Create(const char* name, type_code type, int openMode, argument
118 status_t status = CheckAccess(name, openMode);
131 cookie->open_mode = openMode;
136 if ((openMode & O_TRUNC) != 0)
145 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie) argument
148 status_t status = CheckAccess(name, openMode);
162 cookie->open_mode = openMode;
[all...]
H A DAttribute.h29 status_t CheckAccess(const char* name, int openMode);
37 int openMode, attr_cookie** _cookie);
38 status_t Open(const char* name, int openMode,
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/
H A Dlog_overlay.cpp372 int openMode, int perms, void **cookie, ino_t *newVnodeID)
374 DO_LOG("create name: \"%s\"; open_mode: %#x; perms: %#x\n", name, openMode,
376 OVERLAY_CALL(create, name, openMode, perms, cookie, newVnodeID)
384 overlay_open(fs_volume *volume, fs_vnode *vnode, int openMode, void **cookie) argument
386 DO_LOG("open open_mode: %#x\n", openMode);
387 OVERLAY_CALL(open, openMode, cookie)
569 uint32 type, int openMode, void **cookie)
572 name, type, openMode);
573 OVERLAY_CALL(create_attr, name, type, openMode, cookie)
581 int openMode, voi
371 overlay_create(fs_volume *volume, fs_vnode *vnode, const char *name, int openMode, int perms, void **cookie, ino_t *newVnodeID) argument
568 overlay_create_attr(fs_volume *volume, fs_vnode *vnode, const char *name, uint32 type, int openMode, void **cookie) argument
580 overlay_open_attr(fs_volume *volume, fs_vnode *vnode, const char *name, int openMode, void **cookie) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/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.h76 int openMode, int mode, vnode_id* vnid,
78 virtual status_t Open(Node* node, int openMode,
H A DVirtualVolume.cpp385 VirtualVolume::Create(Node* dir, const char* name, int openMode, int mode, argument
393 VirtualVolume::Open(Node* node, int openMode, void** cookie) argument
399 if ((openMode & O_RWMASK) == O_WRONLY)
401 if (openMode & O_TRUNC)
403 if ((openMode & O_RWMASK) == O_RDWR)
404 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.cpp286 Volume::Create(Node* dir, const char* name, int openMode, int mode, argument
294 Volume::Open(Node* node, int openMode, void** cookie) argument
H A DVolume.h86 int openMode, int mode, vnode_id* vnid,
88 virtual status_t Open(Node* node, int openMode,
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequests.h448 visitor->Visit(this, openMode);
454 int32 openMode; member in struct:CreateFileRequest
483 visitor->Visit(this, openMode);
487 int32 openMode; member in struct:OpenRequest
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientVolume.cpp393 ClientVolume::Open(Node* node, int openMode, FileHandle** _handle) argument
400 status_t error = node->Open(openMode, &handle);
H A DClientVolume.h80 status_t Open(Node* node, int openMode,
H A DFDManager.cpp131 FDManager::SetFile(BFile* file, const char* path, uint32 openMode) argument
133 status_t error = file->SetTo(path, openMode);
137 error = file->SetTo(path, openMode);
159 FDManager::Open(const char* path, uint32 openMode, mode_t mode, int& fd) argument
162 fd = open(path, openMode, mode);
170 fd = open(path, openMode, mode);
H A DFDManager.h32 uint32 openMode);
35 static status_t Open(const char* path, uint32 openMode,
H A DNode.cpp194 Node::Open(int openMode, FileHandle** _fileHandle) argument
206 status_t error = fileHandle->Open(this, openMode);
H A DNode.h50 status_t Open(int openMode, FileHandle** fileHandle);

Completed in 174 milliseconds

1234567