Lines Matching refs:bVolNum

97         uint8_t bVolNum;      /**< Volume containing the inode. */  member
137 uint8_t bVolNum );
254 uint8_t bVolNum; in red_uninit() local
256 for( bVolNum = 0U; bVolNum < REDCONF_VOLUME_COUNT; bVolNum++ ) in red_uninit()
258 if( gaRedVolume[ bVolNum ].fMounted ) in red_uninit()
334 uint8_t bVolNum; in red_mount() local
336 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_mount()
341 if( ( ret == 0 ) && gaRedVolume[ bVolNum ].fMounted ) in red_mount()
349 ret = RedCoreVolSetCurrent( bVolNum ); in red_mount()
366 gauGeneration[ bVolNum ]++; in red_mount()
368 if( gauGeneration[ bVolNum ] > FD_GEN_MAX ) in red_mount()
377 gauGeneration[ bVolNum ] = 1U; in red_mount()
429 uint8_t bVolNum; in red_umount() local
431 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_umount()
436 if( ( ret == 0 ) && !gaRedVolume[ bVolNum ].fMounted ) in red_umount()
451 if( ( pHandle->ulInode != INODE_INVALID ) && ( pHandle->bVolNum == bVolNum ) ) in red_umount()
462 ret = RedCoreVolSetCurrent( bVolNum ); in red_umount()
507 uint8_t bVolNum; in red_format() local
509 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_format()
514 ret = RedCoreVolSetCurrent( bVolNum ); in red_format()
562 uint8_t bVolNum; in red_transact() local
564 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_transact()
569 ret = RedCoreVolSetCurrent( bVolNum ); in red_transact()
635 uint8_t bVolNum; in red_settransmask() local
637 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_settransmask()
642 ret = RedCoreVolSetCurrent( bVolNum ); in red_settransmask()
687 uint8_t bVolNum; in red_gettransmask() local
689 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_gettransmask()
694 ret = RedCoreVolSetCurrent( bVolNum ); in red_gettransmask()
737 uint8_t bVolNum; in red_statvfs() local
739 ret = RedPathSplit( pszVolume, &bVolNum, NULL ); in red_statvfs()
744 ret = RedCoreVolSetCurrent( bVolNum ); in red_statvfs()
978 uint8_t bVolNum; in red_mkdir() local
980 ret = RedPathSplit( pszPath, &bVolNum, &pszLocalPath ); in red_mkdir()
985 ret = RedCoreVolSetCurrent( bVolNum ); in red_mkdir()
1278 uint8_t bVolNum; in red_link() local
1280 ret = RedPathSplit( pszPath, &bVolNum, &pszLocalPath ); in red_link()
1289 if( ( ret == 0 ) && ( bVolNum != bLinkVolNum ) ) in red_link()
1297 ret = RedCoreVolSetCurrent( bVolNum ); in red_link()
1418 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_read()
1535 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_write()
1630 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_fsync()
1715 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_lseek()
1864 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_ftruncate()
1914 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in red_fstat()
2031 ret = RedCoreVolSetCurrent( pDirStream->bVolNum ); in red_readdir()
2303 uint8_t bVolNum; in UnlinkSub() local
2307 ret = RedPathSplit( pszPath, &bVolNum, &pszLocalPath ); in UnlinkSub()
2312 ret = RedCoreVolSetCurrent( bVolNum ); in UnlinkSub()
2405 uint8_t bVolNum; in FildesOpen() local
2409 ret = RedPathSplit( pszPath, &bVolNum, &pszLocalPath ); in FildesOpen()
2419 else if( gaRedVolume[ bVolNum ].fReadOnly && ( ulOpenMode != RED_O_RDONLY ) ) in FildesOpen()
2453 ret = RedCoreVolSetCurrent( bVolNum ); in FildesOpen()
2545 pHandle->bVolNum = bVolNum; in FildesOpen()
2569 iFildes = FildesPack( uHandleIdx, bVolNum ); in FildesOpen()
2613 ret = RedCoreVolSetCurrent( pHandle->bVolNum ); in FildesClose()
2682 uint8_t bVolNum; in FildesToHandle() local
2685 FildesUnpack( iFildes, &uHandleIdx, &bVolNum, &uGeneration ); in FildesToHandle()
2688 ( bVolNum >= REDCONF_VOLUME_COUNT ) || in FildesToHandle()
2690 ( gaHandle[ uHandleIdx ].bVolNum != bVolNum ) || in FildesToHandle()
2691 ( gauGeneration[ bVolNum ] != uGeneration ) ) in FildesToHandle()
2724 uint8_t bVolNum ) in FildesPack() argument
2728 if( ( uHandleIdx >= REDCONF_HANDLE_COUNT ) || ( bVolNum >= REDCONF_VOLUME_COUNT ) ) in FildesPack()
2737 REDASSERT( gauGeneration[ bVolNum ] <= FD_GEN_MAX ); in FildesPack()
2738 REDASSERT( gauGeneration[ bVolNum ] != 0U ); in FildesPack()
2740 ulFdBits = gauGeneration[ bVolNum ]; in FildesPack()
2742 ulFdBits |= bVolNum; in FildesPack()
2841 ( pDirStream->bVolNum >= REDCONF_VOLUME_COUNT ) || in DirStreamIsValid()
2991 … gaHandle[ uHandleIdx ].ulInode == ulInode ) && ( gaHandle[ uHandleIdx ].bVolNum == gbRedVolNum ) ) in InodeUnlinkCheck()