/block/ |
D | bfq-cgroup.c | 984 static int bfq_io_show_weight_legacy(struct seq_file *sf, void *v) in bfq_io_show_weight_legacy() argument 1008 static int bfq_io_show_weight(struct seq_file *sf, void *v) in bfq_io_show_weight() argument 1086 u64 v; in bfq_io_set_device_weight() local 1092 if (sscanf(ctx.body, "%llu", &v) == 1) { in bfq_io_set_device_weight() 1095 if (!v) in bfq_io_set_device_weight() 1098 v = 0; in bfq_io_set_device_weight() 1107 if (!v || (v >= BFQ_MIN_WEIGHT && v <= BFQ_MAX_WEIGHT)) { in bfq_io_set_device_weight() 1108 bfq_group_set_weight(bfqg, bfqg->entity.weight, v); in bfq_io_set_device_weight() 1122 u64 v; in bfq_io_set_weight() local 1127 v = simple_strtoull(buf, &endp, 0); in bfq_io_set_weight() [all …]
|
D | blk-cgroup-rwstat.c | 53 u64 v; in __blkg_prfill_rwstat() local 63 v = rwstat->cnt[BLKG_RWSTAT_READ] + in __blkg_prfill_rwstat() 66 seq_printf(sf, "%s Total %llu\n", dname, v); in __blkg_prfill_rwstat() 67 return v; in __blkg_prfill_rwstat()
|
D | blk-throttle.c | 1369 u64 v = *(u64 *)((void *)tg + off); in tg_prfill_conf_u64() local 1371 if (v == U64_MAX) in tg_prfill_conf_u64() 1373 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64() 1380 unsigned int v = *(unsigned int *)((void *)tg + off); in tg_prfill_conf_uint() local 1382 if (v == UINT_MAX) in tg_prfill_conf_uint() 1384 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint() 1387 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument 1394 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument 1466 u64 v; in tg_set_conf() local 1473 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf() [all …]
|
D | blk-iocost.c | 875 u64 v; in calc_lcoefs() local 889 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs() 890 if (v > *page) in calc_lcoefs() 891 *seqio = v - *page; in calc_lcoefs() 895 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops); in calc_lcoefs() 896 if (v > *page) in calc_lcoefs() 897 *randio = v - *page; in calc_lcoefs() 3045 static int ioc_weight_show(struct seq_file *sf, void *v) in ioc_weight_show() argument 3064 u32 v; in ioc_weight_write() local 3070 if (!sscanf(buf, "default %u", &v) && !sscanf(buf, "%u", &v)) in ioc_weight_write() [all …]
|
D | blk-mq-debugfs.c | 53 static void *queue_requeue_list_next(struct seq_file *m, void *v, loff_t *pos) in queue_requeue_list_next() argument 57 return seq_list_next(v, &q->requeue_list, pos); in queue_requeue_list_next() 60 static void queue_requeue_list_stop(struct seq_file *m, void *v) in queue_requeue_list_stop() argument 358 int blk_mq_debugfs_rq_show(struct seq_file *m, void *v) in blk_mq_debugfs_rq_show() argument 360 return __blk_mq_debugfs_rq_show(m, list_entry_rq(v)); in blk_mq_debugfs_rq_show() 373 static void *hctx_dispatch_next(struct seq_file *m, void *v, loff_t *pos) in hctx_dispatch_next() argument 377 return seq_list_next(v, &hctx->dispatch, pos); in hctx_dispatch_next() 380 static void hctx_dispatch_stop(struct seq_file *m, void *v) in hctx_dispatch_stop() argument 641 static void *ctx_##name##_rq_list_next(struct seq_file *m, void *v, \ 646 return seq_list_next(v, &ctx->rq_lists[type], pos); \ [all …]
|
D | blk-rq-qos.c | 9 static bool atomic_inc_below(atomic_t *v, unsigned int below) in atomic_inc_below() argument 11 unsigned int cur = atomic_read(v); in atomic_inc_below() 18 old = atomic_cmpxchg(v, cur, cur + 1); in atomic_inc_below()
|
D | blk-sysfs.c | 37 unsigned long v; in queue_var_store() local 39 err = kstrtoul(page, 10, &v); in queue_var_store() 40 if (err || v > UINT_MAX) in queue_var_store() 43 *var = v; in queue_var_store() 51 s64 v; in queue_var_store64() local 53 err = kstrtos64(page, 10, &v); in queue_var_store64() 57 *var = v; in queue_var_store64()
|
D | mq-deadline-main.c | 947 static void *deadline_##name##_fifo_next(struct seq_file *m, void *v, \ 954 return seq_list_next(v, &per_prio->fifo_list[data_dir], pos); \ 957 static void deadline_##name##_fifo_stop(struct seq_file *m, void *v) \ 1064 void *v, loff_t *pos) \ 1070 return seq_list_next(v, &per_prio->dispatch, pos); \ 1073 static void deadline_dispatch##prio##_stop(struct seq_file *m, void *v) \
|
D | blk-mq-debugfs.h | 19 int blk_mq_debugfs_rq_show(struct seq_file *m, void *v);
|
D | blk-iolatency.c | 858 u64 v; in iolatency_set_limit() local 862 else if (sscanf(val, "%llu", &v) == 1) in iolatency_set_limit() 863 lat_val = v * NSEC_PER_USEC; in iolatency_set_limit() 897 static int iolatency_print_limit(struct seq_file *sf, void *v) in iolatency_print_limit() argument
|
D | genhd.c | 1139 static void *disk_seqf_next(struct seq_file *seqf, void *v, loff_t *pos) in disk_seqf_next() argument 1151 static void disk_seqf_stop(struct seq_file *seqf, void *v) in disk_seqf_stop() argument 1173 static int show_partition(struct seq_file *seqf, void *v) in show_partition() argument 1175 struct gendisk *sgp = v; in show_partition() 1599 static int diskstats_show(struct seq_file *seqf, void *v) in diskstats_show() argument 1601 struct gendisk *gp = v; in diskstats_show()
|
D | blk-ioprio.c | 94 static int ioprio_show_prio_policy(struct seq_file *sf, void *v) in ioprio_show_prio_policy() argument
|
D | kyber-iosched.c | 917 static void *kyber_##name##_rqs_next(struct seq_file *m, void *v, \ 923 return seq_list_next(v, &khd->rqs[domain], pos); \ 926 static void kyber_##name##_rqs_stop(struct seq_file *m, void *v) \
|
D | blk-cgroup.c | 534 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument 541 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64() 542 return v; in __blkg_prfill_u64() 857 static int blkcg_print_stat(struct seq_file *sf, void *v) in blkcg_print_stat() argument
|
/block/partitions/ |
D | msdos.c | 254 struct solaris_x86_vtoc *v; in parse_solaris_x86() local 258 v = read_part_sector(state, offset + 1, §); in parse_solaris_x86() 259 if (!v) in parse_solaris_x86() 261 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { in parse_solaris_x86() 271 if (le32_to_cpu(v->v_version) != 1) { in parse_solaris_x86() 275 le32_to_cpu(v->v_version)); in parse_solaris_x86() 281 max_nparts = le16_to_cpu(v->v_nparts) > 8 ? SOLARIS_X86_NUMSLICE : 8; in parse_solaris_x86() 283 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86()
|
D | ldm.c | 545 struct vblk *v = list_entry (item, struct vblk, list); in ldm_get_disk_objid() local 546 if (uuid_equal(&v->vblk.disk.disk_id, &ldb->ph.disk_id)) in ldm_get_disk_objid() 547 return v; in ldm_get_disk_objid() 1202 struct vblk *v = list_entry (item, struct vblk, list); in ldm_ldmdb_add() local 1203 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && in ldm_ldmdb_add() 1204 (v->vblk.part.start > vb->vblk.part.start)) { in ldm_ldmdb_add() 1205 list_add_tail (&vb->list, &v->list); in ldm_ldmdb_add() 1355 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local 1375 for (v = 0; v < perbuf; v++, data+=size) { /* For each vblk */ in ldm_get_vblks()
|
D | check.h | 28 struct page *v; member 34 put_page(p.v); in put_dev_sector()
|
D | core.c | 794 p->v = page; in read_part_sector() 800 p->v = NULL; in read_part_sector()
|