Searched refs:stat (Results 251 - 275 of 509) sorted by relevance

<<11121314151617181920>>

/haiku/headers/private/userlandfs/fuse/
H A Dfuse_lowlevel.h31 #include <sys/stat.h>
100 struct stat attr;
286 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr,
1104 int fuse_reply_attr(fuse_req_t req, const struct stat *attr,
1263 const char *name, const struct stat *stbuf,
H A Dfuse_lowlevel_compat.h19 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr,
72 char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
86 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr,
/haiku/src/tools/fs_shell/
H A Dfuse.cpp114 fromFsshStatToStat(struct fssh_stat* f_stbuf, struct stat* stbuf)
138 fuse_getattr(const char* path, struct stat* stbuf)
182 struct stat st;
511 struct stat sbuf;
512 if ((stat(device, &sbuf) == 0) && S_ISBLK(sbuf.st_mode)) {
H A Dunistd.cpp26 # include <sys/stat.h>
217 struct stat status;
268 struct stat status;
H A Dvfs.h89 fssh_status_t vfs_stat_vnode(void *_vnode, struct fssh_stat *stat);
/haiku/src/system/libroot/os/
H A Dfind_directory.cpp27 #include <sys/stat.h>
212 struct stat st;
222 if (stat(buffer, &st) < 0) {
284 struct stat st;
504 if (createIt && stat(buffer, &st) < 0) {
/haiku/src/system/libroot/posix/
H A Dglob.c75 #include <sys/stat.h>
148 static int g_lstat(Char *, struct stat *, glob_t *);
154 static int g_stat(Char *, struct stat *, glob_t *);
555 struct stat sb;
850 g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
864 g_stat(Char *fn, struct stat *sb, glob_t *pglob)
874 return(stat(buf, sb));
/haiku/src/add-ons/kernel/file_cache/
H A Dlaunch_speedup.cpp542 struct stat stat; local
543 if (fstat(fd, &stat) != 0) {
548 if (stat.st_size > 32768) {
555 char *buffer = (char *)malloc(stat.st_size);
561 if (read(fd, buffer, stat.st_size) < stat.st_size) {
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/
H A Dif_alc.c3226 struct alc_hw_stats *stat; local
3235 stat = &sc->alc_stats;
3260 stat->rx_frames += smb->rx_frames;
3261 stat->rx_bcast_frames += smb->rx_bcast_frames;
3262 stat->rx_mcast_frames += smb->rx_mcast_frames;
3263 stat->rx_pause_frames += smb->rx_pause_frames;
3264 stat->rx_control_frames += smb->rx_control_frames;
3265 stat->rx_crcerrs += smb->rx_crcerrs;
3266 stat->rx_lenerrs += smb->rx_lenerrs;
3267 stat
[all...]
/haiku/src/kits/tracker/
H A DVirtualDirectoryManager.cpp222 struct stat st;
476 struct stat st;
579 const char* name, entry_ref* _ref, struct stat* _st)
587 struct stat st;
657 struct stat st;
748 struct stat st;
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.cpp152 // The volume is mounted. We can stat() the node to get its type.
153 struct stat st;
191 // stat it -- we need to get the node type
192 struct stat st;
340 BeOSKernelVolume::ReadStat(void* node, struct stat* st)
345 // Haiku's struct stat has an additional st_type field (for an attribute
352 BeOSKernelVolume::WriteStat(void* node, const struct stat *st, uint32 mask)
357 // Haiku's struct stat has an additional st_type field (for an attribute
642 struct stat *st)
656 // translate to struct stat
[all...]
/haiku/src/system/runtime_loader/
H A Dimages.cpp472 struct stat stat; local
483 if (_kern_read_stat(fd, NULL, false, &stat, sizeof(struct stat)) == B_OK) {
484 info.basic_info.device = stat.st_dev;
485 info.basic_info.node = stat.st_ino;
/haiku/headers/private/userlandfs/legacy/
H A Dfsproto.h7 #include <sys/stat.h>
114 typedef int op_rstat(void *ns, void *node, struct stat *);
115 typedef int op_wstat(void *ns, void *node, struct stat *, long mask);
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp427 __pathconf_common(struct statvfs *fs, struct stat *st,
541 struct stat st;
561 struct stat st;
/haiku/headers/private/net/
H A Dnet_stack_interface.h77 struct net_stat *stat);
/haiku/src/system/libroot/posix/glibc/libio/
H A Dvsnprintf.c99 JUMP_INIT(stat, _IO_default_stat),
H A Dvswprintf.c97 JUMP_INIT(stat, _IO_default_stat),
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Inode.h12 #include <sys/stat.h>
/haiku/src/apps/soundrecorder/
H A DFileUtils.cpp28 struct stat src_stat;
31 printf("couldn't get stat: %#010" B_PRIx32 "\n", err);
70 // finish up miscellaneous stat stuff
/haiku/src/apps/mail/
H A DMailSupport.cpp42 #include <sys/stat.h>
/haiku/src/libs/uuid/
H A Dgen_uuid.c44 #include <sys/stat.h>
452 struct stat s;
454 return (!stat("/dev/random", &s) || !stat("/dev/urandom", &s));
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DAutoPackageAttributes.cpp65 virtual status_t ReadAttributeStat(struct stat* st)
/haiku/src/apps/text_search/
H A DInitialIterator.cpp65 struct stat fileStat;
/haiku/headers/build/os/storage/
H A DDirectory.h45 status_t GetStatFor(const char *path, struct stat *st) const;
/haiku/src/kits/storage/
H A DDirectory.cpp17 #include <compat/sys/stat.h>
494 BDirectory::_GetStatFor(const char* path, struct stat* st) const
504 return _kern_read_stat(fDirFd, path, false, st, sizeof(struct stat));
513 struct stat newStat;

Completed in 252 milliseconds

<<11121314151617181920>>