/fs/partitions/ |
D | acorn.c | 77 Sector sect; in riscix_partition() local 80 rr = (struct riscix_record *)read_dev_sector(bdev, first_sect, §); in riscix_partition() 109 put_dev_sector(sect); in riscix_partition() 130 Sector sect; in linux_partition() local 138 linuxp = (struct linux_part *)read_dev_sector(bdev, first_sect, §); in linux_partition() 154 put_dev_sector(sect); in linux_partition() 165 Sector sect; in adfspart_check_CUMANA() local 188 data = read_dev_sector(bdev, start_blk * 2 + 6, §); in adfspart_check_CUMANA() 230 put_dev_sector(sect); in adfspart_check_CUMANA() 234 put_dev_sector(sect); in adfspart_check_CUMANA() [all …]
|
D | msdos.c | 67 Sector sect; in aix_magic_present() local 85 d = read_dev_sector(bdev, 7, §); in aix_magic_present() 89 put_dev_sector(sect); in aix_magic_present() 110 Sector sect; in parse_extended() local 126 data = read_dev_sector(bdev, this_sector, §); in parse_extended() 189 put_dev_sector(sect); in parse_extended() 192 put_dev_sector(sect); in parse_extended() 203 Sector sect; in parse_solaris_x86() local 208 v = (struct solaris_x86_vtoc *)read_dev_sector(bdev, offset+1, §); in parse_solaris_x86() 212 put_dev_sector(sect); in parse_solaris_x86() [all …]
|
D | mac.c | 33 Sector sect; in mac_partition() local 45 md = (struct mac_driver_desc *) read_dev_sector(bdev, 0, §); in mac_partition() 49 put_dev_sector(sect); in mac_partition() 53 put_dev_sector(sect); in mac_partition() 54 data = read_dev_sector(bdev, secsize/512, §); in mac_partition() 59 put_dev_sector(sect); in mac_partition() 66 put_dev_sector(sect); in mac_partition() 67 data = read_dev_sector(bdev, pos/512, §); in mac_partition() 129 put_dev_sector(sect); in mac_partition()
|
D | sysv68.c | 53 Sector sect; in sysv68_partition() local 58 data = read_dev_sector(bdev, 0, §); in sysv68_partition() 64 put_dev_sector(sect); in sysv68_partition() 69 put_dev_sector(sect); in sysv68_partition() 71 data = read_dev_sector(bdev, i, §); in sysv68_partition() 90 put_dev_sector(sect); in sysv68_partition()
|
D | amiga.c | 29 Sector sect; in amiga_partition() local 38 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 41 data = read_dev_sector(bdev, blk, §); in amiga_partition() 75 put_dev_sector(sect); in amiga_partition() 76 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 78 data = read_dev_sector(bdev, blk, §); in amiga_partition()
|
D | osf.c | 17 Sector sect; in osf_partition() local 52 data = read_dev_sector(bdev, 0, §); in osf_partition() 59 put_dev_sector(sect); in osf_partition() 63 put_dev_sector(sect); in osf_partition() 76 put_dev_sector(sect); in osf_partition()
|
D | sgi.c | 37 Sector sect; in sgi_partition() local 42 label = (struct sgi_disklabel *) read_dev_sector(bdev, 0, §); in sgi_partition() 50 put_dev_sector(sect); in sgi_partition() 61 put_dev_sector(sect); in sgi_partition() 80 put_dev_sector(sect); in sgi_partition()
|
D | ibm.c | 57 Sector sect; in ibm_partition() local 84 data = read_dev_sector(bdev, info->label_block*(blocksize/512), §); in ibm_partition() 94 put_dev_sector(sect); in ibm_partition() 158 §); in ibm_partition() 164 put_dev_sector(sect); in ibm_partition() 173 §); in ibm_partition() 194 §); in ibm_partition()
|
D | ultrix.c | 15 Sector sect; in ultrix_partition() local 29 data = read_dev_sector(bdev, (16384 - sizeof(*label))/512, §); in ultrix_partition() 41 put_dev_sector(sect); in ultrix_partition() 45 put_dev_sector(sect); in ultrix_partition()
|
D | karma.c | 16 Sector sect; in karma_partition() local 32 data = read_dev_sector(bdev, 0, §); in karma_partition() 38 put_dev_sector(sect); in karma_partition() 54 put_dev_sector(sect); in karma_partition()
|
D | atari.c | 35 Sector sect; in atari_partition() local 45 rs = (struct rootsector *) read_dev_sector(bdev, 0, §); in atari_partition() 60 put_dev_sector(sect); in atari_partition() 90 put_dev_sector(sect); in atari_partition() 144 put_dev_sector(sect); in atari_partition()
|
D | sun.c | 19 Sector sect; in sun_partition() local 64 label = (struct sun_disklabel *)read_dev_sector(bdev, 0, §); in sun_partition() 72 put_dev_sector(sect); in sun_partition() 82 put_dev_sector(sect); in sun_partition() 120 put_dev_sector(sect); in sun_partition()
|
D | ldm.c | 329 Sector sect; in ldm_validate_privheads() local 350 ph[0]->config_start + off[i], §); in ldm_validate_privheads() 356 put_dev_sector (sect); in ldm_validate_privheads() 418 Sector sect; in ldm_validate_tocblocks() local 440 data = read_dev_sector(bdev, base + off[i], §); in ldm_validate_tocblocks() 447 put_dev_sector(sect); in ldm_validate_tocblocks() 489 Sector sect; in ldm_validate_vmdb() local 500 data = read_dev_sector (bdev, base + OFF_VMDB, §); in ldm_validate_vmdb() 530 put_dev_sector (sect); in ldm_validate_vmdb() 553 Sector sect; in ldm_validate_partition_table() local [all …]
|
D | efi.c | 197 Sector sect; in read_lba() local 198 unsigned char *data = read_dev_sector(bdev, lba++, §); in read_lba() 204 put_dev_sector(sect); in read_lba()
|
/fs/hfs/ |
D | mdb.c | 72 int off2, len, size, sect; in hfs_mdb_get() local 111 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get() 113 while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) in hfs_mdb_get() 153 sect = part_start + part_size - 2; in hfs_mdb_get() 154 bh = sb_bread512(sb, sect, mdb2); in hfs_mdb_get()
|