Home
last modified time | relevance | path

Searched refs:S32 (Results 1 - 25 of 35) sorted by relevance

12

/kernel/uniproton/src/fs/vfs/
H A Dvfs_operations.h38 S32 OsVfsLock(void);
40 S32 OsVfsOpen(const char *path, S32 flags, va_list ap);
41 S32 OsVfsClose(S32 fd);
42 ssize_t OsVfsRead(S32 fd, char *buff, size_t bytes);
43 ssize_t OsVfsWrite(S32 fd, const void *buff, size_t bytes);
44 off_t OsVfsLseek(S32 fd, off_t off, S32 whence);
45 S32 OsVfsSta
[all...]
H A Dvfs_files.h35 S32 (*open)(struct TagFile *, const char *, S32);
36 S32 (*close)(struct TagFile *);
39 off_t (*lseek)(struct TagFile *, off_t, S32);
40 S32 (*stat)(struct TagMountPoint *, const char *, struct stat *);
41 S32 (*truncate)(struct TagFile *, off_t);
42 S32 (*unlink)(struct TagMountPoint *, const char *);
43 S32 (*rename)(struct TagMountPoint *, const char *, const char *);
44 S32 (*ioctl)(struct TagFile *, S32, uintptr_
[all...]
H A Dvfs_partition.c26 S32 OsGetPartIdByPartName(const char *partName) in OsGetPartIdByPartName()
41 S32 OsGetDevIdByDevName(const char *dev) in OsGetDevIdByDevName()
81 static S32 OsAddDevice(const char *dev, const char *fsType, S32 *lengthArray, in OsAddDevice()
82 S32 *addrArray, S32 partNum) in OsAddDevice()
104 prev->dAddrArray = (S32 *)malloc(partNum * sizeof(S32)); in OsAddDevice()
110 (void)memcpy_s(prev->dAddrArray, partNum * sizeof(S32), addrArray, partNum * sizeof(S32)); in OsAddDevice()
[all...]
H A Dvfs_mount.h26 S32 (*mount)(struct TagMountPoint *mp, uintptr_t mountflags, const void *data);
27 S32 (*umount)(struct TagMountPoint *mp);
28 S32 (*umount2)(struct TagMountPoint *mp, S32 flag);
29 S32 (*statfs)(const char *path, struct statfs *buf);
42 S32 OsVfsMount(const char *source, const char *target,
45 S32 OsVfsUmount(const char *target);
46 S32 OsVfsUmount2(const char *target, S32 flag);
48 S32 OsVfsFindMountPoin
[all...]
H A Dvfs_maps.h24 S32 (*fdisk)(const char *dev, S32 *lengthArray, S32 partNum);
25 S32 (*format)(const char *partName, void *data);
37 S32 OsFsRegister(const char *fsType, struct TagMountOps *fsMops,
40 S32 OsVfsFsMgtDisk(const char *dev, const char *fsType, S32 *lengthArray, S32 partNum);
41 S32 OsVfsFsMgtFormat(const char *partName, char *fsType, void *data);
H A Dvfs_fs.c43 S32 OsVfsLock(void) in OsVfsLock()
45 S32 ret = pthread_mutex_lock(&g_vfsMutex); in OsVfsLock()
58 S32 OsVfsOpen(const char *path, S32 flags, va_list ap) in OsVfsOpen()
62 S32 fd = -1; in OsVfsOpen()
127 static struct TagFile *OsVfsAttachFile(S32 fd, U32 status) in OsVfsAttachFile()
158 static struct TagFile *OsVfsAttachFileReady(S32 fd) in OsVfsAttachFileReady()
163 static struct TagFile *OsVfsAttachFileWithStatus(S32 fd, S32 status) in OsVfsAttachFileWithStatus()
174 S32 OsVfsClos
[all...]
H A Dvfs_mount.c47 static S32 OsVfsFindMpByPath(const char *mPath, const char *iPath) in OsVfsFindMpByPath()
50 S32 matches = 0; in OsVfsFindMpByPath()
87 S32 bestMatches = 0; in OsVfsFindMp()
88 S32 matches; in OsVfsFindMp()
118 S32 OsVfsFindMountPoint(const char *fsType) in OsVfsFindMountPoint()
144 S32 OsVfsMount(const char *source, const char *target, in OsVfsMount()
148 S32 ret; in OsVfsMount()
213 S32 OsVfsUmount(const char *target) in OsVfsUmount()
217 S32 ret = FS_NOK; in OsVfsUmount()
250 for (S32 f in OsCloseFdsInMp()
[all...]
H A Dvfs_maps.c37 S32 OsVfsFsMgtDisk(const char *dev, const char *fsType, S32 *lengthArray, S32 partNum) in OsVfsFsMgtDisk()
39 S32 ret = FS_OK; in OsVfsFsMgtDisk()
49 S32 OsVfsFsMgtFormat(const char *partName, char *fsType, void *data) in OsVfsFsMgtFormat()
51 S32 ret = FS_OK; in OsVfsFsMgtFormat()
61 S32 OsFsRegister(const char *fsType, struct TagMountOps *fsMops, in OsFsRegister()
H A Dvfs_partition.h23 S32 OsGetPartIdByPartName(const char *partName);
24 S32 OsGetDevIdByDevName(const char *dev);
34 S32 *dLengthArray; /* 设备分区长度记录数组 */
36 S32 dPartNum; /* 设备分区号 */
H A Dvfs_files.c27 S32 OsFileToFd(struct TagFile *file) in OsFileToFd()
35 struct TagFile *OsFdToFile(S32 fd) in OsFdToFile()
46 for (S32 i = 0; i < NR_OPEN_DEFAULT; i++) { in OsVfsGetFile()
56 struct TagFile *OsVfsGetFileSpec(S32 fd) in OsVfsGetFileSpec()
H A Dvfs_init.c24 S32 PRT_VfsInit(void) in PRT_VfsInit()
/kernel/uniproton/src/include/uapi/
H A Dprt_fs.h31 S32 (*readFunc)(S32 partition, uintptr_t offset, void *buf, U32 size);
33 S32 (*writeFunc)(S32 partition, uintptr_t offset, const void *buf, U32 size);
35 S32 (*eraseFunc)(S32 partition, uintptr_t offset, U32 size);
37 S32 readSize; /* size of a block read */
38 S32 writeSize; /* size of a block write */
39 S32 blockSize; /* size of an erasable block */
40 S32 blockCoun
[all...]
H A Dprt_typedef.h33 typedef signed int S32; typedef
/kernel/uniproton/src/fs/littlefs/
H A Dlfs_adapter.c30 static uintptr_t OsLfsGetStartAddr(S32 partition) in OsLfsGetStartAddr()
49 static S32 OsLfsBlockRead(const struct lfs_config *c, lfs_block_t block, in OsLfsBlockRead()
52 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockRead()
57 return (g_partitionCfg.readFunc)((S32)c->context, startAddr, dst, size); in OsLfsBlockRead()
60 static S32 OsLfsBlockWrite(const struct lfs_config *c, lfs_block_t block, in OsLfsBlockWrite()
63 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockWrite()
69 return (g_partitionCfg.writeFunc)((S32)c->context, startAddr, dst, size); in OsLfsBlockWrite()
72 static S32 OsLfsBlockErase(const struct lfs_config *c, lfs_block_t block) in OsLfsBlockErase()
74 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockErase()
80 return (g_partitionCfg.eraseFunc)((S32) in OsLfsBlockErase()
[all...]
/kernel/uniproton/src/fs/
H A Dfs.c33 S32 ret; in open()
43 S32 ret = OsVfsClose(fd); in close()
66 S32 ret = OsVfsStat(path, buf); in stat()
72 S32 ret = OsVfsStatfs(path, buf); in statfs()
78 S32 ret = OsVfsUnlink(path); in unlink()
84 S32 ret = OsVfsRename(oldName, newName); in rename()
90 S32 ret = OsVfsSync(fd); in fsync()
106 S32 ret = OsVfsClosedir(dir); in closedir()
112 S32 ret = OsVfsMkdir(path, (S32)mod in mkdir()
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/lsi/
H A Dmpi_type.h53 typedef int32_t S32; typedef
59 S32 High;
77 typedef S32 *PS32;
/kernel/linux/linux-6.6/drivers/message/fusion/lsi/
H A Dmpi_type.h53 typedef int32_t S32; typedef
59 S32 High;
77 typedef S32 *PS32;
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c120 #define S32 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime rss swap\n" in main() macro
123 if (rv == strlen(S32)) { in main()
124 assert(memcmp(buf, S32, strlen(S32)) == 0); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c120 #define S32 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime rss swap\n" in main() macro
123 if (rv == strlen(S32)) { in main()
124 assert(memcmp(buf, S32, strlen(S32)) == 0); in main()
/kernel/uniproton/src/net/lwip-2.1/enhancement/src/
H A Dfixme.c98 const S32 ipv6Blocks = 8; in ip6addr_aton()
103 S32 squashPos = ipv6Blocks; in ip6addr_aton()
104 S32 i; in ip6addr_aton()
105 S32 num5 = 5; in ip6addr_aton()
106 S32 num16 = 16; in ip6addr_aton()
H A Dlwip_ifaddrs.c46 S32 ret;
49 static S32 g_tcpipInitFinish = 1;
/kernel/uniproton/src/config/
H A Dprt_config.c285 S32 main(void) in main()
294 return (S32)ret; in main()
300 return (S32)ret; in main()
306 return (S32)ret; in main()
310 return (S32)OS_ERROR; in main()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fcc.c56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) macro
181 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
392 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
396 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
403 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
557 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fcc.c54 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) macro
179 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
390 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
394 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
401 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
555 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
/kernel/uniproton/src/net/lwip-2.1/src/
H A Dsockets.c291 S32 ret; in OsLwipIoctlInternalSiocgifConf()
295 S32 len = ifc->ifc_len; in OsLwipIoctlInternalSiocgifConf()
298 S32 pos = 0; in OsLwipIoctlInternalSiocgifConf()
305 if (len < (S32)sizeof(ifreq)) { in OsLwipIoctlInternalSiocgifConf()

Completed in 10 milliseconds

12