探测器又叫做缓冲区探测器—它只在实际的数据块上被调用,比如视频帧。
The probe is what's called a buffer probe-it gets called only on actual blocks of data such as frames of video.
当ship缓冲区为空时,SHIP逻辑将另一个' Fetch '请求发送到“ US ”服务器,以便获取下一块数据。
When the SHIP buffer is empty, the SHIP logic sends another 'Fetch' request to the "US" server to get the next block of data.
copy _ from_user函数将数据块从用户空间复制到内核缓冲区。
The copy_from_user function copies a block of data from user space into a kernel buffer.
应用推荐