Searched refs:omode (Results 1 - 25 of 44) sorted by relevance

12

/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/
H A Dntfs.h90 int omode; member in struct:filecookie
95 int omode; member in struct:attrcookie
H A Dfs_func.h69 int omode, int perms, void **_cookie, ino_t *_vnid);
86 status_t fs_open(fs_volume *volume, fs_vnode *vnode, int omode,
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Dfile.h12 int dosfs_open(void *_vol, void *_node, int omode, void **cookie);
20 int perms, int omode, vnode_id *vnid, void **cookie);
H A Dfile.c252 int dosfs_open(void *_vol, void *_node, int omode, void **_cookie) argument
269 DPRINTF(0, ("dosfs_open: vnode id %Lx, omode %x\n", node->vnid, omode));
271 if (omode & O_CREAT) {
283 omode = (omode & ~O_RWMASK) | O_RDONLY;
286 if ((omode & O_TRUNC) && ((omode & O_RWMASK) == O_RDONLY)) {
292 if (omode & O_TRUNC) {
309 cookie->mode = omode;
710 dosfs_create(void *_vol, void *_dir, const char *name, int omode, int perms, vnode_id *vnid, void **_cookie) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Dfile.h16 status_t dosfs_open(fs_volume *_vol, fs_vnode *_node, int omode,
25 int omode, int perms, void **cookie, ino_t *vnid);
H A Dfile.c271 dosfs_open(fs_volume *_vol, fs_vnode *_node, int omode, void **_cookie) argument
282 DPRINTF(0, ("dosfs_open: vnode id %Lx, omode %x\n", node->vnid, omode));
284 if (omode & O_CREAT) {
296 omode = (omode & ~O_RWMASK) | O_RDONLY;
299 if ((omode & O_TRUNC) && ((omode & O_RWMASK) == O_RDONLY)) {
305 if (omode & O_TRUNC) {
321 cookie->mode = omode;
716 dosfs_create(fs_volume *_vol, fs_vnode *_dir, const char *name, int omode, int perms, void **_cookie, ino_t *vnid) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dgooglefs.h110 int omode; member in struct:fs_file_cookie
H A Dgooglefs.c59 static int googlefs_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);
376 c->omode = O_RDONLY;
516 int googlefs_open(fs_volume *_volume, fs_vnode *_node, int omode, fs_file_cookie **cookie) argument
523 TRACE((PFS"open(%ld, %Ld, 0x%x)\n", ns->nsid, node->vnid, omode));
545 fc->omode = omode;
665 static int googlefs_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
673 TRACE((PFS"create_gen(%ld, %Ld, '%s', 0x%08lx, %c, %c)\n", ns->nsid, dir->vnid, name, omode, mkdir?'t':'f', uniq?'t':'f'));
686 if (n && (omode & O_EXCL) && !uniq) /* already existing entry in there! */
769 int googlefs_create(fs_volume *_volume, fs_vnode *_dir, const char *name, int omode, in argument
1080 googlefs_open_attr_h(fs_volume *_volume, fs_vnode *_node, const char *name, int omode, fs_file_cookie **cookie) argument
[all...]
H A Dfsproto.h76 int omode, int perms, ino_t *vnid, void **cookie);
95 typedef int op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/bin/coreutils/src/
H A Dtruncate.c257 mode_t omode; local
372 omode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
376 if ((fd = open (fname, oflags, omode)) == -1)
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/
H A DbtAddOn.h52 int omode; member in struct:fs_file_cookie
80 int fs_open(fs_nspace *ns, fs_node *node, int omode, fs_file_cookie **cookie);
92 int omode, int perms, vnode_id *vnid, fs_file_cookie **cookie);
H A Dfsproto.h73 int omode, int perms, vnode_id *vnid, void **cookie);
92 typedef int op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/bt_fs/
H A Dnfs_add_on.c767 extern int fs_open(fs_nspace *ns, fs_node *node, int omode, fs_file_cookie **cookie) argument
783 (*cookie)->omode = omode;
795 if (cookie && (cookie->omode & O_RDWR || cookie->omode & O_WRONLY))
840 if (cookie->omode & O_APPEND)
867 extern int fs_create(fs_nspace *ns, fs_node *dir, const char *name, int omode, int perms, vnode_id *vnid, argument
888 if (omode & O_EXCL)
891 if (omode & O_TRUNC)
896 (*cookie)->omode
[all...]
H A Dnfs_add_on.h75 int omode; member in struct:fs_file_cookie
103 int fs_open(fs_nspace *ns, fs_node *node, int omode, fs_file_cookie **cookie);
115 int omode, int perms, vnode_id *vnid, fs_file_cookie **cookie);
H A Dfsproto.h73 int omode, int perms, vnode_id *vnid, void **cookie);
92 typedef int op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DInode.h168 int32 mode, int omode, uint32 type, off_t *_id = NULL, Inode **_inode = NULL);
385 /** Converts the "omode", the open flags given to bfs_open(), into
391 oModeToAccess(int omode) argument
393 omode &= O_RWMASK;
394 if (omode == O_RDONLY)
396 else if (omode == O_WRONLY)
H A Dkernel_interface_r5.cpp74 int perms, int omode, vnode_id *vnid, void **cookie);
84 static int bfs_open(void *_ns, void *_node, int omode, void **cookie);
996 bfs_create(void *_ns, void *_directory, const char *name, int omode, int mode, argument
999 FUNCTION_START(("name = \"%s\", perms = %d, omode = %d\n", name, mode, omode));
1022 cookie->open_mode = omode;
1032 omode, 0, vnodeID);
1334 bfs_open(void *_ns, void *_node, int omode, void **_cookie) argument
1349 if (inode->IsDirectory() && omode & O_RWMASK) {
1350 omode
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceEngine.cpp59 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-fatelf/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h78 int omode; member in struct:fs_file_cookie
H A Dfsproto.h73 int omode, int perms, ino_t *vnid, void **cookie);
92 typedef int op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/
H A Drpc_workers.h27 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dkprotos.h16 int sys_open(int kernel, int fd, const char *path, int omode,
/haiku-fatelf/headers/private/userlandfs/legacy/
H A Dfsproto.h80 int omode, int perms, vnode_id *vnid, void **cookie);
99 typedef int op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_interface.h94 int omode, int perms, ino_t *vnid, void **cookie);
113 typedef int beos_op_open(void *ns, void *node, int omode, void **cookie);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server/
H A Dfsproto.h73 int omode, int perms, vnode_id *vnid, void **cookie);
92 typedef int op_open(void *ns, void *node, int omode, void **cookie);

Completed in 127 milliseconds

12