| 1232 | } |
| 1233 | |
| 1234 | int hb_fifo_size( hb_fifo_t * f ) |
| 1235 | { |
| 1236 | int ret; |
| 1237 | |
| 1238 | hb_lock( f->lock ); |
| 1239 | ret = f->size; |
| 1240 | hb_unlock( f->lock ); |
| 1241 | |
| 1242 | return ret; |
| 1243 | } |
| 1244 | |
| 1245 | int hb_fifo_is_full( hb_fifo_t * f ) |
| 1246 | { |
no test coverage detected