/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.h | 16 status_t dosfs_open(fs_volume *_vol, fs_vnode *_node, int omode, 25 int omode, int perms, void **cookie, ino_t *vnid);
|
H A D | file.cpp | 304 dosfs_open(fs_volume *_vol, fs_vnode *_node, int omode, void **_cookie) argument 314 DPRINTF(0, ("dosfs_open: vnode id %" B_PRIdINO ", omode %o\n", node->vnid, 315 omode)); 317 if (omode & O_CREAT) { 328 omode = (omode & ~O_RWMASK) | O_RDONLY; 331 if ((omode & O_TRUNC) && ((omode & O_RWMASK) == O_RDONLY)) { 336 if (omode & O_TRUNC) { 351 cookie->mode = omode; 513 dosfs_create(fs_volume *_vol, fs_vnode *_dir, const char *name, int omode, int perms, void **_cookie, ino_t *vnid) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.h | 106 int omode; member in struct:fs_file_cookie
|
H A D | websearchfs.c | 61 static int websearchfs_create_gen(fs_volume *_volume, fs_node *dir, const char *name, int omode, int perms, ino_t *vnid, fs_node **node, struct attr_entry *iattrs, bool mkdir, bool uniq); 373 c->omode = O_RDONLY; 528 static status_t websearchfs_open(fs_volume *_volume, fs_vnode *_node, int omode, void **cookie) argument 535 TRACE("open(%" B_PRId32 ", %" B_PRId64 ", 0x%x)\n", ns->nsid, node->vnid, omode); 557 fc->omode = omode; 679 static int websearchfs_create_gen(fs_volume *_volume, fs_node *dir, const char *name, int omode, int perms, ino_t *vnid, fs_node **node, struct attr_entry *iattrs, bool mkdir, bool uniq) argument 687 TRACE("create_gen(%" B_PRId32 ", %" B_PRId64 ", '%s', 0x%08x, %c, %c)\n", ns->nsid, dir->vnid, name, omode, mkdir?'t':'f', uniq?'t':'f'); 700 if (n && (omode & O_EXCL) && !uniq) /* already existing entry in there! */ 783 static status_t websearchfs_create(fs_volume *_volume, fs_vnode *_dir, const char *name, int omode, in argument 1017 websearchfs_open_attr_h(fs_volume *_volume, fs_vnode *_node, const char *name, int omode, void **cookie) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDeviceEngine.cpp | 59 int omode, v; local 66 omode = O_RDONLY; 71 omode = O_WRONLY; 76 omode = O_RDWR; 82 omode |= O_EXCL; 86 fFD = open(fAudioInfo.devnode, omode);
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.h | 73 int omode; member in struct:fs_file_cookie
|
H A D | nfs_add_on.c | 1441 fs_open(fs_volume *_volume, fs_vnode *_node, int omode, void **_cookie) argument 1466 (*cookie)->omode = omode; 1481 if ((cookie->omode & O_RDWR)||(cookie->omode & O_WRONLY)) 1592 if (cookie->omode & O_APPEND) 1720 fs_create(fs_volume *_volume, fs_vnode *_dir, const char *name, int omode, argument 1757 if (omode & O_EXCL) 1760 if (omode & O_TRUNC) 1770 (*cookie)->omode [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_interface.h | 94 int omode, int perms, ino_t *vnid, void **cookie); 113 typedef int beos_op_open(void *ns, void *node, int omode, void **cookie);
|
/haiku/headers/private/userlandfs/legacy/ |
H A D | fsproto.h | 80 int omode, int perms, vnode_id *vnid, void **cookie); 99 typedef int op_open(void *ns, void *node, int omode, void **cookie);
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 244 int oflags = 0, omode; local 259 omode = O_RDONLY; 263 omode = O_WRONLY; 268 omode = O_WRONLY; 286 omode = O_RDWR; 318 result = _IO_file_open (fp, filename, omode|oflags, oprot, read_write,
|
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 590 rootfs_create(fs_volume* _volume, fs_vnode* _dir, const char* name, int omode, argument
|