/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | module.c | 37 const Elf_Shdr *sect; in module_finalize() local 45 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 46 if (sect != NULL) in module_finalize() 48 (void *)sect->sh_addr, in module_finalize() 49 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 51 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 52 if (sect != NULL) in module_finalize() 54 (void *)sect->sh_addr, in module_finalize() 55 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 58 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() [all …]
|
D | vdso.c | 431 void *sect; in vdso_do_find_sections() local 444 sect = find_section32(v32->hdr, ".text", NULL); in vdso_do_find_sections() 445 if (sect == NULL) { in vdso_do_find_sections() 449 v32->text = sect - vdso32_kbase; in vdso_do_find_sections() 459 sect = find_section64(v64->hdr, ".text", NULL); in vdso_do_find_sections() 460 if (sect == NULL) { in vdso_do_find_sections() 464 v64->text = sect - vdso64_kbase; in vdso_do_find_sections()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | acorn.c | 74 Sector sect; in riscix_partition() local 77 rr = read_part_sector(state, first_sect, §); in riscix_partition() 108 put_dev_sector(sect); in riscix_partition() 129 Sector sect; in linux_partition() local 137 linuxp = read_part_sector(state, first_sect, §); in linux_partition() 153 put_dev_sector(sect); in linux_partition() 163 Sector sect; in adfspart_check_CUMANA() local 186 data = read_part_sector(state, start_blk * 2 + 6, §); in adfspart_check_CUMANA() 228 put_dev_sector(sect); in adfspart_check_CUMANA() 232 put_dev_sector(sect); in adfspart_check_CUMANA() [all …]
|
D | msdos.c | 75 Sector sect; in aix_magic_present() local 99 d = read_part_sector(state, 7, §); in aix_magic_present() 103 put_dev_sector(sect); in aix_magic_present() 135 Sector sect; in parse_extended() local 151 data = read_part_sector(state, this_sector, §); in parse_extended() 216 put_dev_sector(sect); in parse_extended() 219 put_dev_sector(sect); in parse_extended() 253 Sector sect; in parse_solaris_x86() local 258 v = read_part_sector(state, offset + 1, §); in parse_solaris_x86() 262 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 | 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 | 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 | 105 Sector sect; in read_lba() local 106 unsigned char *data = read_part_sector(state, lba++, §); in read_lba() 112 put_dev_sector(sect); in read_lba() 173 Sector sect; in aix_partition() local 188 d = read_part_sector(state, 7, §); in aix_partition() 210 put_dev_sector(sect); in aix_partition() 212 if (vgda_sector && (d = read_part_sector(state, vgda_sector, §))) { in aix_partition() 216 put_dev_sector(sect); in aix_partition() 221 if (numlvs && (d = read_part_sector(state, vgda_sector + 1, §))) { in aix_partition() 237 put_dev_sector(sect); in aix_partition()
|
D | sgi.c | 43 Sector sect; in sgi_partition() local 48 label = read_part_sector(state, 0, §); in sgi_partition() 56 put_dev_sector(sect); in sgi_partition() 67 put_dev_sector(sect); in sgi_partition() 86 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 | amiga.c | 30 Sector sect; in amiga_partition() local 39 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 42 data = read_part_sector(state, blk, §); in amiga_partition() 81 put_dev_sector(sect); in amiga_partition() 82 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 84 data = read_part_sector(state, blk, §); in amiga_partition()
|
D | karma.c | 19 Sector sect; in karma_partition() local 35 data = read_part_sector(state, 0, §); in karma_partition() 41 put_dev_sector(sect); in karma_partition() 57 put_dev_sector(sect); in karma_partition()
|
D | sun.c | 27 Sector sect; in sun_partition() local 72 label = read_part_sector(state, 0, §); in sun_partition() 80 put_dev_sector(sect); in sun_partition() 90 put_dev_sector(sect); in sun_partition() 128 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 | 270 Sector sect; in ldm_validate_privheads() local 291 §); in ldm_validate_privheads() 297 put_dev_sector (sect); in ldm_validate_privheads() 359 Sector sect; in ldm_validate_tocblocks() local 381 data = read_part_sector(state, base + off[i], §); in ldm_validate_tocblocks() 388 put_dev_sector(sect); in ldm_validate_tocblocks() 430 Sector sect; in ldm_validate_vmdb() local 441 data = read_part_sector(state, base + OFF_VMDB, §); in ldm_validate_vmdb() 471 put_dev_sector (sect); in ldm_validate_vmdb() 494 Sector sect; in ldm_validate_partition_table() local [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | io_event_irq.c | 73 struct pseries_errorlog *sect; in ioei_find_event() local 87 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event() 88 if (unlikely(!sect)) { in ioei_find_event() 94 return (struct pseries_io_event *) §->data; in ioei_find_event()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | rtas.h | 199 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) in pseries_errorlog_id() argument 201 return be16_to_cpu(sect->id); in pseries_errorlog_id() 205 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) in pseries_errorlog_length() argument 207 return be16_to_cpu(sect->length); in pseries_errorlog_length()
|
D | feature-fixups.h | 39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 42 .pushsection sect,"a"; \ 184 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 186 .pushsection sect,"a"; \
|
/kernel/liteos_a/fs/fat/os_adapt/ |
D | fatfs.c | 212 return dfp_target->f_dir.sect != dfp->f_dir.sect || in fatfs_hash_cmp() 217 static DWORD fatfs_hash(QWORD sect, DWORD dptr, DWORD sclst) in fatfs_hash() argument 220 hash = LOS_HashFNV32aBuf(§, sizeof(QWORD), hash); in fatfs_hash() 263 QWORD sect; in init_cluster() local 289 sect = clst2sect(fs, *clust); in init_cluster() 312 fs->winsect = sect++; in init_cluster() 315 PARENTFS(fs)->winsect = sect++; in init_cluster() 329 fs->winsect = sect++; in init_cluster() 332 PARENTFS(fs)->winsect = sect++; in init_cluster() 474 hash = fatfs_hash(dp_new->sect, dp_new->dptr, finfo_new->sclst); in fatfs_create_obj() [all …]
|
/kernel/linux/linux-5.10/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 | 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/asm/ |
D | feature-fixups.h | 39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 42 .pushsection sect,"a"; \ 184 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 186 .pushsection sect,"a"; \
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | mdb.c | 79 int off2, len, size, sect; in hfs_mdb_get() local 118 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get() 120 while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) in hfs_mdb_get() 160 sect = part_start + part_size - 2; in hfs_mdb_get() 161 bh = sb_bread512(sb, sect, mdb2); in hfs_mdb_get()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | floppy.c | 2080 if (floppy_type[drive_params[drive].autodetect[probed_format]].sect) { in next_valid_format() 2145 unsigned char track, head, sect, size; in setup_format_params() member 2158 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params() 2187 here[count].sect = 0; in setup_format_params() 2192 here[n].sect = count; in setup_format_params() 2194 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params() 2198 while (here[n].sect) in setup_format_params() 2205 here[count].sect += FD_SECTBASE(_floppy) - 1; in setup_format_params() 2236 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format() 2295 if (block > _floppy->sect) in request_done() [all …]
|