/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_compat.h | 13 int (*getattr) (const char *, struct stat *); 50 int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *); 72 int (*getattr) (const char *, struct stat *); 123 int (*getattr) (const char *, struct stat *); 171 int (*getattr) (const char *, struct stat *);
|
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 18 #include <sys/stat.h> 316 struct stat stat; local 317 if (fstat(fd, &stat) != 0) 318 error("stat file failed: %s\n", strerror(errno)); 320 if (size + stat.st_size > sMaxFileSize) 321 size = sMaxFileSize - stat.st_size; 323 offset = stat.st_size; 400 struct stat stat; local [all...] |
/haiku/src/tools/fs_shell/ |
H A D | syscalls.h | 55 struct fssh_stat *stat, fssh_size_t statSize); 57 bool traverseLeafLink, const struct fssh_stat *stat, 70 struct fssh_stat *stat);
|
/haiku/src/tools/ |
H A D | rm_attrs.cpp | 12 #include <sys/stat.h> 17 extern "C" bool __get_attribute_dir_path(const struct stat* st, 132 // stat the file 133 struct stat st;
|
H A D | create_image.cpp | 14 #include <sys/stat.h> 108 struct stat st; 110 fprintf(stderr, "Error: stat()ing file %s failed (%s)\n", file,
|
/haiku/src/bin/ |
H A D | diskimage.cpp | 12 #include <sys/stat.h> 79 // stat() the file to verify that it's a regular file 80 struct stat st; 83 fprintf(stderr, "Error: Failed to stat() \"%s\": %s\n", fileName, 144 // the parameter must be a file name -- stat() it 145 struct stat st; 148 fprintf(stderr, "Error: Failed to stat() \"%s\": %s\n", fileNameOrID, 165 // get file path and stat it, same for the device path
|
/haiku/src/kits/debug/ |
H A D | TeamDebugger.cpp | 11 #include <sys/stat.h> 195 // stat() the path to be sure, there is a file 196 struct stat st; 197 if (stat(path.Path(), &st) == 0 && S_ISREG(st.st_mode)) {
|
/haiku/src/bin/debug/ |
H A D | debug_utils.cpp | 11 #include <sys/stat.h> 56 // stat() the path to be sure, there is a file 57 struct stat st; 58 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) {
|
/haiku/src/tests/system/kernel/vm/ |
H A D | VMGetMountPointTest.cpp | 42 struct stat; 45 stat(const char* path, struct stat* s) function
|
/haiku/src/libs/util/ |
H A D | pidfile.c | 32 #include <sys/stat.h> 49 struct stat sb; 91 struct stat sb;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.h | 95 struct stat; 113 int (*stat)(struct ntfs_device *dev, struct stat *buf); member in struct:ntfs_device_operations
|
/haiku/src/system/runtime_loader/ |
H A D | runtime_loader.cpp | 14 #include <sys/stat.h> 177 struct stat stat; local 232 status = _kern_read_stat(-1, path, false, &stat, sizeof(struct stat)); 236 if (S_ISLNK(stat.st_mode)) { 283 struct stat stat; local 284 status = _kern_read_stat(fd, NULL, true, &stat, sizeof(struct stat)); [all...] |
/haiku/src/tests/kits/storage/ |
H A D | StatableTest.cpp | 3 #include <sys/stat.h> 40 struct stat st1, st2; 50 struct stat st1; 73 struct stat st; 102 struct stat st; 197 struct stat st;
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | NodeAttribute.cpp | 160 NodeAttribute::Stat(attr_cookie* cookie, struct stat& stat) argument 176 // We have valid attribute entry to stat 179 stat.st_type = B_XATTR_TYPE; 180 stat.st_size = valuelen + fLocalEntry->namelen; 183 stat.st_type = B_XATTR_TYPE; 184 stat.st_size = valuelen + fRemoteEntry->namelen;
|
/haiku/headers/os/storage/ |
H A D | Directory.h | 47 status_t GetStatFor(const char *path, struct stat *st) const; 69 status_t _GetStatFor(const char *path, struct stat *st) const;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.h | 15 status_t dosfs_rstat(fs_volume *_vol, fs_vnode *_node, struct stat *st); 32 status_t dosfs_wstat(fs_volume *vol, fs_vnode *node, const struct stat *st,
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.h | 76 struct stat stat[2]; member in struct:rock_ridge_attributes
|
/haiku/src/build/libroot/ |
H A D | remapped_functions.h | 15 int _haiku_build_fstat(int fd, struct stat* st); 16 int _haiku_build_fstatat(int fd, const char* path, struct stat* st,
|
/haiku/headers/build/os/storage/ |
H A D | Node.h | 61 virtual status_t GetStat(struct stat *st) const; 114 virtual status_t set_stat(struct stat &st, uint32 what);
|
/haiku/src/system/boot/loader/ |
H A D | vfs.cpp | 61 void Stat(struct stat &stat); 159 Node::Stat(struct stat& stat) argument 161 stat.st_mode = Type(); 162 stat.st_size = Size(); 163 stat.st_ino = Inode(); 403 Descriptor::Stat(struct stat &stat) argument 405 fNode->Stat(stat); 1179 _fstat(int fd, struct stat *stat, size_t ) argument [all...] |
/haiku/headers/private/kernel/fs/ |
H A D | fd.h | 42 status_t (*fd_read_stat)(struct file_descriptor *, struct stat *); 43 status_t (*fd_write_stat)(struct file_descriptor *, const struct stat *,
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 587 ext2_read_stat(fs_volume* _volume, fs_vnode* _node, struct stat* stat) argument 592 stat->st_dev = inode->GetVolume()->ID(); 593 stat->st_ino = inode->ID(); 594 stat->st_nlink = node.NumLinks(); 595 stat->st_blksize = EXT2_IO_SIZE; 597 stat->st_uid = node.UserID(); 598 stat->st_gid = node.GroupID(); 599 stat->st_mode = node.Mode(); 600 stat 615 ext2_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 1658 ext2_read_attr_stat(fs_volume* _volume, fs_vnode* _node, void* _cookie, struct stat* stat) argument [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 23 #include <sys/stat.h> 392 struct stat* statData); 394 const struct stat* stat, int statMask); 411 struct stat* statData); 413 const struct stat* statData, int statMask); 415 struct stat* stat, bool kernel); 1826 struct stat stat; local 4325 vfs_read_stat(int fd, const char* path, bool traverseLeafLink, struct stat* stat, bool kernel) argument 4780 vfs_stat_vnode(struct vnode* vnode, struct stat* stat) argument 4798 vfs_stat_node_ref(dev_t device, ino_t inode, struct stat* stat) argument 5766 struct stat stat; local 5812 struct stat stat; local 6601 common_read_stat(struct file_descriptor* descriptor, struct stat* stat) argument 6618 common_write_stat(struct file_descriptor* descriptor, const struct stat* stat, int statMask) argument 6639 common_path_read_stat(int fd, char* path, bool traverseLeafLink, struct stat* stat, bool kernel) argument 6658 common_path_write_stat(int fd, char* path, bool traverseLeafLink, const struct stat* stat, int statMask, bool kernel) argument 6913 struct stat stat; local 6939 attr_read_stat(struct file_descriptor* descriptor, struct stat* stat) argument 6953 attr_write_stat(struct file_descriptor* descriptor, const struct stat* stat, int statMask) argument 7174 index_name_read_stat(dev_t mountID, const char* name, struct stat* stat, bool kernel) argument 8591 _kern_read_stat(int fd, const char* path, bool traverseLeafLink, struct stat* stat, size_t statSize) argument 8638 _kern_write_stat(int fd, const char* path, bool traverseLeafLink, const struct stat* stat, size_t statSize, int statMask) argument 8739 _kern_read_index_stat(dev_t device, const char* name, struct stat* stat) argument 9597 struct stat stat = {0}; local 9649 struct stat stat; local 9796 struct stat stat; local 9922 struct stat stat = {0}; local [all...] |
/haiku/headers/os/drivers/ |
H A D | fs_interface.h | 21 struct stat; 99 struct stat* stat); 168 struct stat* stat); 170 const struct stat* stat, uint32 statMask); 232 void* cookie, struct stat* stat); 234 void* cookie, const struct stat* sta [all...] |
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/ |
H A D | write_overlay.cpp | 154 status_t ReadStat(struct stat *stat); 155 status_t WriteStat(const struct stat *stat, uint32 statMask); 216 struct stat fStat; 498 OverlayInode::ReadStat(struct stat *stat) argument 504 memcpy(stat, &fStat, sizeof(struct stat)); 505 stat 511 WriteStat(const struct stat *stat, uint32 statMask) argument 622 struct stat stat; local 1872 overlay_read_stat(fs_volume *volume, fs_vnode *vnode, struct stat *stat) argument 1880 overlay_write_stat(fs_volume *volume, fs_vnode *vnode, const struct stat *stat, uint32 statMask) argument 2109 overlay_read_attr_stat(fs_volume *volume, fs_vnode *vnode, void *_cookie, struct stat *stat) argument 2119 overlay_write_attr_stat(fs_volume *volume, fs_vnode *vnode, void *_cookie, const struct stat *stat, int statMask) argument 2439 overlay_read_index_stat(fs_volume *volume, const char *name, struct stat *stat) argument [all...] |