/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | NodeAttribute.cpp | 134 NodeAttribute::Open(const char* name, int openMode, attr_cookie** _cookie) argument 151 cookie->open_mode = openMode;
|
H A D | LeafAttribute.cpp | 110 LeafAttribute::Open(const char* name, int openMode, attr_cookie** _cookie) argument 127 cookie->open_mode = openMode;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | kernel_interface.cpp | 762 nfs4_create(fs_volume* volume, fs_vnode* dir, const char* name, int openMode, argument 773 TRACE("volume = %p, dir = %" B_PRIi64 ", name = %s, openMode = %d," \ 774 " perms = %d\n", volume, vti->ID(), name, openMode, perms); 784 status_t result = inode->Create(name, openMode, perms, cookie, &data, 825 nfs4_open(fs_volume* volume, fs_vnode* vnode, int openMode, void** _cookie) argument 828 TRACE("volume = %p, vnode = %" B_PRIi64 ", openMode = %d\n", volume, 829 vti->ID(), openMode); 847 status_t result = inode->Open(openMode, cookie); 1157 uint32 type, int openMode, void** _cookie) 1172 status_t result = inode->OpenAttr(name, openMode, cooki 1156 nfs4_create_attr(fs_volume* volume, fs_vnode* vnode, const char* name, uint32 type, int openMode, void** _cookie) argument 1181 nfs4_open_attr(fs_volume* volume, fs_vnode* vnode, const char* name, int openMode, void** _cookie) argument [all...] |
/haiku/src/tools/fs_shell/ |
H A D | command_cp.cpp | 125 virtual fssh_status_t Open(const char *path, int openMode, Node *&node) = 0; 355 virtual fssh_status_t Open(const char *path, int openMode, Node *&_node) argument 358 int fd = fssh_open(path, openMode); 719 virtual fssh_status_t Open(const char *path, int openMode, Node *&_node) argument 722 int fd = _kern_open(-1, path, openMode, 0);
|
/haiku/src/add-ons/media/media-add-ons/ |
H A D | AbstractFileInterfaceNode.cpp | 358 uint32 openMode, 367 fCurrentFile = new BFile(&f_current_ref,(openMode|(create?B_CREATE_FILE:0))); 370 status = fCurrentFile->SetTo(&f_current_ref,(openMode|(create?B_CREATE_FILE:0))); 356 SetRef( const entry_ref & file, uint32 openMode, bool create, bigtime_t * out_time) argument
|
H A D | AbstractFileInterfaceNode.h | 140 uint32 openMode,
|
/haiku/src/kits/package/hpkg/ |
H A D | WriterImplBase.cpp | 270 int openMode = O_RDWR; local 272 openMode |= O_CREAT | O_TRUNC; 275 status_t error = newFile->SetTo(fileName, openMode);
|
/haiku/src/servers/print/ |
H A D | PrintServerApp.cpp | 552 uint32 openMode = forReading ? B_READ_ONLY : B_CREATE_FILE | B_ERASE_FILE local 556 && file.SetTo(path.Path(), openMode) == B_OK;
|
/haiku/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 169 FileDevice::Open(const char* path, int openMode, void** _cookie) argument 178 int fd = vfs_open_vnode(vnode, openMode, true);
|
/haiku/src/build/libroot/ |
H A D | fs_attr_untyped.cpp | 407 fs_fopen_attr(int fd, const char *attribute, uint32 type, int openMode) argument 415 attribute, type, openMode);
|
H A D | fs_attr_generic.cpp | 477 fs_fopen_attr(int fd, const char *attribute, uint32 type, int openMode) argument 498 int attrFD = open(attrPath.c_str(), openMode, S_IRWXU | S_IRWXG | S_IRWXO);
|
/haiku/src/add-ons/kernel/file_systems/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...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 22 int openMode, uint32 type) 29 fOpenMode(openMode), 2621 int32 mode, int openMode, uint32 type, bool* _created, ino_t* _id, 2655 if (S_ISDIR(mode) || S_ISLNK(mode) || (openMode & O_EXCL) != 0) 2666 if (inode->IsDirectory() && (openMode & O_RWMASK) != O_RDONLY) 2668 if ((openMode & O_DIRECTORY) != 0 && !inode->IsDirectory()) 2672 if (inode->CheckPermissions(open_mode_to_access(openMode) 2673 | ((openMode & O_TRUNC) != 0 ? W_OK : 0)) != B_OK) 2676 if ((openMode & O_TRUNC) != 0) { 2704 } else if ((openMode 21 Create(Inode* inode, Inode* parent, const char* name, int32 mode, int openMode, uint32 type) argument 2620 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/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 617 RawDeviceCookie(RawDevice* device, int openMode) 620 fOpenMode(openMode) 809 checksum_control_device_open(void* deviceCookie, const char* path, int openMode, 976 checksum_raw_device_open(void* deviceCookie, const char* path, int openMode, 982 openMode);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Inode.h | 104 const char* name, int32 mode, int openMode,
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/ |
H A D | Driver.cpp | 80 usb_ecm_open(void* _info, const char* path, int openMode, void** _cookie) argument
|
/haiku/src/apps/terminal/ |
H A D | TermWindow.h | 148 uint32 openMode);
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 85 nor_open(void *deviceCookie, const char *path, int openMode, argument
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 783 int openMode = request->openMode; local 801 openMode | O_CREAT | O_NOTRAVERSE, request->mode, fd); 827 openMode &= ~(O_CREAT | O_EXCL | O_TRUNC); 828 result = volume->Open(entry->GetNode(), openMode, &handle); 878 int openMode = request->openMode; local 881 if ((openMode & O_RWMASK) == O_RDWR) { 885 openMode = (openMode [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 177 FileCookie(int openMode) argument 179 flags = openMode; 1633 FUSEVolume::Create(void* _dir, const char* name, int openMode, int mode, argument 1638 dir->id, name, openMode, mode)); 1646 FileCookie* cookie = new(std::nothrow) FileCookie(openMode); 1720 FUSEVolume::Open(void* _node, int openMode, void** _cookie) argument 1724 openMode)); 1731 bool truncate = (openMode & O_TRUNC) != 0; 1732 openMode &= ~O_TRUNC; 1735 FileCookie* cookie = new(std::nothrow) FileCookie(openMode); 2485 OpenAttr(void* _node, const char* name, int openMode, void** _cookie) argument [all...] |
/haiku/src/tests/add-ons/kernel/partitioning_systems/ |
H A D | PartitioningSystemsTest.cpp | 256 open_partition(partition_id partitionID, int openMode) argument
|
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 598 rootfs_open(fs_volume* _volume, fs_vnode* _v, int openMode, void** _cookie) argument 602 if (S_ISDIR(vnode->stream.type) && (openMode & O_RWMASK) != O_RDONLY) 604 if ((openMode & O_DIRECTORY) != 0 && !S_ISDIR(vnode->stream.type)) 607 status_t status = rootfs_check_permissions(vnode, open_mode_to_access(openMode));
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | Volume.cpp | 2004 Volume::Create(void* _dir, const char* name, int openMode, int mode, argument 2030 request->openMode = openMode; 2058 Volume::Open(void* _node, int openMode, void** cookie) argument 2081 request->openMode = openMode; 2706 Volume::CreateAttr(void* _node, const char* name, uint32 type, int openMode, argument 2733 request->openMode = openMode; 2755 Volume::OpenAttr(void* _node, const char* name, int openMode, argument [all...] |
/haiku/headers/private/system/ |
H A D | syscalls.h | 270 const char *name, int openMode, int perms); 271 extern int _kern_open(int fd, const char *path, int openMode, 314 uint32 type, int openMode);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/ |
H A D | ram_disk.cpp | 948 RawDeviceCookie(RawDevice* device, int openMode) argument 951 fOpenMode(openMode) 1226 ram_disk_control_device_open(void* deviceCookie, const char* path, int openMode, argument 1308 ram_disk_raw_device_open(void* deviceCookie, const char* path, int openMode, argument 1314 openMode);
|