Searched refs:stat (Results 26 - 50 of 509) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/os/
H A Dfs_info.cpp22 struct stat stat; local
23 int status = _kern_read_stat(-1, path, true, &stat, sizeof(struct stat));
25 return stat.st_dev;
/haiku/src/tests/system/kernel/
H A Dcow_bug113_test.cpp3 #include <sys/stat.h>
35 struct stat st;
36 stat(globalVar, &st);
H A Dpath_resolution_test.cpp7 #include <sys/stat.h>
21 struct stat st;
40 "/boot/develop/headers/posix/sys/stat.h",
/haiku/src/tests/system/libroot/posix/
H A Dchmod.cpp13 #include <sys/stat.h>
28 struct stat st;
29 if (stat(argv[1], &st) != 0) {
30 fprintf(stderr, "%s: cannot stat file \"%s\": %s\n", __progname,
/haiku/src/bin/
H A Dunmount.c11 #include <sys/stat.h>
32 struct stat pathStat;
62 if (stat(path, &pathStat) < 0) {
H A Drmattr.cpp49 stat_attr(const char* /*attribute*/, struct stat* stat) argument
51 memset(stat, 0, sizeof(struct stat));
52 stat->st_mode = S_IFREG;
/haiku/headers/posix/
H A Dglob.h39 struct stat;
51 * versions of closedir(3), readdir(3), opendir(3), stat(2)
57 int (*gl_lstat)(const char *, struct stat *);
58 int (*gl_stat)(const char *, struct stat *);
/haiku/src/tools/fs_shell/
H A Dstat.cpp12 #include <sys/stat.h>
28 bool traverseLink, struct stat *st, size_t statSize);
35 struct stat st;
40 if (::stat(path, &st) < 0)
59 struct stat st;
83 struct stat st;
/haiku/headers/os/storage/
H A DEntry.h10 #include <sys/stat.h>
55 virtual status_t GetStat(struct stat* stat) const;
94 virtual status_t set_stat(struct stat& stat, uint32 what);
103 status_t _GetStat(struct stat* stat) const;
104 virtual status_t _GetStat(struct stat_beos* stat) const;
H A DNode.h45 virtual status_t GetStat(struct stat* st) const;
103 virtual status_t set_stat(struct stat& stat, uint32 what);
105 status_t _GetStat(struct stat* stat) const;
106 virtual status_t _GetStat(struct stat_beos* stat) const;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DAttribute.h29 virtual status_t Stat(attr_cookie* cookie, struct stat& stat) = 0;
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_brooktreetv.c54 uint8 stat; local
124 stat = i2c_flag_error(0);
125 if (stat)
128 return stat;
164 uint8 id, type, stat; local
182 stat = i2c_flag_error(0);
183 if (stat) return stat;
197 stat = i2c_flag_error(0);
198 if (stat) retur
255 uint8 stat; local
285 uint8 stat; local
343 uint8 stat; local
401 uint8 stat; local
459 uint8 stat; local
517 uint8 stat; local
575 uint8 stat; local
675 uint8 stat; local
785 uint8 stat; local
879 uint8 stat; local
907 uint8 stat; local
1000 uint8 stat, hoffset; local
1110 uint8 stat; local
1209 uint8 stat; local
1292 uint8 stat; local
[all...]
/haiku/headers/build/host/freebsd/sys/
H A Dstat.h5 #include_next <sys/stat.h>
/haiku/src/system/libroot/posix/sys/
H A Dmkfifo.c8 #include <sys/stat.h>
H A Dumask.c7 #include <sys/stat.h>
H A Dmknod.c8 #include <sys/stat.h>
/haiku/headers/private/system/
H A Dvfs_defs.h14 #include <sys/stat.h>
/haiku/src/build/libroot/
H A Dfs_descriptors.h19 struct stat;
31 virtual status_t GetStat(bool traverseLink, struct stat *st) = 0;
46 virtual status_t GetStat(bool traverseLink, struct stat *st);
61 virtual status_t GetStat(bool traverseLink, struct stat *st);
74 virtual status_t GetStat(bool traverseLink, struct stat *st);
97 virtual status_t GetStat(bool traverseLink, struct stat* st);
116 virtual status_t GetStat(bool traverseLink, struct stat *st);
H A Dfind_directory.cpp14 #include <sys/stat.h>
41 struct stat st;
51 if (stat(buffer, &st) < 0) {
90 struct stat st;
91 if (createIt && stat(path, &st) < 0)
H A DNodeRef.h8 #include <sys/stat.h>
22 NodeRef(const struct stat &st)
/haiku/src/tests/system/boot/loader/
H A DHandle.cpp114 struct stat stat; local
115 if (fstat(fHandle, &stat) == B_OK) {
116 if (stat.st_size == 0) {
121 return stat.st_size;
/haiku/src/bin/network/netstat/
H A Dnetstat.cpp231 net_stat stat; local
232 while (_kern_get_next_socket_stat(family, &cookie, &stat) == B_OK) {
243 || stat.protocol != IPPROTO_TCP)
245 || stat.protocol != IPPROTO_UDP))
250 || strcmp(stat.state, "listen") != 0)
254 protoent* proto = getprotobynumber(stat.protocol);
258 printf("%-6d ", stat.protocol);
260 printf("%6lu ", stat.receive_queue_size);
261 printf("%6lu ", stat.send_queue_size);
263 inet_print_address((sockaddr*)&stat
[all...]
/haiku/src/apps/diskprobe/
H A DFileWindow.cpp35 struct stat stat; local
36 if (entry.GetStat(&stat) == B_OK && (S_ISBLK(stat.st_mode)
37 || S_ISCHR(stat.st_mode))) {
44 BVolume volume(stat.st_dev);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h25 #include <sys/stat.h>
75 struct stat st;
94 extern void get_nfs_attr(struct XDRInPacket *reply, struct stat *st);
95 extern status_t nfs_lookup(fs_nspace *ns, const nfs_fhandle *dir, const char *filename, nfs_fhandle *fhandle, struct stat *st);
96 extern status_t nfs_truncate_file(fs_nspace *ns, const nfs_fhandle *fhandle, struct stat *st);
100 extern status_t nfs_getattr(fs_nspace *ns, const nfs_fhandle *fhandle, struct stat *st);
/haiku/headers/build/host/darwin/sys/
H A Dstat.h5 #include_next <sys/stat.h>
33 int fstatat(int fd, const char *path, struct stat *st, int flag);

Completed in 108 milliseconds

1234567891011>>