Home
last modified time | relevance | path

Searched refs:v (Results 1 – 18 of 18) sorted by relevance

/block/
Dbfq-cgroup.c994 static int bfq_io_show_weight_legacy(struct seq_file *sf, void *v) in bfq_io_show_weight_legacy() argument
1018 static int bfq_io_show_weight(struct seq_file *sf, void *v) in bfq_io_show_weight() argument
1096 u64 v; in bfq_io_set_device_weight() local
1102 if (sscanf(ctx.body, "%llu", &v) == 1) { in bfq_io_set_device_weight()
1105 if (!v) in bfq_io_set_device_weight()
1108 v = 0; in bfq_io_set_device_weight()
1117 if (!v || (v >= BFQ_MIN_WEIGHT && v <= BFQ_MAX_WEIGHT)) { in bfq_io_set_device_weight()
1118 bfq_group_set_weight(bfqg, bfqg->entity.weight, v); in bfq_io_set_device_weight()
1132 u64 v; in bfq_io_set_weight() local
1137 v = simple_strtoull(buf, &endp, 0); in bfq_io_set_weight()
[all …]
Dblk-cgroup-rwstat.c53 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()
Dblk-throttle.c1375 u64 v = *(u64 *)((void *)tg + off); in tg_prfill_conf_u64() local
1377 if (v == U64_MAX) in tg_prfill_conf_u64()
1379 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64()
1386 unsigned int v = *(unsigned int *)((void *)tg + off); in tg_prfill_conf_uint() local
1388 if (v == UINT_MAX) in tg_prfill_conf_uint()
1390 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint()
1393 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument
1400 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument
1472 u64 v; in tg_set_conf() local
1479 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
[all …]
Dblk-iocost.c873 u64 v; in calc_lcoefs() local
887 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs()
888 if (v > *page) in calc_lcoefs()
889 *seqio = v - *page; in calc_lcoefs()
893 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops); in calc_lcoefs()
894 if (v > *page) in calc_lcoefs()
895 *randio = v - *page; in calc_lcoefs()
3068 static int ioc_weight_show(struct seq_file *sf, void *v) in ioc_weight_show() argument
3087 u32 v; in ioc_weight_write() local
3093 if (!sscanf(buf, "default %u", &v) && !sscanf(buf, "%u", &v)) in ioc_weight_write()
[all …]
Dblk-mq-debugfs.c53 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
356 int blk_mq_debugfs_rq_show(struct seq_file *m, void *v) in blk_mq_debugfs_rq_show() argument
358 return __blk_mq_debugfs_rq_show(m, list_entry_rq(v)); in blk_mq_debugfs_rq_show()
371 static void *hctx_dispatch_next(struct seq_file *m, void *v, loff_t *pos) in hctx_dispatch_next() argument
375 return seq_list_next(v, &hctx->dispatch, pos); in hctx_dispatch_next()
378 static void hctx_dispatch_stop(struct seq_file *m, void *v) in hctx_dispatch_stop() argument
639 static void *ctx_##name##_rq_list_next(struct seq_file *m, void *v, \
644 return seq_list_next(v, &ctx->rq_lists[type], pos); \
[all …]
Dblk-rq-qos.c9 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()
Dblk-sysfs.c37 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()
Dmq-deadline.c1057 static void *deadline_##name##_fifo_next(struct seq_file *m, void *v, \
1064 return seq_list_next(v, &per_prio->fifo_list[data_dir], pos); \
1067 static void deadline_##name##_fifo_stop(struct seq_file *m, void *v) \
1192 void *v, loff_t *pos) \
1198 return seq_list_next(v, &per_prio->dispatch, pos); \
1201 static void deadline_dispatch##prio##_stop(struct seq_file *m, void *v) \
Dgenhd.c774 static void *disk_seqf_next(struct seq_file *seqf, void *v, loff_t *pos) in disk_seqf_next() argument
786 static void disk_seqf_stop(struct seq_file *seqf, void *v) in disk_seqf_stop() argument
808 static int show_partition(struct seq_file *seqf, void *v) in show_partition() argument
810 struct gendisk *sgp = v; in show_partition()
1158 static int diskstats_show(struct seq_file *seqf, void *v) in diskstats_show() argument
1160 struct gendisk *gp = v; in diskstats_show()
Dblk-mq-debugfs.h21 int blk_mq_debugfs_rq_show(struct seq_file *m, void *v);
Dblk-iolatency.c862 u64 v; in iolatency_set_limit() local
866 else if (sscanf(val, "%llu", &v) == 1) in iolatency_set_limit()
867 lat_val = v * NSEC_PER_USEC; in iolatency_set_limit()
901 static int iolatency_print_limit(struct seq_file *sf, void *v) in iolatency_print_limit() argument
Dblk-ioprio.c94 static int ioprio_show_prio_policy(struct seq_file *sf, void *v) in ioprio_show_prio_policy() argument
Dkyber-iosched.c918 static void *kyber_##name##_rqs_next(struct seq_file *m, void *v, \
924 return seq_list_next(v, &khd->rqs[domain], pos); \
927 static void kyber_##name##_rqs_stop(struct seq_file *m, void *v) \
Dblk-cgroup.c559 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument
566 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64()
567 return v; in __blkg_prfill_u64()
956 static int blkcg_print_stat(struct seq_file *sf, void *v) in blkcg_print_stat() argument
/block/partitions/
Dmsdos.c255 struct solaris_x86_vtoc *v; in parse_solaris_x86() local
259 v = read_part_sector(state, offset + 1, &sect); in parse_solaris_x86()
260 if (!v) in parse_solaris_x86()
262 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { in parse_solaris_x86()
272 if (le32_to_cpu(v->v_version) != 1) { in parse_solaris_x86()
276 le32_to_cpu(v->v_version)); in parse_solaris_x86()
282 max_nparts = le16_to_cpu(v->v_nparts) > 8 ? SOLARIS_X86_NUMSLICE : 8; in parse_solaris_x86()
284 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86()
Dldm.c545 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()
Dcheck.h28 struct page *v; member
34 put_page(p.v); in put_dev_sector()
Dcore.c736 p->v = page; in read_part_sector()
742 p->v = NULL; in read_part_sector()