Searched refs:stat (Results 76 - 100 of 509) sorted by relevance

1234567891011>>

/haiku/src/bin/network/mount_nfs/
H A Dmount_nfs.cpp3 #include <sys/stat.h>
54 struct stat st;
55 if (stat(argv[2],&st)<B_NO_ERROR)
/haiku/src/bin/
H A Dunchop.c22 #include <sys/stat.h>
142 struct stat e;
144 if (stat(fname, &e) == -1) {
H A Dchop.c49 #include <sys/stat.h>
130 struct stat e;
135 if (stat(fname, &e) == -1) {
160 if (stat(buf, &e) >= 0) {
/haiku/src/add-ons/kernel/file_systems/bindfs/
H A DVolume.cpp13 #include <sys/stat.h>
71 struct stat st;
72 if ((stat(source, &st)) != 0)
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.cpp52 ino_t mountPointNodeID, struct stat& _st)
96 struct stat st;
102 PackagesDirectory::_Init(struct vnode* vnode, struct stat& _st)
114 struct stat& st = _st;
/haiku/src/apps/expander/
H A DDirectoryFilePanel.cpp20 #include <compat/sys/stat.h>
30 struct stat_beos* stat, const char* mimeType)
32 if (S_ISDIR(stat->st_mode))
35 if (S_ISLNK(stat->st_mode)) {
29 Filter(const entry_ref* ref, BNode* node, struct stat_beos* stat, const char* mimeType) argument
/haiku/src/build/libroot/
H A DLocalFD.h46 struct stat st;
/haiku/src/tools/anyboot/
H A Danyboot.cpp20 #include <sys/stat.h>
237 struct stat stat;
238 int result = fstat(isoFileHandle, &stat);
239 checkError(result != 0, "failed to stat ISO file");
240 off_t isoSize = stat.st_size;
254 result = fstat(efiFileHandle, &stat);
255 checkError(result != 0, "failed to stat EFI filesystem image");
256 efiSize = stat.st_size;
262 result = fstat(imageFileHandle, &stat);
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dfifo_test.cpp4 #include <sys/stat.h>
/haiku/src/add-ons/kernel/file_systems/xfs/
H A Dkernel_interface.cpp234 xfs_read_stat(fs_volume *_volume, fs_vnode *_node, struct stat *stat) argument
238 stat->st_dev = inode->GetVolume()->ID();
239 stat->st_ino = inode->ID();
240 stat->st_nlink = 1;
241 stat->st_blksize = XFS_IO_SIZE;
243 stat->st_uid = inode->UserId();
244 stat->st_gid = inode->GroupId();
245 stat->st_mode = inode->Mode();
246 stat
622 xfs_read_attr_stat(fs_volume *_volume, fs_vnode *_node, void *_cookie, struct stat *stat) argument
643 xfs_write_attr_stat(fs_volume *_volume, fs_vnode *_node, void *cookie, const struct stat *stat, int statMask) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_rx.c197 struct r92c_rx_stat *stat; local
200 stat = mtod(m, struct r92c_rx_stat *);
201 rxdw1 = le32toh(stat->rxdw1);
227 const struct r92c_rx_stat *stat = buf; local
230 if (!(stat->rxdw4 & htole32(R12A_RXDW4_SPLCP)))
232 rate = MS(le32toh(stat->rxdw3), R12A_RXDW3_RATE);
244 const struct r92c_rx_stat *stat = desc; local
249 rxdw0 = le32toh(stat->rxdw0);
250 rxdw1 = le32toh(stat->rxdw1);
251 rxdw3 = le32toh(stat
[all...]
/haiku/src/system/kernel/device_manager/
H A Dlegacy_drivers.cpp190 status_t GetNext(KPath &path, struct stat &stat);
577 struct stat stat; local
582 stat.st_dev = -1;
583 stat.st_ino = -1;
585 if (::stat(path, &stat) != 0)
636 driver->device = stat.st_dev;
637 driver->node = stat
683 struct stat stat; local
967 GetNext(KPath& path, struct stat& stat) argument
1118 struct stat stat; local
1196 struct stat stat; local
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.h37 status_t Stat(struct stat& stat);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.h69 #define TRACE_BULK_CALLBACK(stat, len)\
70 { if(b_log_bulk_cb) TRACE("B_CB:status:%08x;length:%d\n", stat, len); }
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DGlobalFunctions.cpp98 struct stat b;
100 if (stat(spANSI, &b) != 0)
/haiku/src/system/kernel/vm/
H A DVMUtils.cpp49 struct stat dummy;
51 if (stat(path, &dummy) != 0)
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dattr.h24 struct stat *stat);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dplugin.h38 struct stat;
53 * into a struct stat. The returned st_mode must at least
60 struct stat *stbuf);
/haiku/src/kits/print/
H A DBeUtils.cpp66 struct stat buf;
67 err = stat(outPath.Path(), &buf);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/
H A Dr12au_rx.c64 struct r92c_rx_stat *stat = buf; local
65 uint32_t rxdw2 = le32toh(stat->rxdw2);
/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp12 #include <sys/stat.h>
51 struct stat stat; local
52 if (fstat(sLog, &stat) == 0) {
53 if (stat.st_size < (off_t)sLogMaxSize)
/haiku/src/tools/mbrtool/
H A Dmbrtool.cpp18 #include <sys/stat.h>
194 struct stat stat;
195 int result = fstat(imageFileHandle, &stat);
196 checkError(result != 0, "failed to stat image file");
197 off_t imageSize = stat.st_size;
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c4 #include <sys/stat.h>
23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h)
26 struct stat st;
34 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) {
123 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags)
/haiku/headers/build/private/kernel/
H A Dsyscalls.h51 struct stat;
95 bool traverseLink, struct stat *stat, size_t statSize);
97 bool traverseLink, const struct stat *stat,
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dkernel_interface.cpp232 ufs2_read_stat(fs_volume *_volume, fs_vnode *_node, struct stat *stat) argument
235 stat->st_dev = inode->GetVolume()->ID();
236 stat->st_ino = inode->ID();
237 stat->st_nlink = inode->LinkCount();
238 stat->st_blksize = 65536;
240 stat->st_uid = inode->UserID();
241 stat->st_gid = inode->GroupID();
242 stat->st_mode = inode->Mode();
243 stat
533 ufs2_read_attr_stat(fs_volume *_volume, fs_vnode *_node, void *_cookie, struct stat *stat) argument
541 ufs2_write_attr_stat(fs_volume *_volume, fs_vnode *_node, void *cookie, const struct stat *stat, int statMask) argument
[all...]

Completed in 223 milliseconds

1234567891011>>