Searched refs:st (Results 126 - 150 of 300) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DVirtualVolume.cpp344 VirtualVolume::ReadStat(Node* node, struct stat* st) argument
350 st->st_ino = node->GetID();
351 st->st_mode = S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH
353 st->st_nlink = 1;
354 st->st_size = 1;
355 st->st_blksize = 1024;
356 st->st_crtime = fRootNode->GetCreationTime();
357 st->st_ctime = st->st_mtime = st
367 WriteStat(Node* node, struct stat *st, uint32 mask) argument
[all...]
/haiku/src/add-ons/kernel/drivers/input/wacom/
H A Dwacom.c115 status_t st; local
187 if ((st = usb->set_configuration(dev, conf)) != B_OK) {
189 "set_configuration() returns %" B_PRId32 "\n", st);
197 if ((st = usb->set_alt_interface(dev, ii)) != B_OK) {
199 "set_alt_interface() returns %" B_PRId32 "\n", st);
219 st = usb->send_request(dev, 0x21, 0x0b, 1, 0, 0, 0,
222 if (st < B_OK) {
224 "control transfer 1 failed: %" B_PRId32 "\n", st);
235 st = usb->send_request(dev, 0x21, 0x09, (3 << 8) + 2, 0, 2,
238 if (st < B_O
[all...]
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp427 __pathconf_common(struct statvfs *fs, struct stat *st, argument
438 // TODO: many cases should check for file type from st.
541 struct stat st; local
547 ret = fstat(fd, &st);
553 return __pathconf_common(&fs, &st, name);
561 struct stat st; local
567 ret = lstat(path, &st);
573 return __pathconf_common(&fs, &st, name);
/haiku/src/add-ons/kernel/busses/scsi/53c8xx/
H A D53c8xx.c74 SymTarg *st = (SymTarg *) stats; local
76 if(st->flags & tf_ignore){
82 if(st->offset){
88 st->wide ? "Wide" : "Narrow",
89 st->period,
90 st->offset
96 st->wide ? "Wide" : "Narrow");
250 /*#define PPHADDR(ptr) (st->priv_phys + (((uint32) ptr) - ((uint32) st->priv)))*/
278 * you MUST hold st
281 exec_io(SymTarg *st, void *cmd, int cmdlen, void *msg, int msglen, void *data, int datalen, int sg) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp679 ramfs_read_stat(fs_volume* _volume, fs_vnode* _node, struct stat *st) argument
688 st->st_dev = volume->GetID();
689 st->st_ino = node->GetID();
690 st->st_mode = node->GetMode();
691 st->st_nlink = node->GetRefCount();
692 st->st_uid = node->GetUID();
693 st->st_gid = node->GetGID();
694 st->st_size = node->GetSize();
695 st->st_blksize = kOptimalIOSize;
696 st
709 ramfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat *st, uint32 mask) argument
1753 ramfs_read_attr_stat(fs_volume* _volume, fs_vnode* _node, void* _cookie, struct stat *st) argument
1999 ramfs_read_index_stat(fs_volume* _volume, const char *name, struct stat *st) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfile.cpp184 dosfs_rstat(fs_volume *_vol, fs_vnode *_node, struct stat *st) argument
193 st->st_dev = vol->id;
194 st->st_ino = node->vnid;
195 st->st_mode = make_mode(vol, node);
197 st->st_nlink = 1;
198 st->st_uid = 0;
199 st->st_gid = 0;
200 st->st_size = node->st_size;
201 st->st_blocks = (node->st_size + 511) / 512;
202 st
214 dosfs_wstat(fs_volume *_vol, fs_vnode *_node, const struct stat *st, uint32 mask) argument
[all...]
H A Dfile.h15 status_t dosfs_rstat(fs_volume *_vol, fs_vnode *_node, struct stat *st);
32 status_t dosfs_wstat(fs_volume *vol, fs_vnode *node, const struct stat *st,
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dkernel_interface.cpp326 reiserfs_read_stat(fs_volume *fs, fs_vnode *_node, struct stat *st) argument
335 st->st_dev = volume->GetID();
336 st->st_ino = node->GetID();
337 st->st_mode = statData->GetMode();
338 st->st_nlink = statData->GetNLink();
339 st->st_uid = statData->GetUID();
340 st->st_gid = statData->GetGID();
341 st->st_size = statData->GetSize();
342 st->st_blksize = kOptimalIOSize;
343 st
[all...]
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c143 struct stat st; local
144 return stat(dir, &st) == 0 && S_ISDIR(st.st_mode);
239 struct stat st; local
312 if (stat(tmpl, &st) < 0)
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp166 struct stat st; local
167 if (fstat(fd, &st) < 0) {
172 int64 blockCount = st.st_size / blockSize;
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DUnpackingAttributeCookie.cpp109 UnpackingAttributeCookie::ReadAttributeStat(struct stat* st) argument
111 st->st_size = fAttribute->Data().UncompressedSize();
112 st->st_type = fAttribute->Type();
/haiku/src/kits/debug/
H A DTeamDebugger.cpp196 struct stat st; local
197 if (stat(path.Path(), &st) == 0 && S_ISREG(st.st_mode)) {
/haiku/src/bin/debug/
H A Ddebug_utils.cpp57 struct stat st; local
58 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) {
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dduckduckgo_request.cpp87 struct stat st; local
92 if (fstat(fd, &st) < 0) {
96 cnx->datalen = st.st_size;
/haiku/src/system/boot/loader/
H A Dpackage_support.cpp292 struct stat st; local
293 if (get_stat(packagesDirectory, packagePath.Get(), st) == B_OK
294 && S_ISREG(st.st_mode)) {
341 struct stat st; local
342 if (fstat(fd.Get(), &st) != 0)
344 if (!S_ISREG(st.st_mode))
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DVolume.cpp109 struct stat st; local
110 status_t error = ReadStat(node, &st);
149 if (st.st_ino == entry->d_ino) {
314 Volume::ReadStat(void* node, struct stat* st) argument
321 Volume::WriteStat(void* node, const struct stat *st, uint32 mask) argument
521 Volume::ReadAttrStat(void* node, void* cookie, struct stat *st) argument
528 Volume::WriteAttrStat(void* node, void* cookie, const struct stat* st, argument
605 Volume::ReadIndexStat(const char *name, struct stat *st) argument
/haiku/src/build/libroot/
H A Dremapped_functions.h15 int _haiku_build_fstat(int fd, struct stat* st);
16 int _haiku_build_fstatat(int fd, const char* path, struct stat* st,
/haiku/headers/build/os/storage/
H A DEntry.h56 virtual status_t GetStat(struct stat *st) const;
97 virtual status_t set_stat(struct stat &st, uint32 what);
H A DNode.h61 virtual status_t GetStat(struct stat *st) const;
114 virtual status_t set_stat(struct stat &st, uint32 what);
/haiku/src/kits/tracker/
H A DVirtualDirectoryPoseView.cpp230 struct stat st; local
232 if (!_GetEntry(entryRef.name, visibleEntryRef, &st)
241 bool entryTranslated = S_ISDIR(st.st_mode);
345 struct stat st; local
348 if (_GetEntry(actualEntryRef->name, visibleEntryRef, &st)) {
350 visibleNodeRef = node_ref(st.st_dev, st.st_ino);
351 if (S_ISDIR(st.st_mode)) {
/haiku/src/add-ons/kernel/file_systems/packagefs/
H A Dkernel_interface.cpp305 packagefs_read_stat(fs_volume* fsVolume, fs_vnode* fsNode, struct stat* st) argument
316 st->st_mode = node->Mode();
317 st->st_nlink = 1;
318 st->st_uid = node->UserID();
319 st->st_gid = node->GroupID();
320 st->st_size = node->FileSize();
321 st->st_blksize = kOptimalIOSize;
322 st->st_mtim = node->ModifiedTime();
323 st->st_atim = st
819 packagefs_read_attr_stat(fs_volume* fsVolume, fs_vnode* fsNode, void* _cookie, struct stat* st) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dif_bwi.c2045 struct bwi_txstats_data *st; local
2049 st = malloc(sizeof(*st), M_DEVBUF, M_NOWAIT | M_ZERO);
2050 if (st == NULL) {
2054 sc->sc_txstats = st;
2072 &st->stats_ring_dtag);
2079 error = bus_dmamem_alloc(st->stats_ring_dtag, &st->stats_ring,
2081 &st->stats_ring_dmap);
2085 bus_dma_tag_destroy(st
2154 struct bwi_txstats_data *st; local
2409 struct bwi_txstats_data *st = sc->sc_txstats; local
3372 struct bwi_txstats_data *st = sc->sc_txstats; local
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp766 struct stat st; local
770 fuseError = fuse_ll_getattr(fOps, FUSE_ROOT_ID, &st);
772 fuseError = fuse_fs_getattr(fFS, "/", &st);
778 st.st_ino = FUSE_ROOT_ID;
782 FUSENode* node = new(std::nothrow) FUSENode(st.st_ino, st.st_mode & S_IFMT);
897 struct statvfs st; local
901 fuseError = fuse_ll_statfs(fOps, FUSE_ROOT_ID, &st);
906 fuseError = fuse_fs_statfs(fFS, "/", &st);
914 info->block_size = st
1490 ReadStat(void* _node, struct stat* st) argument
1532 WriteStat(void* _node, const struct stat* st, uint32 mask) argument
1772 struct stat st; local
2593 ReadAttrStat(void* _node, void* _cookie, struct stat* st) argument
2738 struct stat st; local
3301 _AddReadDirEntryLowLevel(void* _buffer, char* buf, size_t bufsize, const char* name, const struct stat* st, off_t offset) argument
3313 _AddReadDirEntry(void* _buffer, const char* name, const struct stat* st, off_t offset) argument
3374 struct stat st; local
3506 struct stat st; local
[all...]
/haiku/src/add-ons/accelerants/3dfx/
H A Daccelerant.h95 status_t AcquireEngine(uint32 capabilities, uint32 max_wait, sync_token* st,
97 status_t ReleaseEngine(engine_token* et, sync_token* st);
99 status_t GetSyncToken(engine_token* et, sync_token* st);
100 status_t SyncToToken(sync_token* st);
/haiku/src/add-ons/accelerants/ati/
H A Daccelerant.h134 status_t AcquireEngine(uint32 capabilities, uint32 max_wait, sync_token* st,
136 status_t ReleaseEngine(engine_token* et, sync_token* st);
138 status_t GetSyncToken(engine_token* et, sync_token* st);
139 status_t SyncToToken(sync_token* st);

Completed in 234 milliseconds

1234567891011>>