Function report |
Source Code:kernel\relay.c |
Create Date:2022-07-28 11:47:14 |
Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lay_subbufs_consumed - update the buffer's sub-buffers-consumed count*@chan: the channel*@cpu: the cpu associated with the channel buffer to update*@subbufs_consumed: number of sub-buffers to add to current buf's count
Proto:void relay_subbufs_consumed(struct rchan *chan, unsigned int cpu, size_t subbufs_consumed)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rchan * | chan | |
unsigned int | cpu | |
size_t | subbufs_consumed |
814 | If Not chan || cpu >= Places which use this should consider cpumask_var_t. Then Return |
817 | buf = per_cpu_ptr( per-cpu channel buffers , cpu) |
818 | If Not buf || subbufs_consumed > number of sub-buffers per buffer Then Return |
821 | If subbufs_consumed > count of sub-buffers produced - count of sub-buffers consumed Then count of sub-buffers consumed = count of sub-buffers produced |
823 | Else count of sub-buffers consumed += subbufs_consumed |
Name | Describe |
---|---|
relay_file_read_consume | lay_file_read_consume - update the consumed count for the buffer |
relay_consume_bytes |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |