Searched refs:stat (Results 151 - 175 of 509) sorted by relevance

1234567891011>>

/haiku/headers/private/userlandfs/fuse/
H A Dfuse_compat.h13 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 Drandom_file_actions.cpp18 #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 Dsyscalls.h55 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 Drm_attrs.cpp12 #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 Dcreate_image.cpp14 #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 Ddiskimage.cpp12 #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 DTeamDebugger.cpp11 #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 Ddebug_utils.cpp11 #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 DVMGetMountPointTest.cpp42 struct stat;
45 stat(const char* path, struct stat* s) function
/haiku/src/libs/util/
H A Dpidfile.c32 #include <sys/stat.h>
49 struct stat sb;
91 struct stat sb;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.h95 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 Druntime_loader.cpp14 #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 DStatableTest.cpp3 #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 DNodeAttribute.cpp160 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 DDirectory.h47 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 Dfile.h15 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 Diso9660.h76 struct stat stat[2]; member in struct:rock_ridge_attributes
/haiku/src/build/libroot/
H A Dremapped_functions.h15 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 DNode.h61 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 Dvfs.cpp61 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 Dfd.h42 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 Dkernel_interface.cpp587 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 Dvfs.cpp23 #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 Dfs_interface.h21 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 Dwrite_overlay.cpp154 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...]

Completed in 290 milliseconds

1234567891011>>