/haiku-fatelf/src/add-ons/kernel/file_systems/layers/write_overlay/ |
H A D | write_overlay.cpp | 157 status_t Create(const char *name, int openMode, int perms, 175 status_t CreateDir(const char *name, int perms); 200 status_t _CreateCommon(const char *name, int type, int perms, 556 OverlayInode::Create(const char *name, int openMode, int perms, void **cookie, argument 560 status_t result = _CreateCommon(name, attribute ? S_ATTR : S_IFREG, perms, 944 OverlayInode::CreateDir(const char *name, int perms) argument 946 return _CreateCommon(name, S_IFDIR, perms, NULL, NULL, false, 0); 1435 OverlayInode::_CreateCommon(const char *name, int type, int perms, argument 1465 entry->inode_number, this, entry->name, (perms & S_IUMSK) | type 1886 int openMode, int perms, voi 1885 overlay_create(fs_volume *volume, fs_vnode *vnode, const char *name, int openMode, int perms, void **cookie, ino_t *newVnodeID) argument 1939 overlay_create_dir(fs_volume *volume, fs_vnode *vnode, const char *name, int perms) argument [all...] |
/haiku-fatelf/headers/private/system/ |
H A D | syscalls.h | 248 const char *name, int openMode, int perms); 250 int perms); 261 const char *name, int perms); 262 extern status_t _kern_create_dir(int fd, const char *path, int perms); 273 extern status_t _kern_create_fifo(int fd, const char *path, mode_t perms);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/bindfs/ |
H A D | kernel_interface.cpp | 573 int openMode, int perms, void** _cookie, ino_t* _newVnodeID) 578 FUNCTION("volume: %p, node: %p (%lld), name: %s, openMode %#x, perms: %x\n", 579 volume, node, node->ID(), name, openMode, perms); 584 perms, _cookie, _newVnodeID); 675 int perms) 680 FUNCTION("volume: %p, node: %p (%lld), name: %s, perms: %x\n", volume, node, 681 node->ID(), name, perms); 685 return sourceNode->ops->create_dir(sourceVolume, sourceNode, name, perms); 572 bindfs_create(fs_volume* fsVolume, fs_vnode* fsNode, const char* name, int openMode, int perms, void** _cookie, ino_t* _newVnodeID) argument 674 bindfs_create_dir(fs_volume* fsVolume, fs_vnode* fsNode, const char* name, int perms) argument
|
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 465 int openMode, int perms, void** cookie, ino_t* vnid) 469 fsDir->private_node, name, openMode, perms, cookie, vnid)); 470 status_t error = volume->Create(fsDir->private_node, name, openMode, perms, 549 int perms) 553 fsParent->private_node, name, perms)); 554 status_t error = volume->CreateDir(fsParent->private_node, name, perms); 464 userlandfs_create(fs_volume* fsVolume, fs_vnode* fsDir, const char* name, int openMode, int perms, void** cookie, ino_t* vnid) argument 548 userlandfs_create_dir(fs_volume* fsVolume, fs_vnode* fsParent, const char* name, int perms) argument
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/bt_fs/ |
H A D | btClient.c | 45 int btCreate(fs_nspace *ns, vnode_id dir_vnid, char *name, vnode_id *file_vnid, int omode, int perms, struct stat *st);
48 int btCreateDir(fs_nspace *ns, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st);
1029 int btCreate(fs_nspace *ns, vnode_id dir_vnid, char *name, vnode_id *file_vnid, int omode, int perms, struct stat *st)
argument 1042 btRPCPutArg(outPacket, B_INT32_TYPE, &perms, sizeof(perms));
1117 int btCreateDir(fs_nspace *ns, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st)
argument 1129 btRPCPutArg(outPacket, B_INT32_TYPE, &perms, sizeof(perms));
|
H A D | nfs_add_on.c | 867 extern int fs_create(fs_nspace *ns, fs_node *dir, const char *name, int omode, int perms, vnode_id *vnid, argument 913 error = btCreate(ns, dir->vnid, name, vnid, omode, perms, &st); 984 extern int fs_mkdir(fs_nspace *ns, fs_node *dir, const char *name, int perms) argument 1005 error = btCreateDir(ns, dir->vnid, name, perms | S_IFDIR, &vnid, &st);
|
/haiku-fatelf/src/system/kernel/fs/ |
H A D | vfs.cpp | 5204 int perms, bool kernel) 5268 status = FS_CALL(directory, create, name, openMode | O_EXCL, perms, 5362 int openMode, int perms, bool kernel) 5364 FUNCTION(("file_create_entry_ref: name = '%s', omode %x, perms %d, " 5365 "kernel %d\n", name, openMode, perms, kernel)); 5373 status = create_vnode(directory, name, openMode, perms, kernel); 5381 file_create(int fd, char* path, int openMode, int perms, bool kernel) argument 5383 FUNCTION(("file_create: path '%s', omode %x, perms %d, kernel %d\n", path, 5384 openMode, perms, kernel)); 5394 status = create_vnode(directory, name, openMode, perms, kerne 5203 create_vnode(struct vnode* directory, const char* name, int openMode, int perms, bool kernel) argument 5361 file_create_entry_ref(dev_t mountID, ino_t directoryID, const char* name, int openMode, int perms, bool kernel) argument 5627 dir_create_entry_ref(dev_t mountID, ino_t parentID, const char* name, int perms, bool kernel) argument 5654 dir_create(int fd, char* path, int perms, bool kernel) argument 7998 _kern_open_entry_ref(dev_t device, ino_t inode, const char* name, int openMode, int perms) argument 8025 _kern_open(int fd, const char* path, int openMode, int perms) argument 8116 _kern_create_dir_entry_ref(dev_t device, ino_t inode, const char* name, int perms) argument 8138 _kern_create_dir(int fd, const char* path, int perms) argument 8765 _user_open_entry_ref(dev_t device, ino_t inode, const char* userName, int openMode, int perms) argument 8786 _user_open(int fd, const char* userPath, int openMode, int perms) argument 8983 _user_create_dir_entry_ref(dev_t device, ino_t inode, const char* userName, int perms) argument 9001 _user_create_dir(int fd, const char* userPath, int perms) argument 9168 _user_create_fifo(int fd, const char* userPath, mode_t perms) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/ |
H A D | googlefs.c | 59 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); 659 * @param perms create with those permissions 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 723 fill_default_stat(&n->st, ns->nsid, n->vnid, (perms & ~S_IFMT) | (mkdir?S_IFDIR:S_IFREG)); 769 int googlefs_create(fs_volume *_volume, fs_vnode *_dir, const char *name, int omode, int perms, ino_t *vnid, fs_file_cookie **cookie) argument 779 err = googlefs_create_gen(_volume, dir, name, omode, perms, vnid, &n, NULL, false, false); 873 static int googlefs_mkdir_gen(fs_volume *_volume, fs_vnode *_dir, const char *name, int perms, fs_node **node, bool uniq) 880 TRACE((PFS"mkdir_gen(%ld, %Ld, '%s', 0x%08lx, %c)\n", ns->nsid, dir->vnid, name, perms, uniq?'t':'f')); 919 fill_default_stat(&n->st, ns->nsid, n->vnid, (perms & ~S_IFMT) | S_IFDIR); 963 int googlefs_mkdir(fs_volume *_volume, fs_vnode *_dir, const char *name, int perms) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | security.h | 170 u16 perms; member in struct:POSIX_ACE
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/ |
H A D | rpc_workers.c | 670 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid) argument 680 fh = open(path, O_WRONLY | O_CREAT | O_TRUNC | omode, perms); 719 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st) argument 727 if (mkdir(path, perms) != B_OK)
|
H A D | rpc_handlers.c | 202 int perms = *((int *) argv[3].data); local 215 error = btCreate(session->pathBuffer, dir_vnid, argv[1].data, omode, perms, &file_vnid);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/ |
H A D | file.c | 717 int perms, void **_cookie, ino_t *vnid) 734 DPRINTF(0, ("dosfs_create called: %Lx/%s perms=%o omode=%o\n", dir->vnid, name, perms, omode)); 856 dosfs_mkdir(fs_volume *_vol, fs_vnode *_dir, const char *name, int perms) argument 874 DPRINTF(0, ("dosfs_mkdir called: %Lx/%s (perm %o)\n", dir->vnid, name, perms)); 882 // S_IFDIR is never set in perms, so we patch it 883 perms &= ~S_IFMT; perms |= S_IFDIR; 899 if (!(perms & (S_IWUSR | S_IWGRP | S_IWGRP))) { 716 dosfs_create(fs_volume *_vol, fs_vnode *_dir, const char *name, int omode, int perms, void **_cookie, ino_t *vnid) argument
|
/haiku-fatelf/headers/os/drivers/ |
H A D | fs_interface.h | 175 int openMode, int perms, void** _cookie, 189 const char* name, int perms);
|
/haiku-fatelf/headers/private/fs_shell/ |
H A D | fssh_fs_interface.h | 193 const char *name, int openMode, int perms, 210 const char *name, int perms);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | copy.c | 1228 char perms[12]; /* "-rwxrwxrwx " ls-style modes. */ local 1229 strmode (dst_sb->st_mode, perms); 1230 perms[10] = '\0'; 1235 &perms[1]); 2051 directory not to have owner/perms set properly. */
|
H A D | dd.c | 1888 mode_t perms = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; local 1899 || fd_reopen (STDOUT_FILENO, output_file, O_RDWR | opts, perms) < 0) 1900 && (fd_reopen (STDOUT_FILENO, output_file, O_WRONLY | opts, perms)
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | rootfs.c | 80 int perms); 257 rootfs_mkdir(void *_ns, void *_dir, const char *name, int perms) argument 268 err = do_create(ns, dir, name, (perms & ~MY_S_IFMT) | MY_S_IFDIR, &vn);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/layers/attribute_overlay/ |
H A D | attribute_overlay.cpp | 1342 int openMode, int perms, void **cookie, ino_t *newVnodeID) 1344 OVERLAY_CALL(create, name, openMode, perms, cookie, newVnodeID) 1387 int perms) 1389 OVERLAY_CALL(create_dir, name, perms) 1341 overlay_create(fs_volume *volume, fs_vnode *vnode, const char *name, int openMode, int perms, void **cookie, ino_t *newVnodeID) argument 1386 overlay_create_dir(fs_volume *volume, fs_vnode *vnode, const char *name, int perms) argument
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server/ |
H A D | beserved_server.c | 201 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid);
203 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st);
2245 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid)
argument 2255 fh = open(path, O_WRONLY | O_CREAT | O_TRUNC | omode, perms);
2294 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st)
argument 2302 if (mkdir(path, perms) != B_OK)
2974 int perms = *((int *) argv[3].data);
local 2985 error = btCreate(session->pathBuffer, dir_vnid, argv[1].data, omode, perms, &file_vnid);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/ |
H A D | udf.cpp | 76 int perms, int omode, vnode_id *vnid, void **cookie); 99 static int udf_mkdir(void *ns, void *dir, const char *name, int perms); 597 // FUNCTION_START(("name: `%s\', perms: %d, omode: %d\n", name, mode, omode)); 707 // FUNCTION_START(("name: `%s', perms: %d\n", name, mode));
|
/haiku-fatelf/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.c | 1707 int perms, void **_cookie, ino_t *vnid) 1780 XDROutPacketAddInt32(&call, perms | S_IFREG); 1971 fs_mkdir(fs_volume *_volume, fs_vnode *_dir, const char *name, int perms) argument 2012 XDROutPacketAddInt32(&call, perms | S_IFDIR); 1706 fs_create(fs_volume *_volume, fs_vnode *_dir, const char *name, int omode, int perms, void **_cookie, ino_t *vnid) argument
|
/haiku-fatelf/src/bin/zip/ |
H A D | beos.c | 52 extern int _kern_open(int fd, const char *path, int openMode, int perms);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-Windows/ |
H A D | BeServed.cpp | 192 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid);
194 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, beos_stat *st);
2569 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid)
argument 2615 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, beos_stat *st)
argument 3057 int perms = *((int *) argv[3].data);
local 3070 error = btCreate(session->pathBuffer, dir_vnid, argv[1].data, omode, perms, &file_vnid);
|
/haiku-fatelf/src/system/kernel/device_manager/ |
H A D | devfs.cpp | 1086 int perms, void** _cookie, ino_t* _newVnodeID) 1315 int perms) 1331 init_directory_vnode(vnode, perms); 1085 devfs_create(fs_volume* _volume, fs_vnode* _dir, const char* name, int openMode, int perms, void** _cookie, ino_t* _newVnodeID) argument 1314 devfs_create_dir(fs_volume* _volume, fs_vnode* _dir, const char* name, int perms) argument
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | fs_func.c | 1046 int perms, void **_cookie, ino_t *_vnid) 1587 fs_mkdir(fs_volume *_vol, fs_vnode *_dir, const char *name, int perms) argument 1045 fs_create(fs_volume *_vol, fs_vnode *_dir, const char *name, int omode, int perms, void **_cookie, ino_t *_vnid) argument
|