Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 6 of 6) sorted by relevance

/block/
Dblk-integrity.c50 int prev = 0; in blk_rq_count_integrity_sg() local
54 if (prev) { in blk_rq_count_integrity_sg()
71 prev = 1; in blk_rq_count_integrity_sg()
96 int prev = 0; in blk_rq_map_integrity_sg() local
100 if (prev) { in blk_rq_map_integrity_sg()
124 prev = 1; in blk_rq_map_integrity_sg()
Dnoop-iosched.c47 if (rq->queuelist.prev == &nd->queue) in noop_former_request()
49 return list_entry(rq->queuelist.prev, struct request, queuelist); in noop_former_request()
Dbio.c725 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_add_page() local
727 if (page == prev->bv_page && in __bio_add_page()
728 offset == prev->bv_offset + prev->bv_len) { in __bio_add_page()
729 unsigned int prev_bv_len = prev->bv_len; in __bio_add_page()
730 prev->bv_len += len; in __bio_add_page()
745 if (q->merge_bvec_fn(q, &bvm, prev) < prev->bv_len) { in __bio_add_page()
746 prev->bv_len -= len; in __bio_add_page()
759 bvec_gap_to_prev(prev, offset)) in __bio_add_page()
Dblk-merge.c568 struct request *prev = elv_former_request(q, rq); in attempt_front_merge() local
570 if (prev) in attempt_front_merge()
571 return attempt_merge(q, prev, rq); in attempt_front_merge()
Dcfq-iosched.c1213 struct request *next = NULL, *prev = NULL; in cfq_find_next_rq() local
1218 prev = rb_entry_rq(rbprev); in cfq_find_next_rq()
1228 return cfq_choose_req(cfqd, next, prev, blk_rq_pos(last)); in cfq_find_next_rq()
2247 struct request *prev; in cfq_add_rq_rb() local
2259 prev = cfqq->next_rq; in cfq_add_rq_rb()
2265 if (prev != cfqq->next_rq) in cfq_add_rq_rb()
Dblk-mq.c1714 if (set->tag_list.next == set->tag_list.prev) in blk_mq_update_tag_set_depth()