/linux-2.6.39/arch/powerpc/kernel/ |
D | module.c | 65 const Elf_Shdr *sect; in module_finalize() local 68 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 69 if (sect != NULL) in module_finalize() 71 (void *)sect->sh_addr, in module_finalize() 72 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 74 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 75 if (sect != NULL) in module_finalize() 77 (void *)sect->sh_addr, in module_finalize() 78 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 81 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() [all …]
|
D | vdso.c | 492 void *sect; in vdso_do_find_sections() local 504 sect = find_section32(v32->hdr, ".text", NULL); in vdso_do_find_sections() 505 if (sect == NULL) { in vdso_do_find_sections() 509 v32->text = sect - vdso32_kbase; in vdso_do_find_sections() 518 sect = find_section64(v64->hdr, ".text", NULL); in vdso_do_find_sections() 519 if (sect == NULL) { in vdso_do_find_sections() 523 v64->text = sect - vdso64_kbase; in vdso_do_find_sections()
|
/linux-2.6.39/fs/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 | 70 Sector sect; in aix_magic_present() local 88 d = read_part_sector(state, 7, §); in aix_magic_present() 92 put_dev_sector(sect); in aix_magic_present() 112 Sector sect; in parse_extended() local 128 data = read_part_sector(state, this_sector, §); in parse_extended() 191 put_dev_sector(sect); in parse_extended() 194 put_dev_sector(sect); in parse_extended() 204 Sector sect; in parse_solaris_x86() local 209 v = read_part_sector(state, offset + 1, §); in parse_solaris_x86() 213 put_dev_sector(sect); in parse_solaris_x86() [all …]
|
D | mac.c | 32 Sector sect; in mac_partition() local 44 md = read_part_sector(state, 0, §); in mac_partition() 48 put_dev_sector(sect); in mac_partition() 52 put_dev_sector(sect); in mac_partition() 53 data = read_part_sector(state, secsize/512, §); in mac_partition() 58 put_dev_sector(sect); in mac_partition() 63 put_dev_sector(sect); in mac_partition() 69 put_dev_sector(sect); in mac_partition() 70 data = read_part_sector(state, pos/512, §); in mac_partition() 131 put_dev_sector(sect); in mac_partition()
|
D | sysv68.c | 53 Sector sect; in sysv68_partition() local 59 data = read_part_sector(state, 0, §); in sysv68_partition() 65 put_dev_sector(sect); in sysv68_partition() 70 put_dev_sector(sect); in sysv68_partition() 72 data = read_part_sector(state, i, §); in sysv68_partition() 93 put_dev_sector(sect); in sysv68_partition()
|
D | osf.c | 20 Sector sect; in osf_partition() local 55 data = read_part_sector(state, 0, §); in osf_partition() 62 put_dev_sector(sect); in osf_partition() 66 put_dev_sector(sect); in osf_partition() 71 put_dev_sector(sect); in osf_partition() 84 put_dev_sector(sect); in osf_partition()
|
D | sgi.c | 37 Sector sect; in sgi_partition() local 42 label = read_part_sector(state, 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 | ultrix.c | 15 Sector sect; in ultrix_partition() local 29 data = read_part_sector(state, (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_part_sector(state, 0, §); in karma_partition() 38 put_dev_sector(sect); in karma_partition() 54 put_dev_sector(sect); in karma_partition()
|
D | amiga.c | 28 Sector sect; in amiga_partition() local 37 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 40 data = read_part_sector(state, blk, §); in amiga_partition() 80 put_dev_sector(sect); in amiga_partition() 81 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 83 data = read_part_sector(state, blk, §); in amiga_partition()
|
D | sun.c | 19 Sector sect; in sun_partition() local 64 label = read_part_sector(state, 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 | atari.c | 35 Sector sect; in atari_partition() local 45 rs = read_part_sector(state, 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 | ibm.c | 76 Sector sect; in ibm_partition() local 115 data = read_part_sector(state, labelsect, §); in ibm_partition() 120 put_dev_sector(sect); in ibm_partition() 213 §); in ibm_partition() 219 put_dev_sector(sect); in ibm_partition() 228 blk * (blocksize/512), §); in ibm_partition() 249 blk * (blocksize/512), §); in ibm_partition()
|
D | ldm.c | 334 Sector sect; in ldm_validate_privheads() local 355 §); in ldm_validate_privheads() 361 put_dev_sector (sect); in ldm_validate_privheads() 423 Sector sect; in ldm_validate_tocblocks() local 445 data = read_part_sector(state, base + off[i], §); in ldm_validate_tocblocks() 452 put_dev_sector(sect); in ldm_validate_tocblocks() 494 Sector sect; in ldm_validate_vmdb() local 505 data = read_part_sector(state, base + OFF_VMDB, §); in ldm_validate_vmdb() 535 put_dev_sector (sect); in ldm_validate_vmdb() 558 Sector sect; in ldm_validate_partition_table() local [all …]
|
/linux-2.6.39/arch/sparc/boot/ |
D | btfixupprep.c | 41 char *sect; member 104 char *sect; in main() local 125 sect = malloc(strlen (buffer + rellen) + 1); in main() 126 if (!sect) fatal(); in main() 127 strcpy (sect, buffer + rellen); in main() 128 p = strchr (sect, ']'); in main() 164 if (strcmp (sect, ".init.text")) { in main() 169 buffer + shift, sect); in main() 174 if (!strcmp (sect, ".text.exit")) in main() 176 if (strcmp (sect, ".text") && in main() [all …]
|
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/ |
D | rmm.c | 99 struct rmm_ovly_sect *sect, *prev_sect = NULL; in rmm_alloc() local 125 list_for_each_entry(sect, &target->ovly_list, list_elem) { in rmm_alloc() 126 if (addr <= sect->addr) { in rmm_alloc() 128 if ((addr + size > sect->addr) || (prev_sect && in rmm_alloc() 136 prev_sect = sect; in rmm_alloc() 147 if (list_is_last(§->list_elem, &target->ovly_list)) in rmm_alloc() 154 §->list_elem); in rmm_alloc() 249 struct rmm_ovly_sect *sect, *tmp; in rmm_delete() local 258 list_for_each_entry_safe(sect, tmp, &target->ovly_list, list_elem) { in rmm_delete() 259 list_del(§->list_elem); in rmm_delete() [all …]
|
/linux-2.6.39/drivers/block/ |
D | hd.c | 123 unsigned int head, sect, cyl, wpcom, lzone, ctl; member 186 hd_info[hdind].sect = ints[3]; in hd_setup() 307 unsigned int sect, in hd_out() argument 330 outb_p(sect, ++port); in hd_out() 384 hd_out(disk, disk->sect, disk->sect, disk->head-1, in reset_hd() 559 hd_out(disk, disk->sect, 0, 0, 0, ATA_CMD_RESTORE, &recal_intr); in do_special_op() 620 sec = block % disk->sect + 1; in hd_request() 621 track = block / disk->sect; in hd_request() 667 geo->sectors = disk->sect; in hd_getgeo() 756 set_capacity(disk, p->head * p->sect * p->cyl); in hd_init() [all …]
|
D | floppy.c | 2058 if (floppy_type[DP->autodetect[probed_format]].sect) { in next_valid_format() 2123 unsigned char track, head, sect, size; in setup_format_params() member 2136 F_SECT_PER_TRACK = _floppy->sect << 2 >> F_SIZECODE; in setup_format_params() 2162 here[count].sect = 0; in setup_format_params() 2167 here[n].sect = count; in setup_format_params() 2169 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params() 2173 while (here[n].sect) in setup_format_params() 2180 here[count].sect += FD_SECTBASE(_floppy) - 1; in setup_format_params() 2211 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format() 2274 if (block > _floppy->sect) in request_done() [all …]
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | feature-fixups.h | 40 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 43 .pushsection sect,"a"; \ 166 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 168 .pushsection sect,"a"; \
|
/linux-2.6.39/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-2.6.39/drivers/ide/ |
D | ide.c | 242 u8 sect; member 273 ide_disks_chs[i].sect = s; in ide_set_disk_chs() 318 drive->sect = drive->bios_sect = ide_disks_chs[i].sect; in ide_dev_apply_params() 322 drive->cyl, drive->head, drive->sect); in ide_dev_apply_params()
|
D | ide-disk.c | 133 unsigned int sect, head, cyl, track; in __ide_do_rw_disk() local 135 track = (int)block / drive->sect; in __ide_do_rw_disk() 136 sect = (int)block % drive->sect + 1; in __ide_do_rw_disk() 140 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); in __ide_do_rw_disk() 143 tf->lbal = sect; in __ide_do_rw_disk() 371 drive->capacity64 = drive->cyl * drive->head * drive->sect; in ide_disk_get_capacity()
|
/linux-2.6.39/drivers/staging/keucr/ |
D | smilmain.c | 1086 BYTE sect; in Copy_D_BlockAll() local 1090 sect=Media.Sector; in Copy_D_BlockAll() 1108 Media.Sector=sect; in Copy_D_BlockAll() 1118 Media.Sector=sect; in Copy_D_BlockAll() 1744 BYTE sect; in MarkFail_D_PhyOneBlock() local 1748 sect=Media.Sector; in MarkFail_D_PhyOneBlock() 1757 Media.Sector = sect; in MarkFail_D_PhyOneBlock() 1765 Media.Sector=sect; in MarkFail_D_PhyOneBlock()
|
/linux-2.6.39/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()
|