Home
last modified time | relevance | path

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

/block/
Dbadblocks.c61 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() argument
68 sector_t target = s + sectors; in badblocks_check()
73 s >>= bb->shift; in badblocks_check()
76 sectors = target - s; in badblocks_check()
113 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in badblocks_check()
171 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, in badblocks_set() argument
185 sector_t next = s + sectors; in badblocks_set()
187 s >>= bb->shift; in badblocks_set()
190 sectors = next - s; in badblocks_set()
203 if (a <= s) in badblocks_set()
[all …]
Dsed-opal.c64 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()
Dcmdline.c54 static int __init cmdline_parts_setup(char *s) in cmdline_parts_setup() argument
56 cmdline = s; in cmdline_parts_setup()
Dmsdos.c250 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86() local
253 if (s->s_size == 0) in parse_solaris_x86()
260 le32_to_cpu(s->s_start)+offset, in parse_solaris_x86()
261 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
Dldm.c1372 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1385 for (s = skip; s < finish; s++) { /* For each sector */ in ldm_get_vblks()
1386 data = read_part_sector(state, base + OFF_VMDB + s, &sect); in ldm_get_vblks()