summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9bb4c74)
if the bytes is disabled,
time should be used to check buffer level.
Change-Id: I55983123cf20c8a5c81ce037ccdd02cf53041ac9
res = IS_FILLED_EXTRA (sq, time, sq->cur_time) || IS_FILLED (sq, bytes, bytes);
#else
res = IS_FILLED (sq, bytes, bytes);
res = IS_FILLED_EXTRA (sq, time, sq->cur_time) || IS_FILLED (sq, bytes, bytes);
#else
res = IS_FILLED (sq, bytes, bytes);
/* We only care about limits in time if we're not a sparse stream or
* we're not syncing by running time */
if (!sq->is_sparse || !mq->sync_by_running_time) {
/* We only care about limits in time if we're not a sparse stream or
* we're not syncing by running time */
if (!sq->is_sparse || !mq->sync_by_running_time) {
} else
res |= IS_FILLED (sq, time, sq->cur_time);
}
} else
res |= IS_FILLED (sq, time, sq->cur_time);
}