/Linux-v4.19/arch/powerpc/kernel/ |
D | module.c | 49 const Elf_Shdr *sect; in module_finalize() local 57 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 58 if (sect != NULL) in module_finalize() 60 (void *)sect->sh_addr, in module_finalize() 61 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 63 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 64 if (sect != NULL) in module_finalize() 66 (void *)sect->sh_addr, in module_finalize() 67 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 70 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() [all …]
|
D | vdso.c | 463 void *sect; in vdso_do_find_sections() local 476 sect = find_section32(v32->hdr, ".text", NULL); in vdso_do_find_sections() 477 if (sect == NULL) { in vdso_do_find_sections() 481 v32->text = sect - vdso32_kbase; in vdso_do_find_sections() 491 sect = find_section64(v64->hdr, ".text", NULL); in vdso_do_find_sections() 492 if (sect == NULL) { in vdso_do_find_sections() 496 v64->text = sect - vdso64_kbase; in vdso_do_find_sections()
|
/Linux-v4.19/block/partitions/ |
D | acorn.c | 80 Sector sect; in riscix_partition() local 83 rr = read_part_sector(state, first_sect, §); in riscix_partition() 114 put_dev_sector(sect); in riscix_partition() 135 Sector sect; in linux_partition() local 143 linuxp = read_part_sector(state, first_sect, §); in linux_partition() 159 put_dev_sector(sect); in linux_partition() 169 Sector sect; in adfspart_check_CUMANA() local 192 data = read_part_sector(state, start_blk * 2 + 6, §); in adfspart_check_CUMANA() 234 put_dev_sector(sect); in adfspart_check_CUMANA() 238 put_dev_sector(sect); in adfspart_check_CUMANA() [all …]
|
D | msdos.c | 72 Sector sect; in aix_magic_present() local 90 d = read_part_sector(state, 7, §); in aix_magic_present() 94 put_dev_sector(sect); in aix_magic_present() 126 Sector sect; in parse_extended() local 142 data = read_part_sector(state, this_sector, §); in parse_extended() 207 put_dev_sector(sect); in parse_extended() 210 put_dev_sector(sect); in parse_extended() 220 Sector sect; in parse_solaris_x86() local 225 v = read_part_sector(state, offset + 1, §); in parse_solaris_x86() 229 put_dev_sector(sect); in parse_solaris_x86() [all …]
|
D | mac.c | 33 Sector sect; in mac_partition() local 45 md = read_part_sector(state, 0, §); in mac_partition() 49 put_dev_sector(sect); in mac_partition() 53 put_dev_sector(sect); in mac_partition() 55 data = read_part_sector(state, datasize / 512, §); in mac_partition() 63 put_dev_sector(sect); in mac_partition() 68 put_dev_sector(sect); in mac_partition() 78 put_dev_sector(sect); in mac_partition() 79 data = read_part_sector(state, pos/512, §); in mac_partition() 140 put_dev_sector(sect); in mac_partition()
|
D | sysv68.c | 54 Sector sect; in sysv68_partition() local 60 data = read_part_sector(state, 0, §); in sysv68_partition() 66 put_dev_sector(sect); in sysv68_partition() 71 put_dev_sector(sect); in sysv68_partition() 73 data = read_part_sector(state, i, §); in sysv68_partition() 94 put_dev_sector(sect); in sysv68_partition()
|
D | osf.c | 21 Sector sect; in osf_partition() local 56 data = read_part_sector(state, 0, §); in osf_partition() 63 put_dev_sector(sect); in osf_partition() 67 put_dev_sector(sect); in osf_partition() 72 put_dev_sector(sect); in osf_partition() 85 put_dev_sector(sect); in osf_partition()
|
D | aix.c | 106 Sector sect; in read_lba() local 107 unsigned char *data = read_part_sector(state, lba++, §); in read_lba() 113 put_dev_sector(sect); in read_lba() 174 Sector sect; in aix_partition() local 189 d = read_part_sector(state, 7, §); in aix_partition() 211 put_dev_sector(sect); in aix_partition() 213 if (vgda_sector && (d = read_part_sector(state, vgda_sector, §))) { in aix_partition() 217 put_dev_sector(sect); in aix_partition() 222 if (numlvs && (d = read_part_sector(state, vgda_sector + 1, §))) { in aix_partition() 238 put_dev_sector(sect); in aix_partition()
|
D | sgi.c | 38 Sector sect; in sgi_partition() local 43 label = read_part_sector(state, 0, §); in sgi_partition() 51 put_dev_sector(sect); in sgi_partition() 62 put_dev_sector(sect); in sgi_partition() 81 put_dev_sector(sect); in sgi_partition()
|
D | ultrix.c | 16 Sector sect; in ultrix_partition() local 30 data = read_part_sector(state, (16384 - sizeof(*label))/512, §); in ultrix_partition() 42 put_dev_sector(sect); in ultrix_partition() 46 put_dev_sector(sect); in ultrix_partition()
|
D | amiga.c | 31 Sector sect; in amiga_partition() local 40 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 43 data = read_part_sector(state, blk, §); in amiga_partition() 83 put_dev_sector(sect); in amiga_partition() 84 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 86 data = read_part_sector(state, blk, §); in amiga_partition()
|
D | karma.c | 18 Sector sect; in karma_partition() local 34 data = read_part_sector(state, 0, §); in karma_partition() 40 put_dev_sector(sect); in karma_partition() 56 put_dev_sector(sect); in karma_partition()
|
D | sun.c | 20 Sector sect; in sun_partition() local 65 label = read_part_sector(state, 0, §); in sun_partition() 73 put_dev_sector(sect); in sun_partition() 83 put_dev_sector(sect); in sun_partition() 121 put_dev_sector(sect); in sun_partition()
|
D | atari.c | 36 Sector sect; in atari_partition() local 53 rs = read_part_sector(state, 0, §); in atari_partition() 68 put_dev_sector(sect); in atari_partition() 98 put_dev_sector(sect); in atari_partition() 152 put_dev_sector(sect); in atari_partition()
|
D | ibm.c | 73 Sector sect; in find_label() local 102 data = read_part_sector(state, testsect[i], §); in find_label() 109 put_dev_sector(sect); in find_label() 142 Sector sect; in find_vol1_partitions() local 157 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 160 put_dev_sector(sect); in find_vol1_partitions() 167 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 185 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions()
|
D | ldm.c | 284 Sector sect; in ldm_validate_privheads() local 305 §); in ldm_validate_privheads() 311 put_dev_sector (sect); in ldm_validate_privheads() 373 Sector sect; in ldm_validate_tocblocks() local 395 data = read_part_sector(state, base + off[i], §); in ldm_validate_tocblocks() 402 put_dev_sector(sect); in ldm_validate_tocblocks() 444 Sector sect; in ldm_validate_vmdb() local 455 data = read_part_sector(state, base + OFF_VMDB, §); in ldm_validate_vmdb() 485 put_dev_sector (sect); in ldm_validate_vmdb() 508 Sector sect; in ldm_validate_partition_table() local [all …]
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | io_event_irq.c | 77 struct pseries_errorlog *sect; in ioei_find_event() local 91 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event() 92 if (unlikely(!sect)) { in ioei_find_event() 98 return (struct pseries_io_event *) §->data; in ioei_find_event()
|
/Linux-v4.19/drivers/scsi/ |
D | scsicam.c | 41 Sector sect; in scsi_bios_ptable() local 42 void *data = read_dev_sector(bdev, 0, §); in scsi_bios_ptable() 45 put_dev_sector(sect); in scsi_bios_ptable()
|
/Linux-v4.19/drivers/ide/ |
D | ide.c | 241 u8 sect; member 272 ide_disks_chs[i].sect = s; in ide_set_disk_chs() 317 drive->sect = drive->bios_sect = ide_disks_chs[i].sect; in ide_dev_apply_params() 321 drive->cyl, drive->head, drive->sect); in ide_dev_apply_params()
|
D | ide-disk.c | 134 unsigned int sect, head, cyl, track; in __ide_do_rw_disk() local 136 track = (int)block / drive->sect; in __ide_do_rw_disk() 137 sect = (int)block % drive->sect + 1; in __ide_do_rw_disk() 141 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); in __ide_do_rw_disk() 144 tf->lbal = sect; in __ide_do_rw_disk() 371 drive->capacity64 = drive->cyl * drive->head * drive->sect; in ide_disk_get_capacity()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | feature-fixups.h | 42 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 45 .pushsection sect,"a"; \ 184 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 186 .pushsection sect,"a"; \
|
D | rtas.h | 290 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) in pseries_errorlog_id() argument 292 return be16_to_cpu(sect->id); in pseries_errorlog_id() 296 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) in pseries_errorlog_length() argument 298 return be16_to_cpu(sect->length); in pseries_errorlog_length()
|
/Linux-v4.19/tools/testing/selftests/powerpc/primitives/asm/ |
D | feature-fixups.h | 42 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 45 .pushsection sect,"a"; \ 184 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 186 .pushsection sect,"a"; \
|
/Linux-v4.19/fs/hfs/ |
D | mdb.c | 73 int off2, len, size, sect; in hfs_mdb_get() local 112 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get() 114 while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) in hfs_mdb_get() 154 sect = part_start + part_size - 2; in hfs_mdb_get() 155 bh = sb_bread512(sb, sect, mdb2); in hfs_mdb_get()
|
/Linux-v4.19/drivers/block/ |
D | floppy.c | 2037 if (floppy_type[DP->autodetect[probed_format]].sect) { in next_valid_format() 2102 unsigned char track, head, sect, size; in setup_format_params() member 2115 F_SECT_PER_TRACK = _floppy->sect << 2 >> F_SIZECODE; in setup_format_params() 2141 here[count].sect = 0; in setup_format_params() 2146 here[n].sect = count; in setup_format_params() 2148 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params() 2152 while (here[n].sect) in setup_format_params() 2159 here[count].sect += FD_SECTBASE(_floppy) - 1; in setup_format_params() 2190 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format() 2253 if (block > _floppy->sect) in request_done() [all …]
|