Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/update/sys_installer/services/module_update/src/
H A Dmodule_loop.cpp249 struct statfs stbuf; in SetUpLoopDevice() local
251 if (statfs(realPath.c_str(), &stbuf) != 0 || in SetUpLoopDevice()
252 (stbuf.f_type != EROFS_SUPER_MAGIC_V1 && in SetUpLoopDevice()
253 stbuf.f_type != SQUASHFS_MAGIC && in SetUpLoopDevice()
254 stbuf.f_type != OVERLAYFS_SUPER_MAGIC && in SetUpLoopDevice()
255 stbuf.f_type != EXT4_SUPER_MAGIC)) { in SetUpLoopDevice()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
H A Dfuse_mock.cpp44 const char *name, const struct stat *stbuf, off_t off);
265 const char *name, const struct stat *stbuf, off_t off) in fuse_add_direntry() argument
270 … return (*reinterpret_cast<FuseAddDirentryT>(rawFunc))(req, buf, bufsize, name, stbuf, off); in fuse_add_direntry()
279 return (*func)(req, buf, bufsize, name, stbuf, off); in fuse_add_direntry()
H A Dfuse_daemon_test.cpp82 const char *name, const struct stat *stbuf, off_t off) in FuseAddDirentryMockCurDirFail() argument
88 (void)stbuf; in FuseAddDirentryMockCurDirFail()
94 const char *name, const struct stat *stbuf, off_t off) in FuseAddDirentryMockUpperDirFail() argument
99 (void)stbuf; in FuseAddDirentryMockUpperDirFail()
108 const char *name, const struct stat *stbuf, off_t off) in FuseAddDirentryMockTestFileFail() argument
113 (void)stbuf; in FuseAddDirentryMockTestFileFail()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp402 static void GetMetaAttr(struct FuseData *data, shared_ptr<CloudInode> ino, struct stat *stbuf) in GetMetaAttr() argument
405 stbuf->st_ino = static_cast<fuse_ino_t>(CloudDisk::CloudFileUtils::DentryHash(inoKey)); in GetMetaAttr()
406 stbuf->st_uid = OID_USER_DATA_RW; in GetMetaAttr()
407 stbuf->st_gid = OID_USER_DATA_RW; in GetMetaAttr()
408 stbuf->st_mtime = static_cast<int64_t>(ino->mBase->mtime); in GetMetaAttr()
410 stbuf->st_mode = S_IFDIR | STAT_MODE_DIR; in GetMetaAttr()
411 stbuf->st_nlink = STAT_NLINK_DIR; in GetMetaAttr()
414 stbuf->st_mode = S_IFREG | STAT_MODE_REG; in GetMetaAttr()
415 stbuf->st_nlink = STAT_NLINK_REG; in GetMetaAttr()
416 stbuf->st_size = static_cast<decltype(stbuf->st_size)>(ino->mBase->size); in GetMetaAttr()
[all …]