Lines Matching defs:st

766 	struct stat st;
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;
901 fuseError = fuse_ll_statfs(fOps, FUSE_ROOT_ID, &st);
906 fuseError = fuse_fs_statfs(fFS, "/", &st);
914 info->block_size = st.f_bsize;
916 info->total_blocks = st.f_blocks;
917 info->free_blocks = st.f_bfree;
918 info->total_nodes = st.f_files;
919 info->free_nodes = 100; // st.f_favail is ignored by statfs()
1490 FUSEVolume::ReadStat(void* _node, struct stat* st)
1494 st));
1501 st->st_dev = GetID();
1502 st->st_ino = node->id;
1503 st->st_blksize = 2048;
1504 st->st_type = 0;
1508 fuseError = fuse_ll_getattr(fOps, node->id, st);
1522 fuseError = fuse_fs_getattr(fFS, path, st);
1532 FUSEVolume::WriteStat(void* _node, const struct stat* st, uint32 mask)
1536 node, node->id, st, mask));
1544 int fuseError = fuse_ll_setattr(fOps, node->id, st, mask);
1561 int fuseError = fuse_fs_chmod(fFS, path, st->st_mode);
1568 uid_t uid = (mask & B_STAT_UID) != 0 ? st->st_uid : (uid_t)-1;
1569 gid_t gid = (mask & B_STAT_GID) != 0 ? st->st_gid : (gid_t)-1;
1578 int fuseError = fuse_fs_truncate(fFS, path, st->st_size);
1586 {st->st_atime, 0},
1587 {st->st_mtime, 0}
1772 struct stat st;
1773 st.st_size = 0;
1774 fuseError = fuse_ll_setattr(fOps, node->id, &st, FUSE_SET_ATTR_SIZE);
1821 struct stat st;
1823 fuseError = fuse_ll_getattr(fOps, node->id, &st);
1825 fuseError = fuse_fs_getattr(fFS, path, &st);
1830 status_t error = UserlandFS::KernelEmu::file_cache_create(GetID(), node->id, st.st_size);
2593 FUSEVolume::ReadAttrStat(void* _node, void* _cookie, struct stat* st)
2602 st->st_size = cookie->Size();
2603 st->st_type = cookie->Type();
2738 struct stat st;
2740 fuseError = fuse_ll_lookup(fOps, dir->id, entryName, &st);
2752 fuseError = fuse_fs_getattr(fFS, path, &st);
2761 if (entry->node->id == st.st_ino) {
2776 node = fNodes.Lookup(st.st_ino);
2778 st.st_ino = _GenerateNodeID();
2782 node = new(std::nothrow) FUSENode(st.st_ino, st.st_mode & S_IFMT);
3302 const struct stat* st, off_t offset)
3306 ino_t nodeID = st != NULL ? st->st_ino : 0;
3307 int type = st != NULL ? st->st_mode & S_IFMT : 0;
3314 const struct stat* st, off_t offset)
3318 ino_t nodeID = st != NULL ? st->st_ino : 0;
3319 int type = st != NULL ? st->st_mode & S_IFMT : 0;
3374 struct stat st;
3377 fuseError = fuse_ll_getattr(fOps, node->id, &st);
3391 fuseError = fuse_fs_getattr(fFS, path, &st);
3401 type = st.st_mode & S_IFMT;
3506 struct stat st;
3509 fuseError = fuse_ll_getattr(fOps, node->id, &st);
3523 fuseError = fuse_fs_getattr(fFS, path, &st);
3533 type = st.st_mode & S_IFMT;