Home
last modified time | relevance | path

Searched refs:s (Results 1 – 10 of 10) sorted by relevance

/block/
Dbadblocks.c53 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() argument
60 sector_t target = s + sectors; in badblocks_check()
65 s >>= bb->shift; in badblocks_check()
68 sectors = target - s; in badblocks_check()
105 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in badblocks_check()
163 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, in badblocks_set() argument
177 sector_t next = s + sectors; in badblocks_set()
179 s >>= bb->shift; in badblocks_set()
182 sectors = next - s; in badblocks_set()
195 if (a <= s) in badblocks_set()
[all …]
Dblk-iolatency.c537 struct latency_stat *s; in iolatency_check_latencies() local
538 s = per_cpu_ptr(iolat->stats, cpu); in iolatency_check_latencies()
539 latency_stat_sum(iolat, &stat, s); in iolatency_check_latencies()
540 latency_stat_init(iolat, s); in iolatency_check_latencies()
909 static bool iolatency_ssd_stat(struct iolatency_grp *iolat, struct seq_file *s) in iolatency_ssd_stat() argument
917 struct latency_stat *s; in iolatency_ssd_stat() local
918 s = per_cpu_ptr(iolat->stats, cpu); in iolatency_ssd_stat()
919 latency_stat_sum(iolat, &stat, s); in iolatency_ssd_stat()
924 seq_printf(s, " missed=%llu total=%llu depth=max", in iolatency_ssd_stat()
928 seq_printf(s, " missed=%llu total=%llu depth=%u", in iolatency_ssd_stat()
[all …]
Dblk-cgroup.c899 static void blkcg_print_one_stat(struct blkcg_gq *blkg, struct seq_file *s) in blkcg_print_one_stat() argument
915 seq_printf(s, "%s ", dname); in blkcg_print_one_stat()
930 seq_printf(s, "rbytes=%llu wbytes=%llu rios=%llu wios=%llu dbytes=%llu dios=%llu", in blkcg_print_one_stat()
937 seq_printf(s, " use_delay=%d delay_nsec=%llu", in blkcg_print_one_stat()
948 if (pol->pd_stat_fn(blkg->pd[i], s)) in blkcg_print_one_stat()
953 seq_printf(s, "\n"); in blkcg_print_one_stat()
Dblk-iocost.c3031 static bool ioc_pd_stat(struct blkg_policy_data *pd, struct seq_file *s) in ioc_pd_stat() argument
3043 seq_printf(s, " cost.vrate=%u.%02u", vp10k / 100, vp10k % 100); in ioc_pd_stat()
3046 seq_printf(s, " cost.usage=%llu", iocg->last_stat.usage_us); in ioc_pd_stat()
3049 seq_printf(s, " cost.wait=%llu cost.indebt=%llu cost.indelay=%llu", in ioc_pd_stat()
Dsed-opal.c59 s64 s; member
/block/partitions/
Datari.c27 static inline int OK_id(char *s) in OK_id() argument
29 return memcmp (s, "GEM", 3) == 0 || memcmp (s, "BGM", 3) == 0 || in OK_id()
30 memcmp (s, "LNX", 3) == 0 || memcmp (s, "SWP", 3) == 0 || in OK_id()
31 memcmp (s, "RAW", 3) == 0 ; in OK_id()
Dmsdos.c284 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86() local
287 if (s->s_size == 0) in parse_solaris_x86()
294 le32_to_cpu(s->s_start)+offset, in parse_solaris_x86()
295 le32_to_cpu(s->s_size)); in parse_solaris_x86()
DKconfig51 RiscOS operating system which runs on Acorn's ARM-based Risc PC
181 were partitioned using Windows 2000's/XP's or Vista's Logical Disk
189 the limitations of the PC's partitioning scheme. The Logical Disk
Dcmdline.c310 static int __init cmdline_parts_setup(char *s) in cmdline_parts_setup() argument
312 cmdline = s; in cmdline_parts_setup()
Dldm.c1355 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1368 for (s = skip; s < finish; s++) { /* For each sector */ in ldm_get_vblks()
1369 data = read_part_sector(state, base + OFF_VMDB + s, &sect); in ldm_get_vblks()