/haiku/src/bin/ |
H A D | fstrim.cpp | 17 #include <sys/stat.h> 66 struct stat fdStat; 79 struct stat fdStat; 92 struct stat fdStat;
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | ShortAttribute.cpp | 69 ShortAttribute::Stat(attr_cookie* cookie, struct stat& stat) argument 82 // We have valid attribute entry to stat 83 stat.st_type = B_XATTR_TYPE; 84 stat.st_size = _DataLength(fEntry);
|
/haiku/src/add-ons/kernel/file_systems/layers/attribute_overlay/ |
H A D | attribute_overlay.cpp | 193 status_t ReadStat(struct stat *stat); 194 status_t WriteStat(const struct stat *stat, 354 struct stat stat; local 356 && vnode->ops->read_stat(volume, vnode, &stat) == B_OK) { 357 fFileInode = stat.st_ino; 421 fStatus = currentVnode.ops->read_stat(volume, ¤tVnode, &stat); 423 TRACE_ALWAYS("failed to stat attribut 1078 ReadStat(struct stat *stat) argument 1096 WriteStat(const struct stat *stat, uint32 statMask) argument 1326 overlay_read_stat(fs_volume *volume, fs_vnode *vnode, struct stat *stat) argument 1333 overlay_write_stat(fs_volume *volume, fs_vnode *vnode, const struct stat *stat, uint32 statMask) argument 1570 overlay_read_attr_stat(fs_volume *volume, fs_vnode *vnode, void *cookie, struct stat *stat) argument 1578 overlay_write_attr_stat(fs_volume *volume, fs_vnode *vnode, void *cookie, const struct stat *stat, int statMask) argument 1876 overlay_read_index_stat(fs_volume *volume, const char *name, struct stat *stat) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSELowLevel.cpp | 52 struct stat* fReplyAttr; 85 struct stat* st) 100 fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct stat* st) 114 fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr, 122 ops->setattr(&request, ino, const_cast<struct stat*>(attr), to_set, NULL); 360 fuse_ll_statfs(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct statvfs* stat) argument 366 request.fReplyStat = stat; 435 fuse_reply_attr(fuse_req_t req, const struct stat *attr, double attr_timeout) 504 fuse_reply_statfs(fuse_req_t req, const struct statvfs* stat) argument 506 *req->fReplyStat = *stat; [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Attribute.h | 41 status_t Stat(struct stat& stat);
|
/haiku/src/bin/network/ftpd/ |
H A D | md5hl.c | 13 #include <sys/stat.h> 54 struct stat stbuf;
|
/haiku/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 11 #include <sys/stat.h> 88 struct stat st;
|
H A D | Entry.cpp | 20 #include <compat/sys/stat.h> 188 // just stat the beast 189 struct stat st; 285 struct stat st; 287 sizeof(struct stat)); 355 struct stat st; 357 sizeof(struct stat)); 505 /*! Updates the BEntry with the data from the stat structure according 508 \param st The stat structure to set. 516 BEntry::set_stat(struct stat [all...] |
/haiku/src/build/libroot/ |
H A D | fs_descriptors.cpp | 87 struct stat st; 141 FileDescriptor::GetStat(bool traverseLink, struct stat *st) 205 DirectoryDescriptor::GetStat(bool traverseLink, struct stat *st) 213 // stat 215 result = stat(realPath.c_str(), st); 259 SymlinkDescriptor::GetStat(bool traverseLink, struct stat *st) 261 // stat 264 result = stat(path.c_str(), st); 312 // stat the attribute 422 AttributeDescriptor::GetStat(bool traverseLink, struct stat* s [all...] |
H A D | fs_darwin.cpp | 14 #include <sys/stat.h> 27 struct stat dirst; 29 // failed to grab stat information, fstat() sets errno 61 struct stat st; 62 if (stat(path, &st) < 0) { 63 // failed to get stat information on path, stat() sets errno 216 struct stat st; 218 // failed to get the stat info for fd, fstat() sets errno 242 fstatat(int fd, const char *path, struct stat *s [all...] |
/haiku/src/system/libroot/os/ |
H A D | Architecture.cpp | 11 #include <sys/stat.h> 43 struct stat st;
|
/haiku/headers/os/storage/ |
H A D | FilePanel.h | 16 struct stat; 26 struct stat_beos* stat, const char* mimeType) = 0;
|
/haiku/src/kits/debugger/files/ |
H A D | SourceFile.cpp | 13 #include <sys/stat.h> 59 // stat the file to get its size 60 struct stat st;
|
/haiku/src/system/boot/loader/ |
H A D | partitions.cpp | 219 struct stat stat; local 220 if (fstat(fFD, &stat) == B_OK) 221 return stat.st_size; 230 struct stat stat; local 231 if (fstat(fFD, &stat) == B_OK) 232 return stat.st_mode;
|
/haiku/src/build/libbe/storage/ |
H A D | Node.cpp | 607 \param st a stat structure containing the value to be set. 613 BNode::set_stat(struct stat& stat, uint32 what) argument 618 return _kern_write_stat(fFd, NULL, false, &stat, sizeof(struct stat), 647 BNode::GetStat(struct stat* stat) const 651 : _kern_read_stat(fFd, NULL, false, stat, sizeof(struct stat));
|
H A D | Entry.cpp | 349 // just stat the beast 350 struct stat st; 365 /*! \brief Fills in a stat structure for the entry. The information is copied into 366 the \c stat structure pointed to by \a result. 368 \b NOTE: The BStatable object does not cache the stat structure; every time you 369 call GetStat(), fresh stat information is retrieved. 371 \param result pointer to a pre-allocated structure into which the stat information will be copied 377 BEntry::GetStat(struct stat *result) const 381 return _kern_read_stat(fDirFd, fName, false, result, sizeof(struct stat)); 494 struct stat s [all...] |
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.h | 26 #include <sys/stat.h> 77 struct stat st; /* including S_IFDIR in st_mode */ 93 struct fs_node *root; /* fast access for stat time change */
|
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | generate_hashs.cpp | 149 struct stat stat; local 150 if (::lstat(path, &stat) != 0) { 151 fprintf(stderr, "Could not stat file \"%s\": %s\n", path, 156 if (S_ISDIR(stat.st_mode)) { 160 if (S_ISLNK(stat.st_mode)) 179 entry.node = stat.st_ino;
|
H A D | consistency_check.cpp | 122 struct stat stat; local 123 if (::stat(entry.path.c_str(), &stat) != 0) { 124 fprintf(stderr, "Could not stat file \"%s\": %s\n", entry.path.c_str(), 129 if (stat.st_ino != entry.node) { 131 entry.path.c_str(), entry.node, stat.st_ino);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 414 btrfs_read_stat(fs_volume* _volume, fs_vnode* _node, struct stat* stat) argument 418 stat->st_dev = inode->GetVolume()->ID(); 419 stat->st_ino = inode->ID(); 420 stat->st_nlink = 1; 421 stat->st_blksize = BTRFS_IO_SIZE; 423 stat->st_uid = inode->UserID(); 424 stat->st_gid = inode->GroupID(); 425 stat->st_mode = inode->Mode(); 426 stat 441 btrfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 1021 btrfs_read_attr_stat(fs_volume* _volume, fs_vnode* _node, void* _cookie, struct stat* stat) argument 1034 btrfs_write_attr_stat(fs_volume* _volume, fs_vnode* _node, void* cookie, const struct stat* stat, int statMask) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 44 extern void fill_stat_buffer(Inode* inode, struct stat& stat); 48 fill_stat_time(const bfs_inode& node, struct stat& stat) argument 51 stat.st_atim.tv_sec = now / 1000000LL; 52 stat.st_atim.tv_nsec = (now % 1000000LL) * 1000; 54 stat.st_mtim.tv_sec = bfs_inode::ToSecs(node.LastModifiedTime()); 55 stat.st_mtim.tv_nsec = bfs_inode::ToNsecs(node.LastModifiedTime()); 56 stat.st_crtim.tv_sec = bfs_inode::ToSecs(node.CreateTime()); 57 stat 71 fill_stat_buffer(Inode* inode, struct stat& stat) argument 855 bfs_read_stat(fs_volume* _volume, fs_vnode* _node, struct stat* stat) argument 866 bfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 1970 bfs_read_attr_stat(fs_volume* _volume, fs_vnode* _file, void* _cookie, struct stat* stat) argument 1985 bfs_write_attr_stat(fs_volume* _volume, fs_vnode* file, void* cookie, const struct stat* stat, int statMask) argument 2227 bfs_stat_index(fs_volume* _volume, const char* name, struct stat* stat) argument [all...] |
/haiku/headers/private/kernel/ |
H A D | vfs.h | 21 #include <sys/stat.h> 120 status_t vfs_stat_vnode(struct vnode *vnode, struct stat *stat); 121 status_t vfs_stat_node_ref(dev_t device, ino_t inode, struct stat *stat); 137 struct stat *stat, bool kernel); 190 struct stat *stat, size_t statSize); 192 const struct stat *sta [all...] |
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 19 # include <sys/stat.h> 1054 rootfs_read_stat(fs_volume* _volume, fs_vnode* _v, struct stat* stat) argument 1059 TRACE(("rootfs_read_stat: vnode %p (0x%Lx), stat %p\n", vnode, vnode->id, 1060 stat)); 1064 stat->st_dev = fs->id; 1065 stat->st_ino = vnode->id; 1067 stat->st_size = vnode->stream.symlink.length; 1069 stat->st_size = 0; 1070 stat 1089 rootfs_write_stat(fs_volume* _volume, fs_vnode* _vnode, const struct stat* stat, uint32 statMask) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | Node.cpp | 7 #include <sys/stat.h> 21 Node::Node(Volume* volume, const struct stat& st) 130 const struct stat& 146 // read stat 147 struct stat st; 294 // read the stat 295 struct stat st;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | unix_io.c | 45 #include <sys/stat.h> 120 struct stat sbuf; 127 if (stat(dev->d_name, &sbuf)) { 357 static int ntfs_device_unix_io_stat(struct ntfs_device *dev, struct stat *buf) 390 .stat = ntfs_device_unix_io_stat,
|