| /linux/arch/powerpc/kernel/ |
| H A D | module.c | 36 const Elf_Shdr *sect; in module_finalize() local 44 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 45 if (sect != NULL) in module_finalize() 47 (void *)sect->sh_addr, in module_finalize() 48 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 50 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 51 if (sect != NULL) in module_finalize() 53 (void *)sect->sh_addr, in module_finalize() 54 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 57 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() [all …]
|
| H A D | rtas.c | 1722 struct pseries_errorlog *sect; in get_pseries_errorlog() local 1738 sect = (struct pseries_errorlog *)p; in get_pseries_errorlog() 1739 if (pseries_errorlog_id(sect) == section_id) in get_pseries_errorlog() 1740 return sect; in get_pseries_errorlog() 1741 p += pseries_errorlog_length(sect); in get_pseries_errorlog()
|
| /linux/scripts/ |
| H A D | generate_builtin_ranges.awk | 62 function update_entry(osect, mod, soff, eoff, sect, idx) { 63 sect = sect_in[osect]; 65 entries[idx] = sprintf("%s %08x-%08x %s", sect, soff, eoff, mod); 66 count[sect]++; 159 ARGIND == 2 && map_is_lld && sect && !anchor && NF == 5 && $5 ~ /^[_A-Za-z][_A-Za-z0-9]*$/ { 198 sect = 0; 228 sect = $1; 230 sect_base[sect] = base; 231 sect_size[sect] = strtonum($3); 234 printf "[%s] BASE %016x\n", sect, bas [all...] |
| H A D | verify_builtin_ranges.awk | 223 sect = 0; 237 sect = $1; 244 !sect { 266 idx = sect":"$1; 311 idx = sect":"msect;
|
| /linux/block/partitions/ |
| H A D | aix.c | 89 Sector sect; in read_lba() local 90 unsigned char *data = read_part_sector(state, lba++, §); in read_lba() 96 put_dev_sector(sect); in read_lba() 157 Sector sect; in aix_partition() local 172 d = read_part_sector(state, 7, §); in aix_partition() 192 put_dev_sector(sect); in aix_partition() 194 if (vgda_sector && (d = read_part_sector(state, vgda_sector, §))) { in aix_partition() 198 put_dev_sector(sect); in aix_partition() 203 if (numlvs && (d = read_part_sector(state, vgda_sector + 1, §))) { in aix_partition() 226 put_dev_sector(sect); in aix_partition()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A 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()
|
| /linux/drivers/nvme/target/ |
| H A D | zns.c | 152 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv() local 155 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_validate_zone_mgmt_recv() 249 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_req_nr_zones_from_slba() local 251 return bdev_nr_zones(req->ns->bdev) - bdev_zone_no(req->ns->bdev, sect); in nvmet_req_nr_zones_from_slba() 478 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work() local 497 if (sect >= get_capacity(bdev->bd_disk)) { in nvmet_bdev_zmgmt_send_work() 503 if (sect & (zone_sectors - 1)) { in nvmet_bdev_zmgmt_send_work() 509 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors); in nvmet_bdev_zmgmt_send_work() 538 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_zone_append() local 563 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_execute_zone_append() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vlan_mode.c | 15 struct ice_meta_init_section *sect; in ice_pkg_get_supported_vlan_mode() local 24 meta_init_size, (void **)§); in ice_pkg_get_supported_vlan_mode() 29 sect->count = cpu_to_le16(1); in ice_pkg_get_supported_vlan_mode() 30 sect->offset = cpu_to_le16(ICE_META_VLAN_MODE_ENTRY); in ice_pkg_get_supported_vlan_mode() 42 arr[i] = le32_to_cpu(sect->entry.bm[i]); in ice_pkg_get_supported_vlan_mode()
|
| /linux/tools/testing/selftests/powerpc/primitives/asm/ |
| H A D | feature-fixups.h | 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 60 .pushsection sect,"a"; \ 203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 205 .pushsection sect,"a"; \
|
| /linux/arch/powerpc/include/asm/ |
| H A D | feature-fixups.h | 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 60 .pushsection sect,"a"; \ 203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 205 .pushsection sect,"a"; \
|
| H A D | rtas.h | 392 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) in pseries_errorlog_id() argument 394 return be16_to_cpu(sect->id); in pseries_errorlog_id() 398 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) in pseries_errorlog_length() argument 400 return be16_to_cpu(sect->length); in pseries_errorlog_length()
|
| /linux/drivers/block/ |
| H A D | floppy.c | 2079 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 …]
|
| H A D | ataflop.c | 747 int sect, nsect; in do_format() local 790 for( sect = 0; sect < nsect; ++sect ) { in do_format() 796 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; in do_format() 1620 getprm.sect = dtp->spt; in fd_locked_ioctl() 1655 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl() 1682 && dtp->spt == setprm.sect in fd_locked_ioctl() 1715 dtp->spt = setprm.sect; in fd_locked_ioctl() 1716 if (setprm.sect > 14) in fd_locked_ioctl()
|
| H A D | swim.c | 603 fs->secpercyl = g->head * g->sect; in setup_medium() 604 fs->secpertrack = g->sect; in setup_medium() 725 geo->sectors = g->sect; in floppy_getgeo()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 59 struct sect { struct 102 static void combine(struct sect *base, struct sect *new, int pad) in combine() 274 struct sect text, data, bss; in main() 362 struct sect ndata, nbss; in main() 372 struct sect ntxt; in main()
|
| /linux/include/linux/ |
| H A D | fd.h | 12 compat_uint_t sect; member
|
| /linux/drivers/net/ethernet/alacritech/ |
| H A D | slicoss.c | 1120 u32 sect; in slic_load_firmware() local 1173 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1174 unsigned int ssize = sectsize[sect] >> 3; in slic_load_firmware() 1176 base = sectstart[sect]; in slic_load_firmware() 1192 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1193 unsigned int ssize = sectsize[sect] >> 3; in slic_load_firmware() 1196 base = sectstart[sect]; in slic_load_firmware()
|
| /linux/include/linux/mtd/ |
| H A D | nftl.h | 33 int head,sect,cyl; member
|
| H A D | inftl.h | 42 int head,sect,cyl; member
|
| /linux/drivers/md/ |
| H A D | raid1.c | 285 sector_t sect = r1_bio->sector; in put_buf() local 296 lower_barrier(conf, sect); in put_buf() 2119 sector_t sect = r1_bio->sector; in fix_sync_read_error() local 2151 if (sync_page_io(rdev, sect, s<<9, in fix_sync_read_error() 2177 if (!rdev_set_badblocks(rdev, sect, s, 0)) in fix_sync_read_error() 2185 sect += s; in fix_sync_read_error() 2199 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2214 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2220 sect += s; in fix_sync_read_error() 2378 sector_t sect = r1_bio->sector; in fix_read_error() local [all …]
|
| H A D | raid10.c | 2471 sector_t sect = 0; in fix_recovery_read_error() local 2488 addr = r10_bio->devs[0].addr + sect; in fix_recovery_read_error() 2496 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2520 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2535 sect += s; in fix_recovery_read_error() 2608 int sect = 0; /* Offset from r10_bio->sector */ in fix_read_error() local 2644 r10_bio->devs[sl].addr + sect, in fix_read_error() 2649 sect, in fix_read_error() 2673 + sect, in fix_read_error() 2697 sect, in fix_read_error() [all …]
|
| H A D | raid5-log.h | 31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_mstate_mgr.h | 77 struct adf_mstate_sect_h *sect);
|
| /linux/include/uapi/linux/ |
| H A D | fd.h | 16 sect, /* sectors per track */ member
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 1477 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() 1486 sect = (u32)block % dev->sectors + 1; in ata_scsi_verify_xlat() 1492 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat() 1497 tf->lbal = sect; in ata_scsi_verify_xlat() 4134 u16 sect, fp = (u16)-1; in ata_scsi_zbc_in_xlat() 4165 sect = n_block / 512; in ata_scsi_zbc_in_xlat() 4174 tf->feature = sect & 0xff; in ata_scsi_zbc_in_xlat() 4175 tf->hob_feature = (sect >> 8) & 0xff; in ata_scsi_zbc_in_xlat() 4182 tf->hob_nsect = (sect >> in ata_scsi_zbc_in_xlat() 1471 u32 sect, head, cyl, track; ata_scsi_verify_xlat() local 4128 u16 sect, fp = (u16)-1; ata_scsi_zbc_in_xlat() local [all...] |