/haiku/src/system/libroot/posix/sys/ |
H A D | stat.c | 56 fstatat(int fd, const char *path, struct stat *st, int flag) argument 59 st, sizeof(struct stat));
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | proto_common.c | 65 status_t st=(*udi->usb_m->clear_feature)(pipe, USB_FEATURE_ENDPOINT_HALT); local 66 TRACE_ALWAYS("clear_on_STALL:%08x\n",st);
|
/haiku/src/system/libroot/os/ |
H A D | find_paths.cpp | 245 struct stat st; local 246 if (lstat(path, &st) != 0) 320 struct stat st; local 321 if (lstat(buffer, &st) != 0) 337 struct stat st; local 338 if (lstat(buffer, &st) == 0) 486 struct stat st; local 487 if (lstat(path, &st) != 0)
|
/haiku/src/libs/bsd/ |
H A D | unvis.c | 204 unsigned char st, ia, is, lc; local 216 st = GS(*astate); 219 switch (st) { 232 switch (st) {
|
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | PackageFSRoot.cpp | 120 struct stat st; local 121 error = vfs_stat_vnode(vnode, &st); 130 error = PackageFSRoot::_GetOrCreateRoot(st.st_dev, st.st_ino, root);
|
H A D | Volume.cpp | 367 struct stat st; local 369 fMountPoint.nodeID, st); 402 = new(std::nothrow) ::RootDirectory(kRootDirectoryID, st.st_mtim); 826 struct stat st; local 827 if (fstat(fd.Get(), &st) != 0) { 833 if (st.st_size > (off_t)kMaxActivationFileSize) { 838 char* fileContent = (char*)malloc(st.st_size + 1); 843 ssize_t bytesRead = read(fd.Get(), fileContent, st.st_size); 849 if (bytesRead != st.st_size) { 855 fileContent[st 1478 struct stat st; local 1796 struct stat st; local [all...] |
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | cache.S | 15 dsb st /* ensure write has completed*/
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.h | 77 struct stat st; /* including S_IFDIR in st_mode */ member in struct:fs_node
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | Volume.cpp | 164 struct stat st; local 165 error = rootDir.GetStat(&st); 170 fRootDir = new(std::nothrow) Directory(this, st);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Inode.h | 68 status_t Stat(struct stat* st, 70 status_t WriteStat(const struct stat* st, uint32 mask, 140 status_t GetStat(struct stat* st,
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 66 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, 76 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", 77 __func__, sc, st, (void*) sh); 87 ar5212InitState(ahp, devid, sc, st, sh, status); 65 ar5312Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, HAL_STATUS *status) argument
|
/haiku/src/bin/pkgman/ |
H A D | command_resolve_dependencies.cpp | 155 struct stat st; local 156 if (stat(path, &st) != 0) 159 if (S_ISDIR(st.st_mode))
|
/haiku/src/build/libroot/ |
H A D | fs_attr_haiku.cpp | 266 struct stat st; local 267 status_t error = _kern_read_stat(fd, path, false, &st, 273 NodeRef ref(st);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9001/ |
H A D | ar9130_attach.c | 74 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, 85 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", 86 __func__, sc, (void*) st, (void*) sh); 96 ar5416InitState(ahp5416, devid, sc, st, sh, status); 73 ar9130Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, HAL_STATUS *status) argument
|
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/ |
H A D | Query.cpp | 192 struct stat st; local 193 error = cookie->ReadAttributeStat(&st); 195 *_type = st.st_type;
|
/haiku/src/kits/package/manager/ |
H A D | RepositoryBuilder.cpp | 228 struct stat st; local 229 if (stat(entryPath.Path(), &st) != 0) 232 if (!S_ISREG(st.st_mode))
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 145 struct stat st; local 146 if (fstat(fImageFD, &st) < 0) { 151 fImageSize = st.st_size;
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 1679 struct stat st; local 1685 st.st_size = 0; 1691 st.st_size = -1; 1692 st.st_blksize = BUFSIZ; 1705 if (fstat(fileno(fin), &st) < 0) { 1709 if (!S_ISREG(st.st_mode)) { 1717 if (S_ISDIR(st.st_mode) || guest) { 1721 st.st_size = -1; 1722 /* st.st_blksize is set for all descriptor types */ 1745 dout = dataconn(name, st [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 439 userlandfs_read_stat(fs_volume* fsVolume, fs_vnode* fsNode, struct stat* st) argument 443 st)); 444 status_t error = volume->ReadStat(fsNode->private_node, st); 452 const struct stat* st, uint32 mask) 456 fsNode->private_node, st, mask)); 457 status_t error = volume->WriteStat(fsNode->private_node, st, mask); 819 struct stat* st) 823 fsNode->private_node, cookie, st)); 824 status_t error = volume->ReadAttrStat(fsNode->private_node, cookie, st); 832 const struct stat* st, in 451 userlandfs_write_stat(fs_volume* fsVolume, fs_vnode* fsNode, const struct stat* st, uint32 mask) argument 818 userlandfs_read_attr_stat(fs_volume* fsVolume, fs_vnode* fsNode, void* cookie, struct stat* st) argument 831 userlandfs_write_attr_stat(fs_volume* fsVolume, fs_vnode* fsNode, void* cookie, const struct stat* st, int statMask) argument 960 userlandfs_read_index_stat(fs_volume* fsVolume, const char* name, struct stat* st) argument [all...] |
/haiku/headers/libs/agg/ |
H A D | agg_math.h | 230 template<class Storage> double calc_polygon_area(const Storage& st) 234 double x = st[0].x; 235 double y = st[0].y; 239 for(i = 1; i < st.size(); i++) 241 const typename Storage::value_type& v = st[i];
|
/haiku/src/kits/storage/ |
H A D | PathMonitor.cpp | 174 struct stat st; local 175 error = entry.GetStat(&st); 179 fNodeRef = node_ref(st.st_dev, st.st_ino); 180 fIsDirectory = S_ISDIR(st.st_mode); 1079 struct stat st; local 1080 if (entry.SetTo(&entryRef) != B_OK || entry.GetStat(&st) != B_OK 1081 || nodeRef != node_ref(st.st_dev, st.st_ino)) { 1085 _EntryCreated(entryRef, nodeRef, S_ISDIR(st 1146 struct stat st; local 1707 struct stat st; local [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSELowLevel.cpp | 85 struct stat* st) 93 *st = request.fReplyEntry.attr; 94 st->st_ino = request.fReplyEntry.ino; 100 fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct stat* st) argument 106 request.fReplyAttr = st; 84 fuse_ll_lookup(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name, struct stat* st) argument
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixDatagramEndpoint.cpp | 533 struct stat st; local 534 status_t error = vfs_read_stat(-1, address->sun_path, true, &st, 539 if (!S_ISSOCK(st.st_mode)) 542 unixAddress.SetTo(st.st_dev, st.st_ino, NULL);
|
/haiku/src/system/runtime_loader/ |
H A D | runtime_loader.cpp | 495 struct stat st; local 496 if (_kern_read_stat(fd, NULL, true, &st, sizeof(st)) != B_OK) 501 B_ANY_ADDRESS, st.st_size, B_READ_AREA, REGION_NO_PRIVATE_MAP, false, 527 if (elfHeader.e_shoff + (off_t)sectionHeadersSize > st.st_size) 545 > st.st_size) { 611 if (fileOffset + (off_t)sizeof(uint32) <= st.st_size) {
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditWindow.cpp | 829 struct stat st; local 832 && (status = file.GetStat(&st)) == B_OK) { 834 if (!((getuid() == st.st_uid && (S_IWUSR & st.st_mode)) 835 || (getgid() == st.st_gid && (S_IWGRP & st.st_mode)) 836 || (S_IWOTH & st.st_mode))) { 1547 struct stat st; local 1548 if (file.InitCheck() == B_OK && file.GetStat(&st) == B_OK) { 1549 bool editable = (getuid() == st 1706 struct stat st; local [all...] |