Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 27) sorted by relevance

12

/block/
Dblk-mq-sched.h43 if (e->type->ops.allow_merge) in blk_mq_sched_allow_merge()
44 return e->type->ops.allow_merge(q, rq, bio); in blk_mq_sched_allow_merge()
54 if (e->type->ops.completed_request) in blk_mq_sched_completed_request()
55 e->type->ops.completed_request(rq, now); in blk_mq_sched_completed_request()
65 if (e->type->ops.requeue_request) in blk_mq_sched_requeue_request()
66 e->type->ops.requeue_request(rq); in blk_mq_sched_requeue_request()
74 if (e && e->type->ops.has_work) in blk_mq_sched_has_work()
75 return e->type->ops.has_work(hctx); in blk_mq_sched_has_work()
Dblk-mq-sched.c106 if (e->type->ops.has_work && !e->type->ops.has_work(hctx)) in __blk_mq_do_dispatch_sched()
118 rq = e->type->ops.dispatch_request(hctx); in __blk_mq_do_dispatch_sched()
199 unsigned short idx = ctx->index_hw[hctx->type]; in blk_mq_next_ctx()
346 enum hctx_type type; in blk_mq_sched_bio_merge() local
348 if (e && e->type->ops.bio_merge) { in blk_mq_sched_bio_merge()
349 ret = e->type->ops.bio_merge(q, bio, nr_segs); in blk_mq_sched_bio_merge()
355 type = hctx->type; in blk_mq_sched_bio_merge()
357 list_empty_careful(&ctx->rq_lists[type])) in blk_mq_sched_bio_merge()
367 if (blk_bio_list_merge(q, &ctx->rq_lists[type], bio, nr_segs)) in blk_mq_sched_bio_merge()
537 if (e->type->ops.exit_hctx && hctx->sched_data) { in blk_mq_exit_sched()
[all …]
Delevator.c65 if (e->type->ops.allow_merge) in elv_iosched_allow_bio_merge()
66 return e->type->ops.allow_merge(q, rq, bio); in elv_iosched_allow_bio_merge()
141 eq->type = e; in elevator_alloc()
155 elevator_put(e->type); in elevator_release()
318 if (e->type->ops.request_merge) in elv_merge()
319 return e->type->ops.request_merge(q, req, bio); in elv_merge()
371 enum elv_merge type) in elv_merged_request() argument
375 if (e->type->ops.request_merged) in elv_merged_request()
376 e->type->ops.request_merged(q, rq, type); in elv_merged_request()
378 if (type == ELEVATOR_BACK_MERGE) in elv_merged_request()
[all …]
Dt10-pi.c33 csum_fn *fn, enum t10_dif_type type) in t10_pi_generate() argument
43 if (type == T10_PI_TYPE1_PROTECTION) in t10_pi_generate()
57 csum_fn *fn, enum t10_dif_type type) in t10_pi_verify() argument
61 BUG_ON(type == T10_PI_TYPE0_PROTECTION); in t10_pi_verify()
67 if (type == T10_PI_TYPE1_PROTECTION || in t10_pi_verify()
68 type == T10_PI_TYPE2_PROTECTION) { in t10_pi_verify()
80 } else if (type == T10_PI_TYPE3_PROTECTION) { in t10_pi_verify()
289 enum t10_dif_type type) in ext_pi_crc64_generate() argument
299 if (type == T10_PI_TYPE1_PROTECTION) in ext_pi_crc64_generate()
320 enum t10_dif_type type) in ext_pi_crc64_verify() argument
[all …]
Dblk-mq.h79 enum hctx_type type, in blk_mq_map_queue_type() argument
82 return xa_load(&q->hctx_table, q->tag_set->map[type].mq_map[cpu]); in blk_mq_map_queue_type()
87 enum hctx_type type = HCTX_TYPE_DEFAULT; in blk_mq_get_hctx_type() local
93 type = HCTX_TYPE_POLL; in blk_mq_get_hctx_type()
95 type = HCTX_TYPE_READ; in blk_mq_get_hctx_type()
96 return type; in blk_mq_get_hctx_type()
Dkyber-iosched.c212 unsigned int sched_domain, unsigned int type) in flush_latency_buckets() argument
214 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
215 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type]; in flush_latency_buckets()
227 unsigned int sched_domain, unsigned int type, in calculate_percentile() argument
230 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
257 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()
260 kyber_latency_type_names[type], percentile, in calculate_percentile()
573 struct kyber_ctx_queue *kcq = &khd->kcqs[ctx->index_hw[hctx->type]]; in kyber_bio_merge()
599 struct kyber_ctx_queue *kcq = &khd->kcqs[rq->mq_ctx->index_hw[hctx->type]]; in kyber_insert_requests()
609 rq->mq_ctx->index_hw[hctx->type]); in kyber_insert_requests()
[all …]
Dblk-mq.c72 const int bit = ctx->index_hw[hctx->type]; in blk_mq_hctx_mark_pending()
81 const int bit = ctx->index_hw[hctx->type]; in blk_mq_hctx_clear_pending()
397 if (e->type->ops.prepare_request) in blk_mq_rq_ctx_init()
398 e->type->ops.prepare_request(rq); in blk_mq_rq_ctx_init()
466 struct elevator_mq_ops *ops = &q->elevator->type->ops; in __blk_mq_alloc_requests()
563 if (blk_mq_get_hctx_type(opf) != rq->mq_hctx->type) in blk_mq_alloc_cached_request()
689 q->elevator->type->ops.finish_request(rq); in blk_mq_finish_request()
1369 if (rq->mq_hctx->type != HCTX_TYPE_POLL) in blk_rq_is_poll()
1703 enum hctx_type type = hctx->type; in flush_busy_ctx() local
1706 list_splice_tail_init(&ctx->rq_lists[type], flush_data->list); in flush_busy_ctx()
[all …]
Dblk-mq-debugfs.c386 seq_printf(m, "%s\n", hctx_types[hctx->type]); in hctx_type_show()
516 #define CTX_RQ_SEQ_OPS(name, type) \ argument
523 return seq_list_start(&ctx->rq_lists[type], *pos); \
531 return seq_list_next(v, &ctx->rq_lists[type], pos); \
748 struct elevator_type *e = q->elevator->type; in blk_mq_debugfs_register_sched()
819 struct elevator_type *e = q->elevator->type; in blk_mq_debugfs_register_sched_hctx()
Dblk-ioc.c48 struct elevator_type *et = icq->q->elevator->type; in ioc_exit_icq()
77 struct elevator_type *et = q->elevator->type; in ioc_destroy_icq()
366 struct elevator_type *et = q->elevator->type; in ioc_create_icq()
Dsed-opal.c60 enum opal_response_token type; member
325 ret = key->type->read(key, (char *)buffer, buflen); in read_sed_opal_key()
924 tok->type = OPAL_DTA_TOKENID_SINT; in response_parse_tiny()
926 tok->type = OPAL_DTA_TOKENID_UINT; in response_parse_tiny()
941 tok->type = OPAL_DTA_TOKENID_BYTESTRING; in response_parse_short()
943 tok->type = OPAL_DTA_TOKENID_SINT; in response_parse_short()
948 tok->type = OPAL_DTA_TOKENID_UINT; in response_parse_short()
971 tok->type = OPAL_DTA_TOKENID_BYTESTRING; in response_parse_medium()
973 tok->type = OPAL_DTA_TOKENID_SINT; in response_parse_medium()
975 tok->type = OPAL_DTA_TOKENID_UINT; in response_parse_medium()
[all …]
Dbfq-iosched.h1168 char type = bfq_bfqq_sync(bfqq) ? 'S' : 'A'; in bfq_bfqq_name() local
1171 snprintf(str, len, "bfq%d%c", bfqq->pid, type); in bfq_bfqq_name()
1173 snprintf(str, len, "bfqSHARED-%c", type); in bfq_bfqq_name()
Dioctl.c309 return ops->pr_reserve(bdev, rsv.key, rsv.type, rsv.flags); in blkdev_pr_reserve()
327 return ops->pr_release(bdev, rsv.key, rsv.type); in blkdev_pr_release()
345 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
Delevator.h125 struct elevator_type *type; member
Dblk-zoned.c517 switch (zone->type) { in blk_revalidate_zone_cb()
538 disk->disk_name, (int)zone->type, zone->start); in blk_revalidate_zone_cb()
Dmq-deadline.c228 enum elv_merge type) in dd_request_merged() argument
238 if (type == ELEVATOR_FRONT_MERGE) { in dd_request_merged()
Dblk-iocost.c195 #define TRACE_IOCG_PATH(type, iocg, ...) \ argument
198 if (trace_iocost_##type##_enabled()) { \
202 trace_iocost_##type(iocg, trace_iocg_path, \
209 #define TRACE_IOCG_PATH(type, iocg, ...) do { } while (0) argument
Dfops.c395 iomap->type = IOMAP_MAPPED; in blkdev_iomap_begin()
/block/partitions/
Dibm.c70 char type[], in find_label() argument
114 strncpy(type, label->vol.vollbl, 4); in find_label()
117 strncpy(type, label->lnx.vollbl, 4); in find_label()
120 EBCASC(type, 4); in find_label()
229 if (!strcmp(info->type, "ECKD")) in find_lnx1_partitions()
300 char type[5] = {0,}; in ibm_partition() local
333 if (find_label(state, info, geo, blocksize, &labelsect, name, type, in ibm_partition()
335 if (!strncmp(type, "VOL1", 4)) { in ibm_partition()
338 } else if (!strncmp(type, "LNX1", 4)) { in ibm_partition()
342 } else if (!strncmp(type, "CMS1", 4)) { in ibm_partition()
Dmac.c89 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition()
101 mac_fix_string(part->type, 32); in mac_partition()
107 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
108 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition()
109 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
Dsgi.c30 __be32 type; /* Type of this partition */ member
79 if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION) in sgi_partition()
Dldm.h127 u8 type; member
170 u8 type; member
Dmac.h18 char type[32]; /* string type description */ member
Dldm.c751 comp->type = buffer[0x18 + r_vstate]; in ldm_parse_cmp3()
1118 vb->type = buf[0x13]; in ldm_parse_vblk()
1122 switch (vb->type) { in ldm_parse_vblk()
1134 (unsigned long long) vb->obj_id, vb->type); in ldm_parse_vblk()
1137 (unsigned long long) vb->obj_id, vb->type); in ldm_parse_vblk()
1175 switch (vb->type) { in ldm_ldmdb_add()
Dacorn.c415 char type[8]; member
Dcore.c356 pdev->type = &part_type; in add_partition()

12