sect 220 arch/ia64/kernel/mca_drv.c #define LOG_INDEX_ADD_SECT_PTR(sect, ptr) \ sect 223 arch/ia64/kernel/mca_drv.c list_add(&hl->list, &(sect)); \ sect 102 arch/mips/boot/elf2ecoff.c static void combine(struct sect *base, struct sect *new, int pad) sect 274 arch/mips/boot/elf2ecoff.c struct sect text, data, bss; sect 362 arch/mips/boot/elf2ecoff.c struct sect ndata, nbss; sect 372 arch/mips/boot/elf2ecoff.c struct sect ntxt; sect 39 arch/powerpc/include/asm/feature-fixups.h #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ sect 42 arch/powerpc/include/asm/feature-fixups.h .pushsection sect,"a"; \ sect 184 arch/powerpc/include/asm/feature-fixups.h #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ sect 186 arch/powerpc/include/asm/feature-fixups.h .pushsection sect,"a"; \ sect 301 arch/powerpc/include/asm/rtas.h inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) sect 303 arch/powerpc/include/asm/rtas.h return be16_to_cpu(sect->id); sect 307 arch/powerpc/include/asm/rtas.h inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) sect 309 arch/powerpc/include/asm/rtas.h return be16_to_cpu(sect->length); sect 37 arch/powerpc/kernel/module.c const Elf_Shdr *sect; sect 45 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, "__ftr_fixup"); sect 46 arch/powerpc/kernel/module.c if (sect != NULL) sect 48 arch/powerpc/kernel/module.c (void *)sect->sh_addr, sect 49 arch/powerpc/kernel/module.c (void *)sect->sh_addr + sect->sh_size); sect 51 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); sect 52 arch/powerpc/kernel/module.c if (sect != NULL) sect 54 arch/powerpc/kernel/module.c (void *)sect->sh_addr, sect 55 arch/powerpc/kernel/module.c (void *)sect->sh_addr + sect->sh_size); sect 58 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); sect 59 arch/powerpc/kernel/module.c if (sect != NULL) sect 61 arch/powerpc/kernel/module.c (void *)sect->sh_addr, sect 62 arch/powerpc/kernel/module.c (void *)sect->sh_addr + sect->sh_size); sect 66 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, ".opd"); sect 67 arch/powerpc/kernel/module.c if (sect != NULL) { sect 68 arch/powerpc/kernel/module.c me->arch.start_opd = sect->sh_addr; sect 69 arch/powerpc/kernel/module.c me->arch.end_opd = sect->sh_addr + sect->sh_size; sect 74 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, "__spec_barrier_fixup"); sect 75 arch/powerpc/kernel/module.c if (sect != NULL) sect 77 arch/powerpc/kernel/module.c (void *)sect->sh_addr, sect 78 arch/powerpc/kernel/module.c (void *)sect->sh_addr + sect->sh_size); sect 81 arch/powerpc/kernel/module.c sect = find_section(hdr, sechdrs, "__lwsync_fixup"); sect 82 arch/powerpc/kernel/module.c if (sect != NULL) sect 84 arch/powerpc/kernel/module.c (void *)sect->sh_addr, sect 85 arch/powerpc/kernel/module.c (void *)sect->sh_addr + sect->sh_size); sect 1036 arch/powerpc/kernel/rtas.c struct pseries_errorlog *sect; sect 1052 arch/powerpc/kernel/rtas.c sect = (struct pseries_errorlog *)p; sect 1053 arch/powerpc/kernel/rtas.c if (pseries_errorlog_id(sect) == section_id) sect 1054 arch/powerpc/kernel/rtas.c return sect; sect 1055 arch/powerpc/kernel/rtas.c p += pseries_errorlog_length(sect); sect 437 arch/powerpc/kernel/vdso.c void *sect; sect 450 arch/powerpc/kernel/vdso.c sect = find_section32(v32->hdr, ".text", NULL); sect 451 arch/powerpc/kernel/vdso.c if (sect == NULL) { sect 455 arch/powerpc/kernel/vdso.c v32->text = sect - vdso32_kbase; sect 465 arch/powerpc/kernel/vdso.c sect = find_section64(v64->hdr, ".text", NULL); sect 466 arch/powerpc/kernel/vdso.c if (sect == NULL) { sect 470 arch/powerpc/kernel/vdso.c v64->text = sect - vdso64_kbase; sect 73 arch/powerpc/platforms/pseries/io_event_irq.c struct pseries_errorlog *sect; sect 87 arch/powerpc/platforms/pseries/io_event_irq.c sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); sect 88 arch/powerpc/platforms/pseries/io_event_irq.c if (unlikely(!sect)) { sect 94 arch/powerpc/platforms/pseries/io_event_irq.c return (struct pseries_io_event *) §->data; sect 75 block/partitions/acorn.c Sector sect; sect 78 block/partitions/acorn.c rr = read_part_sector(state, first_sect, §); sect 109 block/partitions/acorn.c put_dev_sector(sect); sect 130 block/partitions/acorn.c Sector sect; sect 138 block/partitions/acorn.c linuxp = read_part_sector(state, first_sect, §); sect 154 block/partitions/acorn.c put_dev_sector(sect); sect 164 block/partitions/acorn.c Sector sect; sect 187 block/partitions/acorn.c data = read_part_sector(state, start_blk * 2 + 6, §); sect 229 block/partitions/acorn.c put_dev_sector(sect); sect 233 block/partitions/acorn.c put_dev_sector(sect); sect 254 block/partitions/acorn.c Sector sect; sect 260 block/partitions/acorn.c data = read_part_sector(state, 6, §); sect 266 block/partitions/acorn.c put_dev_sector(sect); sect 274 block/partitions/acorn.c put_dev_sector(sect); sect 312 block/partitions/acorn.c Sector sect; sect 313 block/partitions/acorn.c unsigned char *data = read_part_sector(state, block, §); sect 319 block/partitions/acorn.c put_dev_sector(sect); sect 356 block/partitions/acorn.c Sector sect; sect 361 block/partitions/acorn.c data = read_part_sector(state, 0, §); sect 366 block/partitions/acorn.c put_dev_sector(sect); sect 403 block/partitions/acorn.c put_dev_sector(sect); sect 449 block/partitions/acorn.c Sector sect; sect 455 block/partitions/acorn.c data = read_part_sector(state, 0, §); sect 460 block/partitions/acorn.c put_dev_sector(sect); sect 474 block/partitions/acorn.c put_dev_sector(sect); sect 510 block/partitions/acorn.c Sector sect; sect 517 block/partitions/acorn.c data = read_part_sector(state, 7, §); sect 527 block/partitions/acorn.c put_dev_sector(sect); sect 106 block/partitions/aix.c Sector sect; sect 107 block/partitions/aix.c unsigned char *data = read_part_sector(state, lba++, §); sect 113 block/partitions/aix.c put_dev_sector(sect); sect 174 block/partitions/aix.c Sector sect; sect 189 block/partitions/aix.c d = read_part_sector(state, 7, §); sect 211 block/partitions/aix.c put_dev_sector(sect); sect 213 block/partitions/aix.c if (vgda_sector && (d = read_part_sector(state, vgda_sector, §))) { sect 217 block/partitions/aix.c put_dev_sector(sect); sect 222 block/partitions/aix.c if (numlvs && (d = read_part_sector(state, vgda_sector + 1, §))) { sect 238 block/partitions/aix.c put_dev_sector(sect); sect 31 block/partitions/amiga.c Sector sect; sect 40 block/partitions/amiga.c for (blk = 0; ; blk++, put_dev_sector(sect)) { sect 43 block/partitions/amiga.c data = read_part_sector(state, blk, §); sect 83 block/partitions/amiga.c put_dev_sector(sect); sect 84 block/partitions/amiga.c for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { sect 86 block/partitions/amiga.c data = read_part_sector(state, blk, §); sect 36 block/partitions/atari.c Sector sect; sect 53 block/partitions/atari.c rs = read_part_sector(state, 0, §); sect 68 block/partitions/atari.c put_dev_sector(sect); sect 98 block/partitions/atari.c put_dev_sector(sect); sect 152 block/partitions/atari.c put_dev_sector(sect); sect 249 block/partitions/efi.c Sector sect; sect 250 block/partitions/efi.c unsigned char *data = read_part_sector(state, n++, §); sect 256 block/partitions/efi.c put_dev_sector(sect); sect 73 block/partitions/ibm.c Sector sect; sect 102 block/partitions/ibm.c data = read_part_sector(state, testsect[i], §); sect 109 block/partitions/ibm.c put_dev_sector(sect); sect 142 block/partitions/ibm.c Sector sect; sect 157 block/partitions/ibm.c data = read_part_sector(state, blk * secperblk, §); sect 160 block/partitions/ibm.c put_dev_sector(sect); sect 167 block/partitions/ibm.c data = read_part_sector(state, blk * secperblk, §); sect 185 block/partitions/ibm.c data = read_part_sector(state, blk * secperblk, §); sect 18 block/partitions/karma.c Sector sect; sect 34 block/partitions/karma.c data = read_part_sector(state, 0, §); sect 40 block/partitions/karma.c put_dev_sector(sect); sect 56 block/partitions/karma.c put_dev_sector(sect); sect 270 block/partitions/ldm.c Sector sect; sect 291 block/partitions/ldm.c §); sect 297 block/partitions/ldm.c put_dev_sector (sect); sect 359 block/partitions/ldm.c Sector sect; sect 381 block/partitions/ldm.c data = read_part_sector(state, base + off[i], §); sect 388 block/partitions/ldm.c put_dev_sector(sect); sect 430 block/partitions/ldm.c Sector sect; sect 441 block/partitions/ldm.c data = read_part_sector(state, base + OFF_VMDB, §); sect 471 block/partitions/ldm.c put_dev_sector (sect); sect 494 block/partitions/ldm.c Sector sect; sect 502 block/partitions/ldm.c data = read_part_sector(state, 0, §); sect 522 block/partitions/ldm.c put_dev_sector (sect); sect 1357 block/partitions/ldm.c Sector sect; sect 1369 block/partitions/ldm.c data = read_part_sector(state, base + OFF_VMDB + s, §); sect 1391 block/partitions/ldm.c put_dev_sector (sect); sect 1398 block/partitions/ldm.c put_dev_sector (sect); sect 33 block/partitions/mac.c Sector sect; sect 45 block/partitions/mac.c md = read_part_sector(state, 0, §); sect 49 block/partitions/mac.c put_dev_sector(sect); sect 53 block/partitions/mac.c put_dev_sector(sect); sect 55 block/partitions/mac.c data = read_part_sector(state, datasize / 512, §); sect 63 block/partitions/mac.c put_dev_sector(sect); sect 68 block/partitions/mac.c put_dev_sector(sect); sect 78 block/partitions/mac.c put_dev_sector(sect); sect 79 block/partitions/mac.c data = read_part_sector(state, pos/512, §); sect 140 block/partitions/mac.c put_dev_sector(sect); sect 72 block/partitions/msdos.c Sector sect; sect 90 block/partitions/msdos.c d = read_part_sector(state, 7, §); sect 94 block/partitions/msdos.c put_dev_sector(sect); sect 126 block/partitions/msdos.c Sector sect; sect 142 block/partitions/msdos.c data = read_part_sector(state, this_sector, §); sect 207 block/partitions/msdos.c put_dev_sector(sect); sect 210 block/partitions/msdos.c put_dev_sector(sect); sect 220 block/partitions/msdos.c Sector sect; sect 225 block/partitions/msdos.c v = read_part_sector(state, offset + 1, §); sect 229 block/partitions/msdos.c put_dev_sector(sect); sect 244 block/partitions/msdos.c put_dev_sector(sect); sect 263 block/partitions/msdos.c put_dev_sector(sect); sect 277 block/partitions/msdos.c Sector sect; sect 282 block/partitions/msdos.c l = read_part_sector(state, offset + 1, §); sect 286 block/partitions/msdos.c put_dev_sector(sect); sect 317 block/partitions/msdos.c put_dev_sector(sect); sect 360 block/partitions/msdos.c Sector sect; sect 364 block/partitions/msdos.c l = read_part_sector(state, offset + 29, §); sect 369 block/partitions/msdos.c put_dev_sector(sect); sect 390 block/partitions/msdos.c put_dev_sector(sect); sect 404 block/partitions/msdos.c Sector sect; sect 409 block/partitions/msdos.c data = read_part_sector(state, offset, §); sect 434 block/partitions/msdos.c put_dev_sector(sect); sect 455 block/partitions/msdos.c Sector sect; sect 462 block/partitions/msdos.c data = read_part_sector(state, 0, §); sect 471 block/partitions/msdos.c put_dev_sector(sect); sect 481 block/partitions/msdos.c put_dev_sector(sect); sect 503 block/partitions/msdos.c put_dev_sector(sect); sect 506 block/partitions/msdos.c put_dev_sector(sect); sect 517 block/partitions/msdos.c put_dev_sector(sect); sect 585 block/partitions/msdos.c put_dev_sector(sect); sect 21 block/partitions/osf.c Sector sect; sect 56 block/partitions/osf.c data = read_part_sector(state, 0, §); sect 63 block/partitions/osf.c put_dev_sector(sect); sect 67 block/partitions/osf.c put_dev_sector(sect); sect 72 block/partitions/osf.c put_dev_sector(sect); sect 85 block/partitions/osf.c put_dev_sector(sect); sect 38 block/partitions/sgi.c Sector sect; sect 43 block/partitions/sgi.c label = read_part_sector(state, 0, §); sect 51 block/partitions/sgi.c put_dev_sector(sect); sect 62 block/partitions/sgi.c put_dev_sector(sect); sect 81 block/partitions/sgi.c put_dev_sector(sect); sect 20 block/partitions/sun.c Sector sect; sect 65 block/partitions/sun.c label = read_part_sector(state, 0, §); sect 73 block/partitions/sun.c put_dev_sector(sect); sect 83 block/partitions/sun.c put_dev_sector(sect); sect 121 block/partitions/sun.c put_dev_sector(sect); sect 54 block/partitions/sysv68.c Sector sect; sect 60 block/partitions/sysv68.c data = read_part_sector(state, 0, §); sect 66 block/partitions/sysv68.c put_dev_sector(sect); sect 71 block/partitions/sysv68.c put_dev_sector(sect); sect 73 block/partitions/sysv68.c data = read_part_sector(state, i, §); sect 94 block/partitions/sysv68.c put_dev_sector(sect); sect 16 block/partitions/ultrix.c Sector sect; sect 30 block/partitions/ultrix.c data = read_part_sector(state, (16384 - sizeof(*label))/512, §); sect 42 block/partitions/ultrix.c put_dev_sector(sect); sect 46 block/partitions/ultrix.c put_dev_sector(sect); sect 700 drivers/ata/libata-core.c u32 cyl, head, sect; sect 704 drivers/ata/libata-core.c sect = tf->lbal; sect 706 drivers/ata/libata-core.c if (!sect) { sect 712 drivers/ata/libata-core.c block = (cyl * dev->heads + head) * dev->sectors + sect - 1; sect 813 drivers/ata/libata-core.c u32 sect, head, cyl, track; sect 826 drivers/ata/libata-core.c sect = (u32)block % dev->sectors + 1; sect 829 drivers/ata/libata-core.c (u32)block, track, cyl, head, sect); sect 835 drivers/ata/libata-core.c if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) sect 839 drivers/ata/libata-core.c tf->lbal = sect; sect 1744 drivers/ata/libata-scsi.c u32 sect, head, cyl, track; sect 1753 drivers/ata/libata-scsi.c sect = (u32)block % dev->sectors + 1; sect 1756 drivers/ata/libata-scsi.c (u32)block, track, cyl, head, sect); sect 1762 drivers/ata/libata-scsi.c if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) sect 1767 drivers/ata/libata-scsi.c tf->lbal = sect; sect 3699 drivers/ata/libata-scsi.c u16 sect, fp = (u16)-1; sect 3730 drivers/ata/libata-scsi.c sect = n_block / 512; sect 3739 drivers/ata/libata-scsi.c tf->feature = sect & 0xff; sect 3740 drivers/ata/libata-scsi.c tf->hob_feature = (sect >> 8) & 0xff; sect 3747 drivers/ata/libata-scsi.c tf->hob_nsect = (sect >> 8) & 0xff; sect 3748 drivers/ata/libata-scsi.c tf->nsect = sect & 0xff; sect 828 drivers/block/amiflop.c unsigned char sect; sect 862 drivers/block/amiflop.c hdr.magic, hdr.track, hdr.sect, hdr.ord, sect 879 drivers/block/amiflop.c raw = decode ((ulong *)(unit[drive].trackbuf + hdr.sect*512), sect 881 drivers/block/amiflop.c csum = checksum((ulong *)(unit[drive].trackbuf + hdr.sect*512), 512); sect 885 drivers/block/amiflop.c hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, sect 888 drivers/block/amiflop.c ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[0], sect 889 drivers/block/amiflop.c ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[1], sect 890 drivers/block/amiflop.c ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[2], sect 891 drivers/block/amiflop.c ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[3]); sect 943 drivers/block/amiflop.c hdr.sect = cnt; sect 1585 drivers/block/amiflop.c getprm.sect=p->dtype->sects * p->type->sect_mult; sect 728 drivers/block/ataflop.c int sect, nsect; sect 764 drivers/block/ataflop.c for( sect = 0; sect < nsect; ++sect ) { sect 770 drivers/block/ataflop.c *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; sect 1594 drivers/block/ataflop.c getprm.sect = dtp->spt; sect 1629 drivers/block/ataflop.c drive, setprm.size, setprm.sect, setprm.stretch); sect 1655 drivers/block/ataflop.c && dtp->spt == setprm.sect sect 1688 drivers/block/ataflop.c dtp->spt = setprm.sect; sect 1689 drivers/block/ataflop.c if (setprm.sect > 14) sect 2041 drivers/block/floppy.c if (floppy_type[DP->autodetect[probed_format]].sect) { sect 2106 drivers/block/floppy.c unsigned char track, head, sect, size; sect 2119 drivers/block/floppy.c F_SECT_PER_TRACK = _floppy->sect << 2 >> F_SIZECODE; sect 2148 drivers/block/floppy.c here[count].sect = 0; sect 2153 drivers/block/floppy.c here[n].sect = count; sect 2155 drivers/block/floppy.c if (here[n].sect) { /* sector busy, find next free sector */ sect 2159 drivers/block/floppy.c while (here[n].sect) sect 2166 drivers/block/floppy.c here[count].sect += FD_SECTBASE(_floppy) - 1; sect 2197 drivers/block/floppy.c (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || sect 2257 drivers/block/floppy.c if (block > _floppy->sect) sect 2397 drivers/block/floppy.c max_sector -= (max_sector % _floppy->sect) % ssize; sect 2551 drivers/block/floppy.c max_sector = _floppy->sect * _floppy->head; sect 2562 drivers/block/floppy.c HEAD = fsector_t / _floppy->sect; sect 2566 drivers/block/floppy.c fsector_t < _floppy->sect) sect 2567 drivers/block/floppy.c max_sector = _floppy->sect; sect 2571 drivers/block/floppy.c max_sector = 2 * _floppy->sect / 3; sect 2574 drivers/block/floppy.c min_t(int, _floppy->sect - fsector_t, sect 2593 drivers/block/floppy.c SECT_PER_TRACK = _floppy->sect << 2 >> SIZECODE; sect 2594 drivers/block/floppy.c SECTOR = ((fsector_t % _floppy->sect) << 2 >> SIZECODE) + sect 2600 drivers/block/floppy.c tracksize = _floppy->sect - _floppy->sect % ssize; sect 2601 drivers/block/floppy.c if (tracksize < _floppy->sect) { sect 2603 drivers/block/floppy.c if (tracksize <= fsector_t % _floppy->sect) sect 2607 drivers/block/floppy.c while (tracksize <= fsector_t % _floppy->sect) { sect 2608 drivers/block/floppy.c while (tracksize + ssize > _floppy->sect) { sect 2616 drivers/block/floppy.c max_sector = HEAD * _floppy->sect + tracksize; sect 2618 drivers/block/floppy.c max_sector = _floppy->sect; sect 2621 drivers/block/floppy.c max_sector = _floppy->sect; sect 2624 drivers/block/floppy.c in_sector_offset = (fsector_t % _floppy->sect) % ssize; sect 3239 drivers/block/floppy.c if ((int)g->sect <= 0 || sect 3242 drivers/block/floppy.c (int)(g->sect * g->head) <= 0 || sect 3244 drivers/block/floppy.c (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 || sect 3284 drivers/block/floppy.c SUPBOUND(buffer_max, user_params[drive].sect); sect 3296 drivers/block/floppy.c if (DRS->maxblock > user_params[drive].sect || sect 3298 drivers/block/floppy.c ((user_params[drive].sect ^ oldStretch) & sect 3383 drivers/block/floppy.c geo->sectors = g->sect; sect 8 drivers/block/null_blk_zoned.c static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) sect 10 drivers/block/null_blk_zoned.c return sect >> ilog2(dev->zone_size_sects); sect 601 drivers/block/swim.c fs->secpercyl = g->head * g->sect; sect 602 drivers/block/swim.c fs->secpertrack = g->sect; sect 724 drivers/block/swim.c geo->sectors = g->sect; sect 391 drivers/block/sx8.c __le16 sect; sect 836 drivers/block/sx8.c port->dev_geom_sect = le16_to_cpu(desc->sect); sect 889 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c const struct cs_section_def *sect = NULL; sect 897 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (sect = gfx10_cs_data; sect->section != NULL; ++sect) { sect 898 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 899 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (sect->id == SECT_CONTEXT) sect 920 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c const struct cs_section_def *sect = NULL; sect 936 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 937 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 938 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (sect->id == SECT_CONTEXT) { sect 2701 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c const struct cs_section_def *sect = NULL; sect 2727 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (sect = gfx10_cs_data; sect->section != NULL; ++sect) { sect 2728 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 2729 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (sect->id == SECT_CONTEXT) { sect 2027 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c const struct cs_section_def *sect = NULL; sect 2062 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 2063 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 2064 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (sect->id == SECT_CONTEXT) { sect 2849 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c const struct cs_section_def *sect = NULL; sect 2860 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 2861 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 2862 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (sect->id == SECT_CONTEXT) sect 2882 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c const struct cs_section_def *sect = NULL; sect 2896 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 2897 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 2898 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (sect->id == SECT_CONTEXT) { sect 2526 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c const struct cs_section_def *sect = NULL; sect 2557 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 2558 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 2559 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (sect->id == SECT_CONTEXT) { sect 3939 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c const struct cs_section_def *sect = NULL; sect 3950 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 3951 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 3952 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (sect->id == SECT_CONTEXT) sect 3972 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c const struct cs_section_def *sect = NULL; sect 3987 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 3988 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 3989 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (sect->id == SECT_CONTEXT) { sect 1246 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c const struct cs_section_def *sect = NULL; sect 1261 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 1262 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 1263 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (sect->id == SECT_CONTEXT) { sect 4168 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c const struct cs_section_def *sect = NULL; sect 4176 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (sect = vi_cs_data; sect->section != NULL; ++sect) { sect 4177 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 4178 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (sect->id == SECT_CONTEXT) sect 4197 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c const struct cs_section_def *sect = NULL; sect 4222 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (sect = vi_cs_data; sect->section != NULL; ++sect) { sect 4223 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 4224 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (sect->id == SECT_CONTEXT) { sect 1422 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c const struct cs_section_def *sect = NULL; sect 1430 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (sect = gfx9_cs_data; sect->section != NULL; ++sect) { sect 1431 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 1432 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (sect->id == SECT_CONTEXT) sect 1451 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c const struct cs_section_def *sect = NULL; sect 1466 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { sect 1467 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 1468 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (sect->id == SECT_CONTEXT) { sect 3140 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c const struct cs_section_def *sect = NULL; sect 3163 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (sect = gfx9_cs_data; sect->section != NULL; ++sect) { sect 3164 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 3165 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (sect->id == SECT_CONTEXT) { sect 6685 drivers/gpu/drm/radeon/cik.c const struct cs_section_def *sect = NULL; sect 6696 drivers/gpu/drm/radeon/cik.c for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { sect 6697 drivers/gpu/drm/radeon/cik.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 6698 drivers/gpu/drm/radeon/cik.c if (sect->id == SECT_CONTEXT) sect 6717 drivers/gpu/drm/radeon/cik.c const struct cs_section_def *sect = NULL; sect 6732 drivers/gpu/drm/radeon/cik.c for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { sect 6733 drivers/gpu/drm/radeon/cik.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 6734 drivers/gpu/drm/radeon/cik.c if (sect->id == SECT_CONTEXT) { sect 5686 drivers/gpu/drm/radeon/si.c const struct cs_section_def *sect = NULL; sect 5697 drivers/gpu/drm/radeon/si.c for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { sect 5698 drivers/gpu/drm/radeon/si.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 5699 drivers/gpu/drm/radeon/si.c if (sect->id == SECT_CONTEXT) sect 5718 drivers/gpu/drm/radeon/si.c const struct cs_section_def *sect = NULL; sect 5733 drivers/gpu/drm/radeon/si.c for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { sect 5734 drivers/gpu/drm/radeon/si.c for (ext = sect->section; ext->extent != NULL; ++ext) { sect 5735 drivers/gpu/drm/radeon/si.c if (sect->id == SECT_CONTEXT) { sect 134 drivers/ide/ide-disk.c unsigned int sect, head, cyl, track; sect 136 drivers/ide/ide-disk.c track = (int)block / drive->sect; sect 137 drivers/ide/ide-disk.c sect = (int)block % drive->sect + 1; sect 141 drivers/ide/ide-disk.c pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); sect 144 drivers/ide/ide-disk.c tf->lbal = sect; sect 371 drivers/ide/ide-disk.c drive->capacity64 = drive->cyl * drive->head * drive->sect; sect 167 drivers/ide/ide-io.c tf->nsect = drive->sect; sect 168 drivers/ide/ide-io.c tf->lbal = drive->sect; sect 177 drivers/ide/ide-io.c tf->nsect = drive->sect; sect 58 drivers/ide/ide-probe.c id[ATA_ID_CUR_SECTORS] = id[ATA_ID_SECTORS] = drive->sect; sect 66 drivers/ide/ide-probe.c if (!drive->cyl || !drive->head || !drive->sect) { sect 69 drivers/ide/ide-probe.c drive->sect = drive->bios_sect = id[ATA_ID_SECTORS]; sect 76 drivers/ide/ide-probe.c drive->sect = id[ATA_ID_CUR_SECTORS]; sect 83 drivers/ide/ide-probe.c drive->sect = id[ATA_ID_SECTORS]; sect 505 drivers/ide/ide-probe.c drive->head, drive->sect); sect 405 drivers/ide/ide-proc.c drive->cyl, drive->head, drive->sect); sect 242 drivers/ide/ide.c u8 sect; sect 273 drivers/ide/ide.c ide_disks_chs[i].sect = s; sect 318 drivers/ide/ide.c drive->sect = drive->bios_sect = ide_disks_chs[i].sect; sect 322 drivers/ide/ide.c drive->cyl, drive->head, drive->sect); sect 243 drivers/md/raid1.c sector_t sect = r1_bio->sector; sect 254 drivers/md/raid1.c lower_barrier(conf, sect); sect 1989 drivers/md/raid1.c sector_t sect = r1_bio->sector; sect 2021 drivers/md/raid1.c if (sync_page_io(rdev, sect, s<<9, sect 2048 drivers/md/raid1.c if (!rdev_set_badblocks(rdev, sect, s, 0)) sect 2061 drivers/md/raid1.c sect += s; sect 2075 drivers/md/raid1.c if (r1_sync_page_io(rdev, sect, s, sect 2090 drivers/md/raid1.c if (r1_sync_page_io(rdev, sect, s, sect 2096 drivers/md/raid1.c sect += s; sect 2245 drivers/md/raid1.c sector_t sect, int sectors) sect 2267 drivers/md/raid1.c rdev->recovery_offset >= sect + s)) && sect 2268 drivers/md/raid1.c is_badblock(rdev, sect, s, sect 2272 drivers/md/raid1.c if (sync_page_io(rdev, sect, s<<9, sect 2288 drivers/md/raid1.c if (!rdev_set_badblocks(rdev, sect, s, 0)) sect 2304 drivers/md/raid1.c r1_sync_page_io(rdev, sect, s, sect 2322 drivers/md/raid1.c if (r1_sync_page_io(rdev, sect, s, sect 2327 drivers/md/raid1.c (unsigned long long)(sect + sect 2336 drivers/md/raid1.c sect += s; sect 2153 drivers/md/raid10.c sector_t sect = 0; sect 2170 drivers/md/raid10.c addr = r10_bio->devs[0].addr + sect, sect 2178 drivers/md/raid10.c addr = r10_bio->devs[1].addr + sect; sect 2202 drivers/md/raid10.c addr = r10_bio->devs[1].addr + sect; sect 2219 drivers/md/raid10.c sect += s; sect 2332 drivers/md/raid10.c int sect = 0; /* Offset from r10_bio->sector */ sect 2383 drivers/md/raid10.c is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, sect 2389 drivers/md/raid10.c sect, sect 2415 drivers/md/raid10.c + sect, sect 2444 drivers/md/raid10.c sect, sect 2451 drivers/md/raid10.c sect + sect 2480 drivers/md/raid10.c sect, sect 2488 drivers/md/raid10.c sect + sect 2499 drivers/md/raid10.c sect + sect 2511 drivers/md/raid10.c sect += s; sect 2964 drivers/md/raid10.c sector_t sect = sect 2966 drivers/md/raid10.c md_bitmap_end_sync(mddev->bitmap, sect, sect 3046 drivers/md/raid10.c sector_t sect; sect 3074 drivers/md/raid10.c sect = raid10_find_virt(conf, sector_nr, i); sect 3075 drivers/md/raid10.c if (sect >= mddev->resync_max_sectors) { sect 3088 drivers/md/raid10.c must_sync = md_bitmap_start_sync(mddev->bitmap, sect, sect 3117 drivers/md/raid10.c r10_bio->sector = sect; sect 3134 drivers/md/raid10.c must_sync = md_bitmap_start_sync(mddev->bitmap, sect, sect 196 drivers/md/raid5-cache.c sector_t sect) sect 200 drivers/md/raid5-cache.c offset = sector_div(sect, conf->chunk_sectors); sect 201 drivers/md/raid5-cache.c return sect; sect 864 drivers/md/raid5-cache.c static void r5l_append_flush_payload(struct r5l_log *log, sector_t sect) sect 894 drivers/md/raid5-cache.c payload->flush_stripes[0] = cpu_to_le64(sect); sect 1946 drivers/md/raid5-cache.c r5c_recovery_lookup_stripe(struct list_head *list, sector_t sect) sect 1951 drivers/md/raid5-cache.c if (sh->sector == sect) sect 2943 drivers/md/raid5-cache.c bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect) sect 2953 drivers/md/raid5-cache.c tree_index = r5c_tree_index(conf, sect); sect 34 drivers/md/raid5-log.h extern bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect); sect 70 drivers/md/raid5.c static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) sect 72 drivers/md/raid5.c int hash = (sect >> STRIPE_SHIFT) & HASH_MASK; sect 76 drivers/md/raid5.c static inline int stripe_hash_locks_hash(sector_t sect) sect 78 drivers/md/raid5.c return (sect >> STRIPE_SHIFT) & STRIPE_HASH_LOCKS_MASK; sect 2807 drivers/mtd/chips/cfi_cmdset_0002.c struct ppb_lock *sect; sect 2827 drivers/mtd/chips/cfi_cmdset_0002.c sect = kcalloc(max_sectors, sizeof(struct ppb_lock), GFP_KERNEL); sect 2828 drivers/mtd/chips/cfi_cmdset_0002.c if (!sect) sect 2851 drivers/mtd/chips/cfi_cmdset_0002.c sect[sectors].chip = &cfi->chips[chipnum]; sect 2852 drivers/mtd/chips/cfi_cmdset_0002.c sect[sectors].adr = adr; sect 2853 drivers/mtd/chips/cfi_cmdset_0002.c sect[sectors].locked = do_ppb_xxlock( sect 2879 drivers/mtd/chips/cfi_cmdset_0002.c kfree(sect); sect 2888 drivers/mtd/chips/cfi_cmdset_0002.c kfree(sect); sect 2897 drivers/mtd/chips/cfi_cmdset_0002.c if (sect[i].locked) sect 2898 drivers/mtd/chips/cfi_cmdset_0002.c do_ppb_xxlock(map, sect[i].chip, sect[i].adr, 0, sect 2902 drivers/mtd/chips/cfi_cmdset_0002.c kfree(sect); sect 945 drivers/mtd/ftl.c u_long sect; sect 948 drivers/mtd/ftl.c sect = le32_to_cpu(part->header.FormattedSize)/SECTOR_SIZE; sect 952 drivers/mtd/ftl.c geo->cylinders = sect >> 3; sect 1121 drivers/net/ethernet/alacritech/slicoss.c u32 sect; sect 1174 drivers/net/ethernet/alacritech/slicoss.c for (sect = 0; sect < numsects; sect++) { sect 1175 drivers/net/ethernet/alacritech/slicoss.c unsigned int ssize = sectsize[sect] >> 3; sect 1177 drivers/net/ethernet/alacritech/slicoss.c base = sectstart[sect]; sect 1193 drivers/net/ethernet/alacritech/slicoss.c for (sect = 0; sect < numsects; sect++) { sect 1194 drivers/net/ethernet/alacritech/slicoss.c unsigned int ssize = sectsize[sect] >> 3; sect 1197 drivers/net/ethernet/alacritech/slicoss.c base = sectstart[sect]; sect 155 drivers/net/ethernet/intel/ice/ice_flex_pipe.c state->sect = ((u8 *)state->buf) + sect 158 drivers/net/ethernet/intel/ice/ice_flex_pipe.c return state->sect; sect 1243 drivers/net/ethernet/intel/ice/ice_flex_pipe.c void *sect; sect 1256 drivers/net/ethernet/intel/ice/ice_flex_pipe.c sect = ice_pkg_enum_section(hw->seg, &state, sid); sect 1258 drivers/net/ethernet/intel/ice/ice_flex_pipe.c while (sect) { sect 1265 drivers/net/ethernet/intel/ice/ice_flex_pipe.c xlt1 = (struct ice_xlt1_section *)sect; sect 1278 drivers/net/ethernet/intel/ice/ice_flex_pipe.c xlt2 = (struct ice_xlt2_section *)sect; sect 1291 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pid = (struct ice_prof_id_section *)sect; sect 1304 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pr = (struct ice_prof_redir_section *)sect; sect 1317 drivers/net/ethernet/intel/ice/ice_flex_pipe.c es = (struct ice_sw_fv_section *)sect; sect 1347 drivers/net/ethernet/intel/ice/ice_flex_pipe.c sect = ice_pkg_enum_section(NULL, &state, sid); sect 244 drivers/net/ethernet/intel/ice/ice_flex_type.h void *sect; sect 41 drivers/scsi/scsicam.c Sector sect; sect 42 drivers/scsi/scsicam.c void *data = read_dev_sector(bdev, 0, §); sect 45 drivers/scsi/scsicam.c put_dev_sector(sect); sect 73 fs/hfs/mdb.c int off2, len, size, sect; sect 112 fs/hfs/mdb.c sect = be16_to_cpu(mdb->drAlBlSt) + part_start; sect 114 fs/hfs/mdb.c while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) sect 154 fs/hfs/mdb.c sect = part_start + part_size - 2; sect 155 fs/hfs/mdb.c bh = sb_bread512(sb, sect, mdb2); sect 12 include/linux/fd.h compat_uint_t sect; sect 574 include/linux/ide.h u8 sect; /* "real" sectors per track */ sect 42 include/linux/mtd/inftl.h int head,sect,cyl; sect 33 include/linux/mtd/nftl.h int head,sect,cyl; sect 16 include/uapi/linux/fd.h sect, /* sectors per track */ sect 1504 kernel/module.c static inline bool sect_empty(const Elf_Shdr *sect) sect 1506 kernel/module.c return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; sect 39 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ sect 42 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .pushsection sect,"a"; \ sect 184 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ sect 186 tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h .pushsection sect,"a"; \