Home
last modified time | relevance | path

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

/block/
Dblk-throttle.c1122 u64 v = *(u64 *)((void *)tg + off); in tg_prfill_conf_u64() local
1124 if (v == -1) in tg_prfill_conf_u64()
1126 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64()
1133 unsigned int v = *(unsigned int *)((void *)tg + off); in tg_prfill_conf_uint() local
1135 if (v == -1) in tg_prfill_conf_uint()
1137 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint()
1140 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument
1147 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument
1199 u64 v; in tg_set_conf() local
1206 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
[all …]
Dblk-cgroup.c526 u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v) in __blkg_prfill_u64() argument
533 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64()
534 return v; in __blkg_prfill_u64()
556 u64 v; in __blkg_prfill_rwstat() local
566 v = atomic64_read(&rwstat->aux_cnt[BLKG_RWSTAT_READ]) + in __blkg_prfill_rwstat()
568 seq_printf(sf, "%s Total %llu\n", dname, (unsigned long long)v); in __blkg_prfill_rwstat()
569 return v; in __blkg_prfill_rwstat()
620 int blkg_print_stat_bytes(struct seq_file *sf, void *v) in blkg_print_stat_bytes() argument
637 int blkg_print_stat_ios(struct seq_file *sf, void *v) in blkg_print_stat_ios() argument
660 int blkg_print_stat_bytes_recursive(struct seq_file *sf, void *v) in blkg_print_stat_bytes_recursive() argument
[all …]
Dcfq-iosched.c1742 static int cfqg_print_weight_device(struct seq_file *sf, void *v) in cfqg_print_weight_device() argument
1760 static int cfqg_print_leaf_weight_device(struct seq_file *sf, void *v) in cfqg_print_leaf_weight_device() argument
1768 static int cfq_print_weight(struct seq_file *sf, void *v) in cfq_print_weight() argument
1781 static int cfq_print_leaf_weight(struct seq_file *sf, void *v) in cfq_print_leaf_weight() argument
1805 u64 v; in __cfqg_set_weight_device() local
1811 if (sscanf(ctx.body, "%llu", &v) == 1) { in __cfqg_set_weight_device()
1814 if (!v && on_dfl) in __cfqg_set_weight_device()
1817 v = 0; in __cfqg_set_weight_device()
1827 if (!v || (v >= min && v <= max)) { in __cfqg_set_weight_device()
1829 cfqg->dev_weight = v; in __cfqg_set_weight_device()
[all …]
Dblk-sysfs.c33 unsigned long v; in queue_var_store() local
35 err = kstrtoul(page, 10, &v); in queue_var_store()
36 if (err || v > UINT_MAX) in queue_var_store()
39 *var = v; in queue_var_store()
Dgenhd.c839 static void *disk_seqf_next(struct seq_file *seqf, void *v, loff_t *pos) in disk_seqf_next() argument
851 static void disk_seqf_stop(struct seq_file *seqf, void *v) in disk_seqf_stop() argument
873 static int show_partition(struct seq_file *seqf, void *v) in show_partition() argument
875 struct gendisk *sgp = v; in show_partition()
1178 static int diskstats_show(struct seq_file *seqf, void *v) in diskstats_show() argument
1180 struct gendisk *gp = v; in diskstats_show()
Dpartition-generic.c591 p->v = page; in read_dev_sector()
596 p->v = NULL; in read_dev_sector()
/block/partitions/
Dmsdos.c220 struct solaris_x86_vtoc *v; in parse_solaris_x86() local
224 v = read_part_sector(state, offset + 1, &sect); in parse_solaris_x86()
225 if (!v) in parse_solaris_x86()
227 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { in parse_solaris_x86()
237 if (le32_to_cpu(v->v_version) != 1) { in parse_solaris_x86()
241 le32_to_cpu(v->v_version)); in parse_solaris_x86()
247 max_nparts = le16_to_cpu(v->v_nparts) > 8 ? SOLARIS_X86_NUMSLICE : 8; in parse_solaris_x86()
249 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86()
Dldm.c559 struct vblk *v = list_entry (item, struct vblk, list); in ldm_get_disk_objid() local
560 if (!memcmp (v->vblk.disk.disk_id, ldb->ph.disk_id, GUID_SIZE)) in ldm_get_disk_objid()
561 return v; in ldm_get_disk_objid()
1219 struct vblk *v = list_entry (item, struct vblk, list); in ldm_ldmdb_add() local
1220 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && in ldm_ldmdb_add()
1221 (v->vblk.part.start > vb->vblk.part.start)) { in ldm_ldmdb_add()
1222 list_add_tail (&vb->list, &v->list); in ldm_ldmdb_add()
1372 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1392 for (v = 0; v < perbuf; v++, data+=size) { /* For each vblk */ in ldm_get_vblks()