| /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 | 151 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv() 154 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_validate_zone_mgmt_recv() 248 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_req_nr_zones_from_slba() 250 return bdev_nr_zones(req->ns->bdev) - bdev_zone_no(req->ns->bdev, sect); in nvmet_req_nr_zones_from_slba() 495 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work() 514 if (sect >= get_capacity(bdev->bd_disk)) { in nvmet_bdev_zmgmt_send_work() 520 if (sect & (zone_sectors - 1)) { in nvmet_bdev_execute_zone_mgmt_send() 526 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors); in nvmet_bdev_zone_append_bio_done() 555 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_zone_append() 580 if (sect > in nvmet_bdev_execute_zone_append() 152 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); nvmet_bdev_validate_zone_mgmt_recv() local 249 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); nvmet_req_nr_zones_from_slba() local 478 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); nvmet_bdev_zmgmt_send_work() local 538 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); nvmet_bdev_execute_zone_append() local [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 | 2086 if (floppy_type[drive_params[drive].autodetect[probed_format]].sect) { 2152 unsigned char track, head, sect, size; in setup_format_params() 2165 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params() 2194 here[count].sect = 0; in setup_format_params() 2199 here[n].sect = count; in setup_format_params() 2201 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params() 2205 while (here[n].sect) in setup_format_params() 2212 here[count].sect += FD_SECTBASE(_floppy) - 1; in redo_format() 2243 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format() 2301 if (block > _floppy->sect) in request_done() 2145 unsigned char track, head, sect, size; setup_format_params() member [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 | 600 fs->secpercyl = g->head * g->sect; in setup_medium() 601 fs->secpertrack = g->sect; in setup_medium() 731 geo->sectors = g->sect; in floppy_check_events()
|
| /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 | 1121 u32 sect; in slic_load_firmware() 1174 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1175 unsigned int ssize = sectsize[sect] >> 3; in slic_load_firmware() 1177 base = sectstart[sect]; in slic_load_firmware() 1193 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1194 unsigned int ssize = sectsize[sect] >> in slic_load_firmware() 1120 u32 sect; slic_load_firmware() local [all...] |
| /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() 2094 sector_t sect = r1_bio->sector; in r1_sync_page_io() 2126 if (sync_page_io(rdev, sect, s<<9, in fix_sync_read_error() 2152 if (!rdev_set_badblocks(rdev, sect, s, 0)) in fix_sync_read_error() 2160 sect += s; in fix_sync_read_error() 2174 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2189 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2195 sect += s; in fix_sync_read_error() 2353 sector_t sect in sync_request_write() 2119 sector_t sect = r1_bio->sector; fix_sync_read_error() local 2378 sector_t sect = r1_bio->sector; fix_read_error() local [all...] |
| H A D | raid10.c | 2448 sector_t sect = 0; 2465 addr = r10_bio->devs[0].addr + sect; in fix_recovery_read_error() 2473 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2493 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2508 sect += s; in fix_recovery_read_error() 2578 int sect = 0; /* Offset from r10_bio->sector */ in r10_sync_page_io() 2614 r10_bio->devs[sl].addr + sect, in fix_read_error() 2619 sect, in fix_read_error() 2643 + sect, in fix_read_error() 2667 sect, in fix_read_error() 2471 sector_t sect = 0; fix_recovery_read_error() local 2608 int sect = 0; /* Offset from r10_bio->sector */ fix_read_error() local 3197 sector_t sect = raid10_sync_request() local 3271 sector_t sect; raid10_sync_request() local [all...] |
| H A D | raid5-log.h | 31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
|
| /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/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/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v6_0.c | 2089 const struct cs_section_def *sect = NULL; in gfx_v6_0_cp_gfx_start() 2124 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { in gfx_v6_0_cp_gfx_start() 2125 for (ext = sect->section; ext->extent != NULL; ++ext) { in gfx_v6_0_cp_gfx_start() 2126 if (sect->id == SECT_CONTEXT) { in gfx_v6_0_cp_gfx_start() 2942 const struct cs_section_def *sect = NULL; in gfx_v6_0_get_csb_size() 2953 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { in gfx_v6_0_get_csb_size() 2084 const struct cs_section_def *sect = NULL; gfx_v6_0_cp_gfx_start() local 2937 const struct cs_section_def *sect = NULL; gfx_v6_0_get_csb_size() local [all...] |