Searched refs:sort_list (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/s390/block/ |
D | dcssblk.c | 227 struct segment_info *sort_list, *entry, temp; in dcssblk_is_continuous() local 232 sort_list = kzalloc( in dcssblk_is_continuous() 235 if (sort_list == NULL) in dcssblk_is_continuous() 239 memcpy(&sort_list[i], entry, sizeof(struct segment_info)); in dcssblk_is_continuous() 246 if (sort_list[j].start > sort_list[i].start) { in dcssblk_is_continuous() 247 memcpy(&temp, &sort_list[i], in dcssblk_is_continuous() 249 memcpy(&sort_list[i], &sort_list[j], in dcssblk_is_continuous() 251 memcpy(&sort_list[j], &temp, in dcssblk_is_continuous() 257 if ((sort_list[i].end + 1) != sort_list[i+1].start) { in dcssblk_is_continuous() 259 "contiguous\n", sort_list[i].segment_name, in dcssblk_is_continuous() [all …]
|
/linux-2.6.39/block/ |
D | deadline-iosched.c | 34 struct rb_root sort_list[2]; member 59 return &dd->sort_list[rq_data_dir(rq)]; in deadline_rb_root() 139 __rq = elv_rb_find(&dd->sort_list[bio_data_dir(bio)], sector); in deadline_merge() 271 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); in deadline_dispatch_requests() 287 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); in deadline_dispatch_requests() 352 dd->sort_list[READ] = RB_ROOT; in deadline_init_queue() 353 dd->sort_list[WRITE] = RB_ROOT; in deadline_init_queue()
|
D | cfq-iosched.c | 113 struct rb_root sort_list; member 805 rbnext = rb_first(&cfqq->sort_list); in cfq_find_next_rq() 1417 elv_rb_del(&cfqq->sort_list, rq); in cfq_del_rq_rb() 1419 if (cfq_cfqq_on_rr(cfqq) && RB_EMPTY_ROOT(&cfqq->sort_list)) { in cfq_del_rq_rb() 1444 while ((__alias = elv_rb_add(&cfqq->sort_list, rq)) != NULL) in cfq_add_rq_rb() 1467 elv_rb_del(&cfqq->sort_list, rq); in cfq_reposition_rq_rb() 1492 return elv_rb_find(&cfqq->sort_list, sector); in cfq_find_rq_fmerge() 1685 if (cfq_cfqq_on_rr(cfqq) && RB_EMPTY_ROOT(&cfqq->sort_list)) in __cfq_slice_expired() 1924 WARN_ON(!RB_EMPTY_ROOT(&cfqq->sort_list)); in cfq_arm_slice_timer() 2240 if (cfq_cfqq_wait_busy(cfqq) && !RB_EMPTY_ROOT(&cfqq->sort_list)) in cfq_select_queue() [all …]
|
/linux-2.6.39/tools/perf/ |
D | builtin-kmem.c | 430 struct list_head *sort_list) in sort_insert() argument 443 list_for_each_entry(sort, sort_list, list) { in sort_insert() 460 struct list_head *sort_list) in __sort_result() argument 472 sort_insert(root_sorted, data, sort_list); in __sort_result() 632 static int setup_sorting(struct list_head *sort_list, const char *arg) in setup_sorting() argument 644 if (sort_dimension__add(tok, sort_list) < 0) { in setup_sorting()
|
D | builtin-sched.c | 881 struct list_head *sort_list) in thread_atoms_search() argument 892 cmp = thread_lat_cmp(sort_list, &key, atoms); in thread_atoms_search() 907 struct list_head *sort_list) in __thread_latency_insert() argument 918 cmp = thread_lat_cmp(sort_list, data, this); in __thread_latency_insert() 1321 static LIST_HEAD(sort_list); 1352 __thread_latency_insert(&sorted_atom_root, data, &sort_list); in sort_lat() 1824 if (sort_dimension__add(tok, &sort_list) < 0) { in setup_sorting()
|
/linux-2.6.39/fs/xfs/ |
D | xfs_log_recover.c | 1572 LIST_HEAD(sort_list); in xlog_recover_reorder_trans() 1574 list_splice_init(&trans->r_itemq, &sort_list); in xlog_recover_reorder_trans() 1575 list_for_each_entry_safe(item, n, &sort_list, ri_list) { in xlog_recover_reorder_trans() 1603 ASSERT(list_empty(&sort_list)); in xlog_recover_reorder_trans()
|
/linux-2.6.39/drivers/scsi/ |
D | aic7xxx_old.c | 9913 struct aic7xxx_host *sort_list[4] = { NULL, NULL, NULL, NULL }; in aic7xxx_detect() local 9931 vlb = sort_list[0]; in aic7xxx_detect() 9933 vlb = sort_list[2]; in aic7xxx_detect() 9966 sort_list[0] = vlb; in aic7xxx_detect() 9968 sort_list[2] = vlb; in aic7xxx_detect() 9977 pci = sort_list[1]; in aic7xxx_detect() 9979 pci = sort_list[3]; in aic7xxx_detect() 10057 sort_list[1] = pci; in aic7xxx_detect() 10059 sort_list[3] = pci; in aic7xxx_detect() 10073 for (i=0; i<ARRAY_SIZE(sort_list); i++) in aic7xxx_detect() [all …]
|