Lines Matching refs:omode

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)
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)
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, int perms, void **cookie, ino_t *vnid)
790 TRACE("create(%" B_PRId32 ", %" B_PRId64 ", '%s', 0x%08x)\n", ns->nsid, dir->vnid, name, omode);
794 err = websearchfs_create_gen(_volume, dir, name, omode, perms, vnid, &n, NULL, false, false);
799 err = websearchfs_open(_volume, &child, omode, cookie);
910 c->omode = O_RDONLY;
1017 static status_t websearchfs_open_attr_h(fs_volume *_volume, fs_vnode *_node, const char *name, int omode, void **cookie)
1026 TRACE("open_attr(%" B_PRId32 ", %" B_PRId64 ", %s, 0x%x)\n", ns->nsid, node->vnid, name, omode);
1042 /* should check omode */
1054 fc->omode = omode;
1212 c->omode = O_RDONLY;