Searched refs:stat (Results 51 - 75 of 509) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/unistd/
H A Dttyname.c15 #include <sys/stat.h>
31 struct stat fdStat;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h47 //! Get the stat from the attribute
48 status_t Stat(struct stat& stat);
/haiku/src/system/boot/loader/
H A Dload_driver_settings.cpp32 struct stat stat; local
33 if (fstat(fd, &stat) < 0)
36 char* buffer = (char*)kernel_args_malloc(stat.st_size + 1);
40 if (read(fd, buffer, stat.st_size) != stat.st_size) {
52 buffer[stat.st_size] = '\0';
57 file->size = stat.st_size;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DNodeAttribute.h20 status_t Stat(attr_cookie* cookie, struct stat& stat);
H A DShortAttribute.h31 status_t Stat(attr_cookie* cookie, struct stat& stat);
/haiku/src/system/libroot/posix/sys/
H A Dmkdir.c8 #include <sys/stat.h>
/haiku/src/add-ons/kernel/file_systems/shared/
H A DDeviceOpener.cpp116 struct stat stat; local
117 if (fstat(fDevice, &stat) < 0)
121 *_size = stat.st_size;
/haiku/src/system/libroot/posix/
H A Dfcntl.cpp88 struct stat stat; local
89 if (fstat(fd, &stat) < 0)
91 if (S_ISFIFO(stat.st_mode))
/haiku/headers/build/os/storage/
H A DStatable.h12 #include <sys/stat.h>
22 virtual status_t GetStat(struct stat *st) const = 0;
61 virtual status_t set_stat(struct stat &st, uint32 what) = 0;
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNode.h24 Node(Volume* volume, const struct stat& st);
41 const struct stat& GetStat() const;
64 struct stat fStat;
/haiku/src/bin/
H A Dmount.c11 #include <sys/stat.h>
39 struct stat mountStat;
84 if (stat(mountPoint, &mountStat) < 0) {
H A Drmindex.cpp131 stat_index(const char* /*index*/, struct stat* stat) argument
133 memset(stat, 0, sizeof(struct stat));
134 stat->st_mode = S_IFREG;
H A Ddiff_zip.cpp12 #include <sys/stat.h>
27 const struct stat& st);
58 Node(Directory* parent, const string& name, const struct stat& st)
71 const struct stat& Stat() const { return fStat; }
75 bool DoStat(struct stat& st) const
91 struct stat st;
106 diff_status DiffEntry(const string& path, struct stat& st) const
120 fprintf(stderr, "Error: Failed to stat \"%s\": %s\n",
129 struct stat fStat;
135 Directory(Directory* parent, const string& name, const struct stat
[all...]
H A Dfdinfo.cpp153 struct stat stat; local
154 if (::stat(argv[2], &stat) < 0) {
159 device = stat.st_dev;
160 node = stat.st_ino;
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.h9 #include <sys/stat.h>
40 ino_t mountPointNodeID, struct stat& _st);
52 status_t _Init(struct vnode* vnode, struct stat& _st);
/haiku/src/tests/system/libroot/posix/
H A Dtruncate.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/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/
H A Dr21a_rx.c62 struct r12a_rx_phystat *stat = (struct r12a_rx_phystat *)physt; local
65 lna_idx = (stat->cfosho[0] & 0xe0) >> 5;
66 rssi = -6 - 2*(stat->cfosho[0] & 0x1f); /* Pout - (2 * VGA_idx) */
/haiku/src/system/libroot/os/arch/x86/
H A Dcompatibility.c10 #include <sys/stat.h>
95 struct stat stat; local
96 if (fstat(fd, &stat) < 0)
99 device = stat.st_dev;
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSELowLevel.h16 const struct stat* st, off_t offset);
21 struct stat* st);
22 int fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct stat* st);
23 int fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr,
49 int fuse_ll_statfs(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct statvfs* stat);
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp270 udf_read_stat(fs_volume *_volume, fs_vnode *node, struct stat *stat) argument
274 if (!_volume || !node || !stat)
280 stat->st_dev = volume->ID();
281 stat->st_ino = icb->Id();
282 stat->st_nlink = icb->FileLinkCount();
283 stat->st_blksize = volume->BlockSize();
286 stat->st_dev, stat->st_ino, stat
[all...]
/haiku/src/tests/kits/opengl/glsl/
H A Dshaderutil.c50 GLint stat; local
62 glGetShaderiv(shader, GL_COMPILE_STATUS, &stat);
63 if (!stat) {
136 GLint stat; local
137 glGetProgramiv(program, GL_LINK_STATUS, &stat);
138 if (!stat) {
154 GLint stat; local
156 glGetProgramiv(program, GL_VALIDATE_STATUS, &stat);
158 if (!stat) {
166 return (GLboolean) stat;
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp14 // TODO: even after Create(), the attribute cannot be stat() for until the
18 extern void fill_stat_buffer(Inode* inode, struct stat& stat);
181 Attribute::Stat(struct stat& stat) argument
187 fill_stat_buffer(fInode, stat);
190 stat.st_type = fSmall->Type();
191 stat.st_size = fSmall->DataSize();
192 stat.st_mtim = stat
[all...]
/haiku/headers/posix/sys/
H A Dstat.h13 struct stat { struct
31 /* source compatibility with old stat structure */
115 extern int stat(const char *path, struct stat *st);
116 extern int fstat(int fd, struct stat *st);
117 extern int lstat(const char *path, struct stat *st);
118 extern int fstatat(int fd, const char *path, struct stat *st, int flag);
/haiku/src/system/kernel/disk_device_manager/
H A DKFileDiskDevice.cpp56 struct stat st;
57 if (stat(filePath, &st) != 0)
140 struct stat st;
141 if (stat(fFilePath, &st) == 0 && S_ISREG(st.st_mode))
153 struct stat st;
154 if (stat(fFilePath, &st) != 0 || !S_ISREG(st.st_mode))
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_rx.c96 const struct r92c_rx_stat *stat = buf; local
99 if (!(stat->rxdw3 & htole32(R92C_RXDW3_SPLCP)))
102 rate = MS(le32toh(stat->rxdw3), R92C_RXDW3_RATE);
114 const struct r92c_rx_stat *stat = desc; local
118 rxdw1 = le32toh(stat->rxdw1);
119 rxdw3 = le32toh(stat->rxdw3);

Completed in 142 milliseconds

1234567891011>>