Home
last modified time | relevance | path

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

/block/
Delevator.c61 if (e->type->ops.elevator_allow_bio_merge_fn) in elv_iosched_allow_bio_merge()
62 return e->type->ops.elevator_allow_bio_merge_fn(q, rq, bio); in elv_iosched_allow_bio_merge()
162 eq->type = e; in elevator_alloc()
176 elevator_put(e->type); in elevator_release()
237 if (e->type->ops.elevator_exit_fn) in elevator_exit()
238 e->type->ops.elevator_exit_fn(e); in elevator_exit()
448 if (e->type->ops.elevator_merge_fn) in elv_merge()
449 return e->type->ops.elevator_merge_fn(q, req, bio); in elv_merge()
496 void elv_merged_request(struct request_queue *q, struct request *rq, int type) in elv_merged_request() argument
500 if (e->type->ops.elevator_merged_fn) in elv_merged_request()
[all …]
Dt10-pi.c50 unsigned int type) in t10_pi_generate() argument
60 if (type == 1) in t10_pi_generate()
74 unsigned int type) in t10_pi_verify() argument
82 switch (type) { in t10_pi_verify()
Dblk.h169 !q->elevator->type->ops.elevator_dispatch_fn(q, 0)) in __elv_next_request()
178 if (e->type->ops.elevator_activate_req_fn) in elv_activate_rq()
179 e->type->ops.elevator_activate_req_fn(q, rq); in elv_activate_rq()
186 if (e->type->ops.elevator_deactivate_req_fn) in elv_deactivate_rq()
187 e->type->ops.elevator_deactivate_req_fn(q, rq); in elv_deactivate_rq()
Dblk-ioc.c41 struct elevator_type *et = icq->q->elevator->type; in ioc_exit_icq()
57 struct elevator_type *et = q->elevator->type; in ioc_destroy_icq()
360 struct elevator_type *et = q->elevator->type; in ioc_create_icq()
Dioctl.c338 return ops->pr_reserve(bdev, rsv.key, rsv.type, rsv.flags); in blkdev_pr_reserve()
356 return ops->pr_release(bdev, rsv.key, rsv.type); in blkdev_pr_release()
374 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
Ddeadline-iosched.c154 struct request *req, int type) in deadline_merged_request() argument
161 if (type == ELEVATOR_FRONT_MERGE) { in deadline_merged_request()
Dbio.c1182 if (iter->type & WRITE) in bio_copy_user_iov()
1230 if (((iter->type & WRITE) && (!map_data || !map_data->null_mapped)) || in bio_copy_user_iov()
1312 (iter->type & WRITE) != WRITE, in bio_map_user_iov()
1366 if (iter->type & WRITE) in bio_map_user_iov()
Dblk-merge.c775 if (e->type->ops.elevator_allow_rq_merge_fn) in blk_attempt_req_merge()
776 if (!e->type->ops.elevator_allow_rq_merge_fn(q, rq, next)) in blk_attempt_req_merge()
Dpartition-generic.c340 pdev->type = &part_type; in add_partition()
Dcfq-iosched.c404 enum wl_type_t type) in st_for() argument
412 return &cfqg->service_trees[class][type]; in st_for()
2569 int type) in cfq_merged_request() argument
2571 if (type == ELEVATOR_FRONT_MERGE) { in cfq_merged_request()
Dgenhd.c1327 disk_to_dev(disk)->type = &disk_type; in alloc_disk_node()
Dblk-core.c1081 struct elevator_type *et = q->elevator->type; in __get_request()
/block/partitions/
Dibm.c69 char type[], in find_label() argument
113 strncpy(type, label->vol.vollbl, 4); in find_label()
116 strncpy(type, label->lnx.vollbl, 4); in find_label()
119 EBCASC(type, 4); in find_label()
228 if (!strcmp(info->type, "ECKD")) in find_lnx1_partitions()
296 char type[5] = {0,}; in ibm_partition() local
324 if (find_label(state, info, geo, blocksize, &labelsect, name, type, in ibm_partition()
326 if (!strncmp(type, "VOL1", 4)) { in ibm_partition()
329 } else if (!strncmp(type, "LNX1", 4)) { in ibm_partition()
333 } else if (!strncmp(type, "CMS1", 4)) { in ibm_partition()
Dmac.c88 if (!strncasecmp(part->type, "Linux_RAID", 10)) in mac_partition()
100 mac_fix_string(part->type, 32); in mac_partition()
106 if (strcasecmp(part->type, "Apple_UNIX_SVR2") == 0 in mac_partition()
107 || (strncasecmp(part->type, "Linux", 5) == 0 in mac_partition()
108 && strcasecmp(part->type, "Linux_swap") != 0)) { in mac_partition()
Dsgi.c24 __be32 type; /* Type of this partition */ member
74 if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION) in sgi_partition()
Dldm.h147 u8 type; member
190 u8 type; member
Dmac.h17 char type[32]; /* string type description */ member
Dldm.c766 comp->type = buffer[0x18 + r_vstate]; in ldm_parse_cmp3()
1144 vb->type = buf[0x13]; in ldm_parse_vblk()
1148 switch (vb->type) { in ldm_parse_vblk()
1160 (unsigned long long) vb->obj_id, vb->type); in ldm_parse_vblk()
1163 (unsigned long long) vb->obj_id, vb->type); in ldm_parse_vblk()
1201 switch (vb->type) { in ldm_ldmdb_add()
Dacorn.c421 char type[8]; member