Lines Matching defs:osfd
980 int RtmpOSFileClose(struct file *osfd)
982 filp_close(osfd, NULL);
986 void RtmpOSFileSeek(struct file *osfd, int offset)
988 osfd->f_pos = offset;
991 int RtmpOSFileRead(struct file *osfd, char *pDataPtr, int readLen)
994 if (osfd->f_op && osfd->f_op->read) {
995 return osfd->f_op->read(osfd, pDataPtr, readLen, &osfd->f_pos);
1002 int RtmpOSFileWrite(struct file *osfd, char *pDataPtr, int writeLen)
1004 return osfd->f_op->write(osfd, pDataPtr, (size_t) writeLen,
1005 &osfd->f_pos);