Home | History | Annotate | Download | only in kern

Lines Matching defs:sortby

62 buf_cmp(const struct buf *b1, const struct buf *b2, int sortby)
65 if (buf_inorder(b2, b1, sortby)) {
68 if (buf_inorder(b1, b2, sortby)) {
81 const int sortby = q->cq_sortby;
82 const int diff = buf_cmp(b1, b2, sortby);
116 const int sortby = q->cq_sortby;
118 return buf_cmp(b1, b2, sortby);
124 const int sortby = cq->cq_sortby;
128 if (sortby == BUFQ_SORT_RAWBLOCK) {
188 cscan_init(struct cscan_queue *q, int sortby)
197 q->cq_sortby = sortby;
430 const int sortby = bufq->bq_flags & BUFQ_SORT_MASK;
443 cscan_init(cq, sortby);