Searched refs:fs (Results 1 - 25 of 113) sorted by relevance

12345

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_fs.cpp16 fuse_fs_getattr(struct fuse_fs* fs, const char* path, struct stat* buf) argument
18 if (fs->ops.getattr == NULL)
20 return fs->ops.getattr(path, buf);
25 fuse_fs_fgetattr(struct fuse_fs* fs, const char* path, struct stat* buf, argument
28 if (fs->ops.fgetattr == NULL)
30 return fs->ops.fgetattr(path, buf, fi);
35 fuse_fs_rename(struct fuse_fs* fs, const char* oldpath, const char* newpath) argument
37 if (fs->ops.rename == NULL)
39 return fs->ops.rename(oldpath, newpath);
44 fuse_fs_unlink(struct fuse_fs* fs, cons argument
53 fuse_fs_rmdir(struct fuse_fs* fs, const char* path) argument
62 fuse_fs_symlink(struct fuse_fs* fs, const char* linkname, const char* path) argument
71 fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath) argument
80 fuse_fs_release(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi) argument
90 fuse_fs_open(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi) argument
99 fuse_fs_read(struct fuse_fs* fs, const char* path, char *buf, size_t size, off_t off, struct fuse_file_info* fi) argument
109 fuse_fs_write(struct fuse_fs* fs, const char* path, const char* buf, size_t size, off_t off, struct fuse_file_info* fi) argument
119 fuse_fs_fsync(struct fuse_fs* fs, const char* path, int datasync, struct fuse_file_info* fi) argument
129 fuse_fs_flush(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi) argument
138 fuse_fs_statfs(struct fuse_fs* fs, const char* path, struct statvfs* buf) argument
147 fuse_fs_opendir(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi) argument
156 fuse_fs_readdir(struct fuse_fs* fs, const char* path, void* buf, fuse_fill_dir_t filler, off_t off, struct fuse_file_info* fi) argument
166 fuse_fs_fsyncdir(struct fuse_fs* fs, const char* path, int datasync, struct fuse_file_info* fi) argument
176 fuse_fs_releasedir(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi) argument
186 fuse_fs_create(struct fuse_fs* fs, const char* path, mode_t mode, struct fuse_file_info* fi) argument
196 fuse_fs_lock(struct fuse_fs* fs, const char* path, struct fuse_file_info* fi, int cmd, struct flock* lock) argument
206 fuse_fs_chmod(struct fuse_fs* fs, const char* path, mode_t mode) argument
215 fuse_fs_chown(struct fuse_fs* fs, const char* path, uid_t uid, gid_t gid) argument
224 fuse_fs_truncate(struct fuse_fs* fs, const char* path, off_t size) argument
233 fuse_fs_ftruncate(struct fuse_fs* fs, const char* path, off_t size, struct fuse_file_info* fi) argument
243 fuse_fs_utimens(struct fuse_fs* fs, const char* path, const struct timespec tv[2]) argument
262 fuse_fs_access(struct fuse_fs* fs, const char* path, int mask) argument
271 fuse_fs_readlink(struct fuse_fs* fs, const char* path, char* buf, size_t len) argument
280 fuse_fs_mknod(struct fuse_fs* fs, const char* path, mode_t mode, dev_t rdev) argument
289 fuse_fs_mkdir(struct fuse_fs* fs, const char* path, mode_t mode) argument
298 fuse_fs_setxattr(struct fuse_fs* fs, const char* path, const char* name, const char* value, size_t size, int flags) argument
308 fuse_fs_getxattr(struct fuse_fs* fs, const char* path, const char* name, char* value, size_t size) argument
318 fuse_fs_listxattr(struct fuse_fs* fs, const char* path, char* list, size_t size) argument
327 fuse_fs_removexattr(struct fuse_fs* fs, const char* path, const char* name) argument
336 fuse_fs_bmap(struct fuse_fs* fs, const char* path, size_t blocksize, uint64_t* idx) argument
345 fuse_fs_ioctl(struct fuse_fs *fs, const char *path, int cmd, void *arg, struct fuse_file_info *fi, unsigned int flags, void *data) argument
356 fuse_fs_init(struct fuse_fs* fs, struct fuse_conn_info* conn) argument
365 fuse_fs_destroy(struct fuse_fs* fs) argument
382 fuse_fs* fs = new(std::nothrow) fuse_fs; local
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dufs2.h31 * @(#)fs.h 8.13 (Berkeley) 3/21/95
69 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro.
244 int32_t fs_old_size; /* number of blocks in fs */
245 int32_t fs_old_dsize; /* number of data blocks in fs */
247 int32_t fs_bsize; /* size of basic blocks in fs */
248 int32_t fs_fsize; /* size of frag blocks in fs */
249 int32_t fs_frag; /* number of frags in a block in fs */
305 u_int *fs_active; /* (u) used by snapshots to track fs */
316 int64_t fs_size; /* number of blocks in fs */
317 int64_t fs_dsize; /* number of data blocks in fs */
[all...]
/haiku/src/system/kernel/vm/
H A DVMUtils.h10 #include <fs/KPath.h>
/haiku/src/bin/writembr/
H A Dwritembr.cpp70 fstream fs; local
71 fs.open(device.Path(), fstream::in | fstream::out | fstream::binary);
72 if (!fs.is_open()) {
80 fs.read((char*)MBR, kMBRSize);
81 if (fs.fail() || fs.gcount() < (off_t)kMBRSize ) {
84 fs.close();
101 fs.close();
107 fs.seekg(0, ios::beg);
108 fs
[all...]
/haiku/headers/private/userlandfs/fuse/
H A Dfuse.h818 int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struct stat *buf);
819 int fuse_fs_fgetattr(struct fuse_fs *fs, const char *path, struct stat *buf,
821 int fuse_fs_rename(struct fuse_fs *fs, const char *oldpath,
823 int fuse_fs_unlink(struct fuse_fs *fs, const char *path);
824 int fuse_fs_rmdir(struct fuse_fs *fs, const char *path);
825 int fuse_fs_symlink(struct fuse_fs *fs, const char *linkname,
827 int fuse_fs_link(struct fuse_fs *fs, const char *oldpath, const char *newpath);
828 int fuse_fs_release(struct fuse_fs *fs, const char *path,
830 int fuse_fs_open(struct fuse_fs *fs, const char *path,
832 int fuse_fs_read(struct fuse_fs *fs, cons
[all...]
/haiku/src/system/kernel/fs/
H A Drootfs.cpp170 rootfs_create_vnode(struct rootfs* fs, struct rootfs_vnode* parent, argument
189 vnode->id = fs->next_vnode_id++;
206 rootfs_delete_vnode(struct rootfs* fs, struct rootfs_vnode* v, bool force_delete) argument
214 fs->vnode_list_hash->Remove(v);
260 rootfs_insert_in_dir(struct rootfs* fs, struct rootfs_vnode* dir, argument
284 notify_stat_changed(fs->id, get_parent_id(dir), dir->id,
291 rootfs_remove_from_dir(struct rootfs* fs, struct rootfs_vnode* dir, argument
310 notify_stat_changed(fs->id, get_parent_id(dir), dir->id,
328 remove_node(struct rootfs* fs, struct rootfs_vnode* directory, argument
333 bool gotNode = (get_vnode(fs
352 rootfs_remove(struct rootfs* fs, struct rootfs_vnode* dir, const char* name, bool isDirectory) argument
386 struct rootfs* fs; local
440 struct rootfs* fs = (struct rootfs*)_volume->private_volume; local
475 struct rootfs* fs = (struct rootfs*)_volume->private_volume; local
523 struct rootfs* fs = (struct rootfs*)_volume->private_volume; local
565 struct rootfs* fs = (struct rootfs*)_volume->private_volume; local
664 struct rootfs* fs = (rootfs*)_volume->private_volume; local
699 struct rootfs* fs = (rootfs*)_volume->private_volume; local
716 struct rootfs* fs = (struct rootfs*)_volume->private_volume; local
755 struct rootfs* fs = (rootfs*)_volume->private_volume; local
778 struct rootfs* fs = (rootfs*)_volume->private_volume; local
843 struct rootfs* fs = (rootfs*)_volume->private_volume; local
911 struct rootfs* fs = (rootfs*)_volume->private_volume; local
953 struct rootfs* fs = (rootfs*)_volume->private_volume; local
970 struct rootfs* fs = (rootfs*)_volume->private_volume; local
1056 struct rootfs* fs = (rootfs*)_volume->private_volume; local
1092 struct rootfs* fs = (rootfs*)_volume->private_volume; local
1155 struct rootfs* fs = (rootfs*)_volume->private_volume; local
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Server.cpp63 FileSystem* fs = fFileSystems.Head(); local
64 while (fs != NULL) {
66 = fs->OpenFilesLock().GetIterator();
73 fs->OpenFilesUnlock();
75 fs = fFileSystems.GetNext(fs);
83 NFS4Server::AddFileSystem(FileSystem* fs) argument
85 ASSERT(fs != NULL);
88 fFileSystems.Add(fs);
90 fUseCount += fs
97 RemoveFileSystem(FileSystem* fs) argument
148 FileSystem* fs = fFileSystems.Head(); local
407 FileSystem* fs = fFileSystems.Head(); local
[all...]
H A DFileInfo.cpp133 FileInfo::UpdateFileHandles(FileSystem* fs) argument
135 ASSERT(fs != NULL);
137 Request request(fs->Server(), fs);
143 const char** path = fs->Path();
181 if (fs->IsAttrSupported(FATTR4_FILEID)) {
204 if (fs->IsAttrSupported(FATTR4_FILEID)) {
H A DFileSystem.cpp154 FileSystem* fs = new(std::nothrow) FileSystem(configuration); local
155 if (fs == NULL)
157 ObjectDeleter<FileSystem> fsDeleter(fs);
159 Request request(serv, fs);
205 memcpy(fs->fSupAttrs, &values[0].fData.fValue64, sizeof(fs->fSupAttrs));
208 fs->fExpireType = values[1].fData.fValue32;
218 fs->fPath = locs->fRootPath;
221 fs->fPath = NULL;
225 fs
[all...]
H A DNFS4Server.h30 void AddFileSystem(FileSystem* fs);
31 void RemoveFileSystem(FileSystem* fs);
H A Dkernel_interface.cpp197 FileSystem* fs; local
198 result = FileSystem::Mount(&fs, server, serverName, path, volume->id,
206 Inode* inode = fs->Root();
208 delete fs;
214 volume->private_volume = fs;
217 VnodeToInode* vti = new VnodeToInode(inode->ID(), fs);
219 delete fs;
243 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
246 VnodeToInode* vnodeToInode = new VnodeToInode(id, fs);
251 status_t result = fs
272 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
287 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
348 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
731 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
765 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
841 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
1019 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
1104 FileSystem* fs = reinterpret_cast<FileSystem*>(volume->private_volume); local
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DKernelDebug.cpp29 FileSystem* fs = fsInitializer->GetFileSystem(); local
30 kprintf("file system %p: %s\n", fs, (fs ? fs->GetName() : NULL));
31 if (fs) {
32 kprintf(" port pool %p\n", fs->GetPortPool());
33 int32 volumeCount = fs->fVolumes.Count();
35 Volume* volume = fs->fVolumes.ElementAt(i);
/haiku/src/bin/
H A Dmount.c38 const char *fs = NULL; local
58 else if (!strcmp(arg, "t") && fs == NULL) {
61 fs = *++argv;
95 volume = fs_mount_volume(mountPoint, device, fs, flags, parameter);
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Ddevice_manager.cpp12 #include <fs/devfs.h>
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dkernel_interface.cpp146 reiserfs_unmount(fs_volume* fs) argument
149 Volume *volume = (Volume*)fs->private_volume;
158 reiserfs_read_fs_info(fs_volume* fs, struct fs_info *info) argument
161 Volume *volume = (Volume*)fs->private_volume;
179 reiserfs_lookup(fs_volume* fs, fs_vnode* _dir, const char *entryName, argument
183 Volume *volume = (Volume*)fs->private_volume;
236 reiserfs_read_vnode(fs_volume *fs, ino_t vnid, fs_vnode *node, int *_type, argument
243 Volume *volume = (Volume*)fs->private_volume;
262 reiserfs_write_vnode(fs_volume *fs, fs_vnode *_node, bool reenter) argument
271 Volume *volume = (Volume*)fs
286 reiserfs_read_symlink(fs_volume *fs, fs_vnode *_node, char *buffer, size_t *bufferSize) argument
306 reiserfs_access(fs_volume *fs, fs_vnode *_node, int mode) argument
326 reiserfs_read_stat(fs_volume *fs, fs_vnode *_node, struct stat *st) argument
355 reiserfs_open(fs_volume *fs, fs_vnode *_node, int openMode, void **cookie) argument
386 reiserfs_close(fs_volume *fs, fs_vnode *_node, void *cookie) argument
399 reiserfs_free_cookie(fs_volume *fs, fs_vnode *_node, void *cookie) argument
414 reiserfs_read(fs_volume *fs, fs_vnode *_node, void *cookie, off_t pos, void *buffer, size_t *bufferSize) argument
476 reiserfs_open_dir(fs_volume *fs, fs_vnode *_node, void **cookie) argument
517 reiserfs_close_dir(fs_volume *fs, fs_vnode *_node, void *cookie) argument
530 reiserfs_free_dir_cookie(fs_volume *fs, fs_vnode *_node, void *cookie) argument
545 reiserfs_read_dir(fs_volume *fs, fs_vnode *_node, void *cookie, struct dirent *buffer, size_t bufferSize, uint32 *count) argument
644 reiserfs_rewind_dir(fs_volume *fs, fs_vnode *_node, void *cookie) argument
[all...]
/haiku/headers/private/kernel/arch/x86/32/
H A Diframe.h15 uint32 fs; member in struct:iframe
/haiku/src/system/boot/platform/riscv/
H A Dcpu.cpp39 status.fs = extStatusInitial; // enable FPU
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp10 #include <fs/devfs.h>
29 #include <fs/devfs.h>
30 #include <fs/KPath.h>
31 #include <fs/node_monitor.h>
167 static status_t get_node_for_path(struct devfs* fs, const char* path,
171 static status_t unpublish_node(struct devfs* fs, devfs_vnode* node,
173 static status_t publish_device(struct devfs* fs, const char* path,
257 devfs_create_vnode(struct devfs* fs, devfs_vnode* parent, const char* name) argument
266 vnode->id = fs->next_vnode_id++;
284 devfs_delete_vnode(struct devfs* fs, struc argument
427 add_partition(struct devfs* fs, struct devfs_vnode* device, const char* name, const partition_info& info) argument
549 get_node_for_path(struct devfs* fs, const char* path, struct devfs_vnode** _node) argument
558 unpublish_node(struct devfs* fs, devfs_vnode* node, mode_t type) argument
578 publish_node(devfs* fs, devfs_vnode* dirNode, struct devfs_vnode* node) argument
586 publish_directory(struct devfs* fs, const char* path) argument
651 new_node(struct devfs* fs, const char* path, struct devfs_vnode** _node, struct devfs_vnode** _dir) argument
737 publish_device(struct devfs* fs, const char* path, BaseDevice* device) argument
899 struct devfs* fs; local
964 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1001 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1051 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1089 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1280 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1304 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1337 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1355 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1422 struct devfs* fs = (struct devfs*)_volume->private_volume; local
1871 struct devfs* fs = (struct devfs*)_volume->private_volume; local
[all...]
/haiku/headers/private/firewire/
H A Diec68113.h81 uint8_t fs:1, /* 50/60 field system member in struct:ciphdr::__anon722::__anon723
88 fs:1; /* 50/60 field system
/haiku/src/system/kernel/arch/x86/
H A Dsyscalls_compat.cpp23 #include <fs/fd.h>
24 #include <fs/node_monitor.h>
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp427 __pathconf_common(struct statvfs *fs, struct stat *st, argument
432 ret = fs_stat_dev(fs->f_fsid, &info);
450 return fs->f_namemax;
478 // XXX: add fs ? add to statvfs/fs_info ?
540 struct statvfs fs; local
550 ret = fstatvfs(fd, &fs);
553 return __pathconf_common(&fs, &st, name);
560 struct statvfs fs; local
570 ret = statvfs(path, &fs);
573 return __pathconf_common(&fs,
[all...]
/haiku/headers/os/drivers/
H A Dbios.h51 uint32 fs; member in struct:bios_regs
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Dentry.S41 mov %ax, %fs
/haiku/headers/os/arch/x86_64/
H A Darch_debugger.h16 uint64 fs; member in struct:x86_64_debug_cpu_state
/haiku/src/system/boot/platform/efi/arch/x86/
H A Dentry.S69 movw %ax, %fs

Completed in 173 milliseconds

12345