/block/ |
D | blk-mq-debugfs.c | 103 #define QUEUE_FLAG_NAME(name) [QUEUE_FLAG_##name] = #name argument 217 #define HCTX_STATE_NAME(name) [BLK_MQ_S_##name] = #name argument 236 #define BLK_TAG_ALLOC_NAME(name) [BLK_TAG_ALLOC_##name] = #name argument 243 #define HCTX_FLAG_NAME(name) [ilog2(BLK_MQ_F_##name)] = #name argument 273 #define CMD_FLAG_NAME(name) [__REQ_##name] = #name argument 294 #define RQF_NAME(name) [ilog2((__force u32)RQF_##name)] = #name argument 631 #define CTX_RQ_SEQ_OPS(name, type) \ argument 632 static void *ctx_##name##_rq_list_start(struct seq_file *m, loff_t *pos) \ 641 static void *ctx_##name##_rq_list_next(struct seq_file *m, void *v, \ 649 static void ctx_##name##_rq_list_stop(struct seq_file *m, void *v) \ [all …]
|
D | elevator.c | 101 static bool elevator_match(const struct elevator_type *e, const char *name, in elevator_match() argument 106 if (!strcmp(e->elevator_name, name)) in elevator_match() 108 if (e->elevator_alias && !strcmp(e->elevator_alias, name)) in elevator_match() 122 static struct elevator_type *elevator_find(const char *name, in elevator_find() argument 128 if (elevator_match(e, name, required_features)) in elevator_find() 141 const char *name, bool try_loading) in elevator_get() argument 147 e = elevator_find(name, q->required_elevator_features); in elevator_get() 150 request_module("%s-iosched", name); in elevator_get() 152 e = elevator_find(name, q->required_elevator_features); in elevator_get() 496 while (attr->attr.name) { in elv_register_queue() [all …]
|
D | cmdline-parser.c | 52 sizeof(new_subpart->name) - 1); in parse_subpart() 53 strncpy(new_subpart->name, partdef, length); in parse_subpart() 54 new_subpart->name[length] = '\0'; in parse_subpart() 58 new_subpart->name[0] = '\0'; in parse_subpart() 111 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts() 112 strncpy(newparts->name, bdevdef, length); in parse_parts() 113 newparts->name[length] = '\0'; in parse_parts() 215 while (parts && strncmp(bdev, parts->name, sizeof(parts->name))) in cmdline_parts_find()
|
D | bfq-cgroup.c | 103 #define BFQG_FLAG_FNS(name) \ argument 104 static void bfqg_stats_mark_##name(struct bfqg_stats *stats) \ 106 stats->flags |= (1 << BFQG_stats_##name); \ 108 static void bfqg_stats_clear_##name(struct bfqg_stats *stats) \ 110 stats->flags &= ~(1 << BFQG_stats_##name); \ 112 static int bfqg_stats_##name(struct bfqg_stats *stats) \ 114 return (stats->flags & (1 << BFQG_stats_##name)) != 0; \ 1291 .name = "bfq.weight", 1297 .name = "bfq.weight_device", 1305 .name = "bfq.io_service_bytes", [all …]
|
D | blk-integrity.c | 156 b1->profile->name, b2->profile->name); in blk_integrity_compare() 250 if (bi->profile && bi->profile->name) in integrity_format_show() 251 return sprintf(page, "%s\n", bi->profile->name); in integrity_format_show() 312 .attr = { .name = "format", .mode = 0444 }, 317 .attr = { .name = "tag_size", .mode = 0444 }, 322 .attr = { .name = "protection_interval_bytes", .mode = 0444 }, 327 .attr = { .name = "read_verify", .mode = 0644 }, 333 .attr = { .name = "write_generate", .mode = 0644 }, 339 .attr = { .name = "device_is_integrity_capable", .mode = 0444 }, 379 .name = "nop",
|
D | kyber-iosched.c | 860 #define KYBER_LAT_SHOW_STORE(domain, name) \ argument 861 static ssize_t kyber_##name##_lat_show(struct elevator_queue *e, \ 869 static ssize_t kyber_##name##_lat_store(struct elevator_queue *e, \ 897 #define KYBER_DEBUGFS_DOMAIN_ATTRS(domain, name) \ argument 898 static int kyber_##name##_tokens_show(void *data, struct seq_file *m) \ 907 static void *kyber_##name##_rqs_start(struct seq_file *m, loff_t *pos) \ 917 static void *kyber_##name##_rqs_next(struct seq_file *m, void *v, \ 926 static void kyber_##name##_rqs_stop(struct seq_file *m, void *v) \ 935 static const struct seq_operations kyber_##name##_rqs_seq_ops = { \ 936 .start = kyber_##name##_rqs_start, \ [all …]
|
D | mq-deadline-main.c | 919 #define DD_ATTR(name) \ argument 920 __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store) 934 #define DEADLINE_DEBUGFS_DDIR_ATTRS(prio, data_dir, name) \ argument 935 static void *deadline_##name##_fifo_start(struct seq_file *m, \ 947 static void *deadline_##name##_fifo_next(struct seq_file *m, void *v, \ 957 static void deadline_##name##_fifo_stop(struct seq_file *m, void *v) \ 966 static const struct seq_operations deadline_##name##_fifo_seq_ops = { \ 967 .start = deadline_##name##_fifo_start, \ 968 .next = deadline_##name##_fifo_next, \ 969 .stop = deadline_##name##_fifo_stop, \ [all …]
|
D | t10-pi.c | 250 .name = "T10-DIF-TYPE1-CRC", 259 .name = "T10-DIF-TYPE1-IP", 268 .name = "T10-DIF-TYPE3-CRC", 277 .name = "T10-DIF-TYPE3-IP",
|
D | bsg.c | 28 pr_debug("%s: " fmt, (bd)->name, ##__VA_ARGS__) 35 char name[20]; member 260 strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); in bsg_add_device() 421 const char *name, const struct bsg_ops *ops) in bsg_register_queue() argument 452 class_dev = device_create(bsg_class, parent, dev, NULL, "%s", name); in bsg_register_queue()
|
D | genhd.c | 398 char name[16]; member 415 seq_printf(seqf, "%3d %s\n", dp->major, dp->name); in blkdev_show() 440 int register_blkdev(unsigned int major, const char *name) in register_blkdev() argument 456 __func__, name); in register_blkdev() 466 __func__, major, BLKDEV_MAJOR_MAX-1, name); in register_blkdev() 479 strlcpy(p->name, name, sizeof(p->name)); in register_blkdev() 494 major, name); in register_blkdev() 504 void unregister_blkdev(unsigned int major, const char *name) in unregister_blkdev() argument 514 if (!*n || strcmp((*n)->name, name)) { in unregister_blkdev() 1105 dev->parent->driver->name); in printk_all_partitions() [all …]
|
D | bfq-iosched.h | 776 #define BFQ_BFQQ_FNS(name) \ argument 777 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq); \ 778 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq); \ 779 int bfq_bfqq_##name(const struct bfq_queue *bfqq);
|
D | blk-sysfs.c | 261 #define QUEUE_SYSFS_BIT_FNS(name, flag, neg) \ argument 263 queue_##name##_show(struct request_queue *q, char *page) \ 270 queue_##name##_store(struct request_queue *q, const char *page, size_t count) \ 553 .attr = { .name = _name, .mode = 0444 }, \ 559 .attr = { .name = _name, .mode = 0644 }, \ 610 .attr = {.name = "hw_sector_size", .mode = 0444 },
|
D | bsg-lib.c | 365 struct request_queue *bsg_setup_queue(struct device *dev, const char *name, in bsg_setup_queue() argument 399 ret = bsg_register_queue(q, dev, name, &bsg_transport_ops); in bsg_setup_queue() 402 "initialize - register queue\n", dev->kobj.name); in bsg_setup_queue()
|
D | blk-mq-sysfs.c | 181 .attr = {.name = "nr_tags", .mode = 0444 }, 185 .attr = {.name = "nr_reserved_tags", .mode = 0444 }, 189 .attr = {.name = "cpu_list", .mode = 0444 },
|
D | blk-zoned.c | 23 #define ZONE_COND_NAME(name) [BLK_ZONE_COND_##name] = #name argument
|
D | bio.c | 39 #define BV(x, n) { .nr_vecs = x, .name = "biovec-"#n } 59 char name[8]; member 107 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); in bio_find_or_create_slab() 108 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab() 1657 bvs->slab = kmem_cache_create(bvs->name, size, 0, in biovec_init_slabs()
|
/block/partitions/ |
D | ibm.c | 69 char name[], in find_label() argument 115 strncpy(name, label->vol.volid, 6); in find_label() 118 strncpy(name, label->lnx.volid, 6); in find_label() 121 EBCASC(name, 6); in find_label() 136 char name[], in find_vol1_partitions() argument 148 snprintf(tmp, sizeof(tmp), "VOL1/%8s:", name); in find_vol1_partitions() 198 char name[], in find_lnx1_partitions() argument 208 snprintf(tmp, sizeof(tmp), "LNX1/%8s:", name); in find_lnx1_partitions() 245 char name[], in find_cms1_partitions() argument 259 snprintf(tmp, sizeof(tmp), "CMS1/%8s(MDSK):", name); in find_cms1_partitions() [all …]
|
D | acorn.c | 25 adfs_partition(struct parsed_partitions *state, char *name, char *data, in adfs_partition() argument 42 if (name) { in adfs_partition() 44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition() 58 char name[16]; member 93 memcmp(rr->part[part].name, "All\0", 4)) { in riscix_partition() 98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition() 165 char *name = "CUMANA/ADFS"; in adfspart_check_CUMANA() local 193 dr = adfs_partition(state, name, data, first_sector, slot++); in adfspart_check_CUMANA() 197 name = NULL; in adfspart_check_CUMANA() 482 char name[10]; member
|
D | mac.c | 100 mac_fix_string(part->name, 32); in mac_partition() 113 l = strlen(part->name); in mac_partition() 114 if (strcmp(part->name, "/") == 0) in mac_partition() 117 if (strncasecmp(part->name + i, "root", in mac_partition() 123 if (strncasecmp(part->name, "swap", 4) == 0) in mac_partition()
|
D | aix.c | 47 char name[64]; member 276 n[lv_ix].name); in aix_partition() 286 char tmp[sizeof(n[i].name) + 1]; // null char in aix_partition() 288 snprintf(tmp, sizeof(tmp), "%s", n[i].name); in aix_partition()
|
D | check.h | 13 char name[BDEVNAME_SIZE]; member 45 snprintf(tmp, sizeof(tmp), " %s%d", p->name, n); in put_partition()
|
D | core.c | 132 disk_name(hd, 0, state->name); in check_partition() 133 snprintf(state->pp_buf, PAGE_SIZE, " %s:", state->name); in check_partition() 134 if (isdigit(state->name[strlen(state->name)-1])) in check_partition() 135 sprintf(state->name, "p"); in check_partition() 277 .name = "partition",
|
D | cmdline.c | 41 sizeof(subpart->name)); in add_part() 42 strncpy(info->volname, subpart->name, label_min); in add_part()
|
D | msdos.c | 268 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86() 371 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); in parse_bsd() 501 snprintf(tmp, sizeof(tmp), " %s%d: <unixware:", state->name, origin); in parse_unixware() 550 snprintf(tmp, sizeof(tmp), " %s%d: <minix:", state->name, origin); in parse_minix()
|
D | mac.h | 17 char name[32]; /* partition name */ member
|