Lines Matching refs:copy_ret
3554 UINT copy_ret; in f_read() local
3597 … copy_ret = LOS_CopyFromKernel(rbuff + ((fs->winsect - sect) * SS(fs)), SS(fs), fs->win, SS(fs)); in f_read()
3598 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_read()
3606 copy_ret = LOS_CopyFromKernel(rbuff + ((fp->sect - sect) * SS(fs)), SS(fs), fp->buf, SS(fs)); in f_read()
3607 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_read()
3635 copy_ret = LOS_CopyFromKernel(rbuff, rcnt, fs->win + fp->fptr % SS(fs), rcnt); in f_read()
3636 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_read()
3640 copy_ret = LOS_CopyFromKernel(rbuff, rcnt, fp->buf + fp->fptr % SS(fs), rcnt); in f_read()
3641 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_read()
3673 UINT copy_ret; in f_write() local
3734 copy_ret = LOS_CopyToKernel(fs->win, SS(fs), wbuff + ((fs->winsect - sect) * SS(fs)), SS(fs)); in f_write()
3735 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_write()
3741 copy_ret = LOS_CopyToKernel(fp->buf, SS(fs), wbuff + ((fp->sect - sect) * SS(fs)), SS(fs)); in f_write()
3742 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_write()
3772 copy_ret = LOS_CopyToKernel(fs->win + fp->fptr % SS(fs), wcnt, wbuff, wcnt); in f_write()
3773 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_write()
3777 copy_ret = LOS_CopyToKernel(fp->buf + fp->fptr % SS(fs), wcnt, wbuff, wcnt); in f_write()
3778 if (copy_ret != EOK) ABORT(fs, FR_INVALID_PARAMETER); in f_write()