Searched refs:sect (Results 1 - 69 of 69) sorted by relevance

/linux-4.4.14/arch/powerpc/kernel/
H A Dmodule.c49 const Elf_Shdr *sect; module_finalize() local
52 sect = find_section(hdr, sechdrs, "__ftr_fixup"); module_finalize()
53 if (sect != NULL) module_finalize()
55 (void *)sect->sh_addr, module_finalize()
56 (void *)sect->sh_addr + sect->sh_size); module_finalize()
58 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); module_finalize()
59 if (sect != NULL) module_finalize()
61 (void *)sect->sh_addr, module_finalize()
62 (void *)sect->sh_addr + sect->sh_size); module_finalize()
65 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); module_finalize()
66 if (sect != NULL) module_finalize()
68 (void *)sect->sh_addr, module_finalize()
69 (void *)sect->sh_addr + sect->sh_size); module_finalize()
72 sect = find_section(hdr, sechdrs, "__lwsync_fixup"); module_finalize()
73 if (sect != NULL) module_finalize()
75 (void *)sect->sh_addr, module_finalize()
76 (void *)sect->sh_addr + sect->sh_size); module_finalize()
H A Dvdso.c460 void *sect; vdso_do_find_sections() local
473 sect = find_section32(v32->hdr, ".text", NULL); vdso_do_find_sections()
474 if (sect == NULL) { vdso_do_find_sections()
478 v32->text = sect - vdso32_kbase; vdso_do_find_sections()
488 sect = find_section64(v64->hdr, ".text", NULL); vdso_do_find_sections()
489 if (sect == NULL) { vdso_do_find_sections()
493 v64->text = sect - vdso64_kbase; vdso_do_find_sections()
H A Drtas.c1010 struct pseries_errorlog *sect; get_pseries_errorlog() local
1026 sect = (struct pseries_errorlog *)p; get_pseries_errorlog()
1027 if (pseries_errorlog_id(sect) == section_id) get_pseries_errorlog()
1028 return sect; get_pseries_errorlog()
1029 p += pseries_errorlog_length(sect); get_pseries_errorlog()
/linux-4.4.14/block/partitions/
H A Dkarma.c17 Sector sect; karma_partition() local
33 data = read_part_sector(state, 0, &sect); karma_partition()
39 put_dev_sector(sect); karma_partition()
55 put_dev_sector(sect); karma_partition()
H A Dultrix.c15 Sector sect; ultrix_partition() local
29 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect); ultrix_partition()
41 put_dev_sector(sect); ultrix_partition()
45 put_dev_sector(sect); ultrix_partition()
H A Dosf.c20 Sector sect; osf_partition() local
55 data = read_part_sector(state, 0, &sect); osf_partition()
62 put_dev_sector(sect); osf_partition()
66 put_dev_sector(sect); osf_partition()
71 put_dev_sector(sect); osf_partition()
84 put_dev_sector(sect); osf_partition()
H A Dsysv68.c53 Sector sect; sysv68_partition() local
59 data = read_part_sector(state, 0, &sect); sysv68_partition()
65 put_dev_sector(sect); sysv68_partition()
70 put_dev_sector(sect); sysv68_partition()
72 data = read_part_sector(state, i, &sect); sysv68_partition()
93 put_dev_sector(sect); sysv68_partition()
H A Dmac.c32 Sector sect; mac_partition() local
44 md = read_part_sector(state, 0, &sect); mac_partition()
48 put_dev_sector(sect); mac_partition()
52 put_dev_sector(sect); mac_partition()
54 data = read_part_sector(state, datasize / 512, &sect); mac_partition()
62 put_dev_sector(sect); mac_partition()
67 put_dev_sector(sect); mac_partition()
77 put_dev_sector(sect); mac_partition()
78 data = read_part_sector(state, pos/512, &sect); mac_partition()
139 put_dev_sector(sect); mac_partition()
H A Dacorn.c80 Sector sect; riscix_partition() local
83 rr = read_part_sector(state, first_sect, &sect); riscix_partition()
114 put_dev_sector(sect); riscix_partition()
135 Sector sect; linux_partition() local
143 linuxp = read_part_sector(state, first_sect, &sect); linux_partition()
159 put_dev_sector(sect); linux_partition()
169 Sector sect; adfspart_check_CUMANA() local
192 data = read_part_sector(state, start_blk * 2 + 6, &sect); adfspart_check_CUMANA()
234 put_dev_sector(sect); adfspart_check_CUMANA()
238 put_dev_sector(sect); adfspart_check_CUMANA()
259 Sector sect; adfspart_check_ADFS() local
265 data = read_part_sector(state, 6, &sect); adfspart_check_ADFS()
271 put_dev_sector(sect); adfspart_check_ADFS()
279 put_dev_sector(sect); adfspart_check_ADFS()
317 Sector sect; adfspart_check_ICSLinux() local
318 unsigned char *data = read_part_sector(state, block, &sect); adfspart_check_ICSLinux()
324 put_dev_sector(sect); adfspart_check_ICSLinux()
361 Sector sect; adfspart_check_ICS() local
366 data = read_part_sector(state, 0, &sect); adfspart_check_ICS()
371 put_dev_sector(sect); adfspart_check_ICS()
408 put_dev_sector(sect); adfspart_check_ICS()
454 Sector sect; adfspart_check_POWERTEC() local
460 data = read_part_sector(state, 0, &sect); adfspart_check_POWERTEC()
465 put_dev_sector(sect); adfspart_check_POWERTEC()
479 put_dev_sector(sect); adfspart_check_POWERTEC()
515 Sector sect; adfspart_check_EESOX() local
522 data = read_part_sector(state, 7, &sect); adfspart_check_EESOX()
532 put_dev_sector(sect); adfspart_check_EESOX()
H A Dsgi.c37 Sector sect; sgi_partition() local
42 label = read_part_sector(state, 0, &sect); sgi_partition()
50 put_dev_sector(sect); sgi_partition()
61 put_dev_sector(sect); sgi_partition()
80 put_dev_sector(sect); sgi_partition()
H A Dmsdos.c71 Sector sect; aix_magic_present() local
89 d = read_part_sector(state, 7, &sect); aix_magic_present()
93 put_dev_sector(sect); aix_magic_present()
125 Sector sect; parse_extended() local
141 data = read_part_sector(state, this_sector, &sect); parse_extended()
206 put_dev_sector(sect); parse_extended()
209 put_dev_sector(sect); parse_extended()
219 Sector sect; parse_solaris_x86() local
224 v = read_part_sector(state, offset + 1, &sect); parse_solaris_x86()
228 put_dev_sector(sect); parse_solaris_x86()
243 put_dev_sector(sect); parse_solaris_x86()
262 put_dev_sector(sect); parse_solaris_x86()
276 Sector sect; parse_bsd() local
281 l = read_part_sector(state, offset + 1, &sect); parse_bsd()
285 put_dev_sector(sect); parse_bsd()
312 put_dev_sector(sect); parse_bsd()
355 Sector sect; parse_unixware() local
359 l = read_part_sector(state, offset + 29, &sect); parse_unixware()
364 put_dev_sector(sect); parse_unixware()
385 put_dev_sector(sect); parse_unixware()
399 Sector sect; parse_minix() local
404 data = read_part_sector(state, offset, &sect); parse_minix()
429 put_dev_sector(sect); parse_minix()
450 Sector sect; msdos_partition() local
457 data = read_part_sector(state, 0, &sect); msdos_partition()
466 put_dev_sector(sect); msdos_partition()
476 put_dev_sector(sect); msdos_partition()
498 put_dev_sector(sect); msdos_partition()
501 put_dev_sector(sect); msdos_partition()
512 put_dev_sector(sect); msdos_partition()
580 put_dev_sector(sect); msdos_partition()
H A Damiga.c30 Sector sect; amiga_partition() local
39 for (blk = 0; ; blk++, put_dev_sector(sect)) { amiga_partition()
42 data = read_part_sector(state, blk, &sect); amiga_partition()
82 put_dev_sector(sect); amiga_partition()
83 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { amiga_partition()
85 data = read_part_sector(state, blk, &sect); amiga_partition()
H A Datari.c35 Sector sect; atari_partition() local
45 rs = read_part_sector(state, 0, &sect); atari_partition()
60 put_dev_sector(sect); atari_partition()
90 put_dev_sector(sect); atari_partition()
144 put_dev_sector(sect); atari_partition()
H A Dsun.c19 Sector sect; sun_partition() local
64 label = read_part_sector(state, 0, &sect); sun_partition()
72 put_dev_sector(sect); sun_partition()
82 put_dev_sector(sect); sun_partition()
120 put_dev_sector(sect); sun_partition()
H A Daix.c105 Sector sect; read_lba() local
106 unsigned char *data = read_part_sector(state, lba++, &sect); read_lba()
112 put_dev_sector(sect); read_lba()
173 Sector sect; aix_partition() local
188 d = read_part_sector(state, 7, &sect); aix_partition()
210 put_dev_sector(sect); aix_partition()
212 if (vgda_sector && (d = read_part_sector(state, vgda_sector, &sect))) { aix_partition()
216 put_dev_sector(sect); aix_partition()
221 if (numlvs && (d = read_part_sector(state, vgda_sector + 1, &sect))) { aix_partition()
235 put_dev_sector(sect); aix_partition()
H A Dibm.c72 Sector sect; find_label() local
101 data = read_part_sector(state, testsect[i], &sect); find_label()
108 put_dev_sector(sect); find_label()
141 Sector sect; find_vol1_partitions() local
156 data = read_part_sector(state, blk * secperblk, &sect); find_vol1_partitions()
159 put_dev_sector(sect); find_vol1_partitions()
166 data = read_part_sector(state, blk * secperblk, &sect); find_vol1_partitions()
184 data = read_part_sector(state, blk * secperblk, &sect); find_vol1_partitions()
H A Dldm.c336 Sector sect; ldm_validate_privheads() local
357 &sect); ldm_validate_privheads()
363 put_dev_sector (sect); ldm_validate_privheads()
425 Sector sect; ldm_validate_tocblocks() local
447 data = read_part_sector(state, base + off[i], &sect); ldm_validate_tocblocks()
454 put_dev_sector(sect); ldm_validate_tocblocks()
496 Sector sect; ldm_validate_vmdb() local
507 data = read_part_sector(state, base + OFF_VMDB, &sect); ldm_validate_vmdb()
537 put_dev_sector (sect); ldm_validate_vmdb()
560 Sector sect; ldm_validate_partition_table() local
568 data = read_part_sector(state, 0, &sect); ldm_validate_partition_table()
588 put_dev_sector (sect); ldm_validate_partition_table()
1426 Sector sect; ldm_get_vblks() local
1438 data = read_part_sector(state, base + OFF_VMDB + s, &sect); ldm_get_vblks()
1460 put_dev_sector (sect); ldm_get_vblks()
1467 put_dev_sector (sect); ldm_get_vblks()
H A Defi.c263 Sector sect; read_lba() local
264 unsigned char *data = read_part_sector(state, n++, &sect); read_lba()
270 put_dev_sector(sect); read_lba()
/linux-4.4.14/include/linux/
H A Dfd.h11 compat_uint_t sect; member in struct:compat_floppy_struct
H A Dide.h538 u8 sect; /* "real" sectors per track */ member in struct:ide_drive_s
/linux-4.4.14/arch/powerpc/include/asm/
H A Dfeature-fixups.h40 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \
43 .pushsection sect,"a"; \
179 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \
181 .pushsection sect,"a"; \
H A Drtas.h290 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) pseries_errorlog_id() argument
292 return be16_to_cpu(sect->id); pseries_errorlog_id()
296 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) pseries_errorlog_length() argument
298 return be16_to_cpu(sect->length); pseries_errorlog_length()
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dio_event_irq.c77 struct pseries_errorlog *sect; ioei_find_event() local
91 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); ioei_find_event()
92 if (unlikely(!sect)) { ioei_find_event()
98 return (struct pseries_io_event *) &sect->data; ioei_find_event()
/linux-4.4.14/arch/arm/mach-omap2/
H A Diomap.h60 #define L3_24XX_SIZE SZ_1M /* 44kB of 128MB used, want 1MB sect */
63 #define L4_24XX_SIZE SZ_1M /* 1MB of 128MB used, want 1MB sect */
106 #define L3_34XX_SIZE SZ_1M /* 44kB of 128MB used, want 1MB sect */
110 #define L4_34XX_SIZE SZ_4M /* 1MB of 128MB used, want 1MB sect */
119 #define L4_WK_AM33XX_SIZE SZ_4M /* 1MB of 128MB used, want 1MB sect */
/linux-4.4.14/drivers/block/
H A Dhd.c122 unsigned int head, sect, cyl, wpcom, lzone, ctl; member in struct:hd_i_struct
185 hd_info[hdind].sect = ints[3]; hd_setup()
306 unsigned int sect, hd_out()
329 outb_p(sect, ++port); hd_out()
383 hd_out(disk, disk->sect, disk->sect, disk->head-1, reset_hd()
558 hd_out(disk, disk->sect, 0, 0, 0, ATA_CMD_RESTORE, &recal_intr); do_special_op()
619 sec = block % disk->sect + 1; hd_request()
620 track = block / disk->sect; hd_request()
666 geo->sectors = disk->sect; hd_getgeo()
745 set_capacity(disk, p->head * p->sect * p->cyl); hd_init()
751 p->cyl, p->head, p->sect); hd_init()
304 hd_out(struct hd_i_struct *disk, unsigned int nsect, unsigned int sect, unsigned int head, unsigned int cyl, unsigned int cmd, void (*intr_addr)(void)) hd_out() argument
H A Dfloppy.c2031 if (floppy_type[DP->autodetect[probed_format]].sect) { next_valid_format()
2096 unsigned char track, head, sect, size; setup_format_params() member in struct:fparm
2109 F_SECT_PER_TRACK = _floppy->sect << 2 >> F_SIZECODE; setup_format_params()
2135 here[count].sect = 0; setup_format_params()
2140 here[n].sect = count; setup_format_params()
2142 if (here[n].sect) { /* sector busy, find next free sector */ setup_format_params()
2146 while (here[n].sect) setup_format_params()
2153 here[count].sect += FD_SECTBASE(_floppy) - 1; setup_format_params()
2184 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || do_format()
2247 if (block > _floppy->sect) request_done()
2392 max_sector -= (max_sector % _floppy->sect) % ssize; transfer_size()
2546 max_sector = _floppy->sect * _floppy->head; make_raw_rw_request()
2557 HEAD = fsector_t / _floppy->sect; make_raw_rw_request()
2561 fsector_t < _floppy->sect) make_raw_rw_request()
2562 max_sector = _floppy->sect; make_raw_rw_request()
2566 max_sector = 2 * _floppy->sect / 3; make_raw_rw_request()
2569 min_t(int, _floppy->sect - fsector_t, make_raw_rw_request()
2588 SECT_PER_TRACK = _floppy->sect << 2 >> SIZECODE; make_raw_rw_request()
2589 SECTOR = ((fsector_t % _floppy->sect) << 2 >> SIZECODE) + make_raw_rw_request()
2595 tracksize = _floppy->sect - _floppy->sect % ssize; make_raw_rw_request()
2596 if (tracksize < _floppy->sect) { make_raw_rw_request()
2598 if (tracksize <= fsector_t % _floppy->sect) make_raw_rw_request()
2602 while (tracksize <= fsector_t % _floppy->sect) { make_raw_rw_request()
2603 while (tracksize + ssize > _floppy->sect) { make_raw_rw_request()
2611 max_sector = HEAD * _floppy->sect + tracksize; make_raw_rw_request()
2613 max_sector = _floppy->sect; make_raw_rw_request()
2616 max_sector = _floppy->sect; make_raw_rw_request()
2619 in_sector_offset = (fsector_t % _floppy->sect) % ssize; make_raw_rw_request()
2903 "warning: usage count=0, current_req=%p sect=%ld type=%x flags=%llx\n", do_fd_request()
3236 if (g->sect <= 0 || set_geometry()
3277 SUPBOUND(buffer_max, user_params[drive].sect); set_geometry()
3289 if (DRS->maxblock > user_params[drive].sect || set_geometry()
3291 ((user_params[drive].sect ^ oldStretch) & set_geometry()
3376 geo->sectors = g->sect; fd_getgeo()
H A Damiflop.c711 unsigned char sect; member in struct:header
745 hdr.magic, hdr.track, hdr.sect, hdr.ord, amiga_read()
762 raw = decode ((ulong *)(unit[drive].trackbuf + hdr.sect*512), amiga_read()
764 csum = checksum((ulong *)(unit[drive].trackbuf + hdr.sect*512), 512); amiga_read()
768 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, amiga_read()
771 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[0], amiga_read()
772 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[1], amiga_read()
773 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[2], amiga_read()
774 ((ulong *)(unit[drive].trackbuf+hdr.sect*512))[3]); amiga_read()
826 hdr.sect = cnt; putsec()
1513 getprm.sect=p->dtype->sects * p->type->sect_mult; fd_locked_ioctl()
H A Dataflop.c649 int sect, nsect; do_format() local
685 for( sect = 0; sect < nsect; ++sect ) { do_format()
691 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; do_format()
1544 getprm.sect = dtp->spt; fd_locked_ioctl()
1579 drive, setprm.size, setprm.sect, setprm.stretch); fd_locked_ioctl()
1606 && dtp->spt == setprm.sect fd_locked_ioctl()
1639 dtp->spt = setprm.sect; fd_locked_ioctl()
1640 if (setprm.sect > 14) fd_locked_ioctl()
H A Dswim.c609 fs->secpercyl = g->head * g->sect; setup_medium()
610 fs->secpertrack = g->sect; setup_medium()
735 geo->sectors = g->sect; floppy_getgeo()
H A Dsx8.c397 __le16 sect; member in struct:carm_array_info
977 port->dev_geom_sect = le16_to_cpu(desc->sect); carm_handle_array_info()
H A Dswim3.c469 swim3_dbg(" setup xfer at sect %d (of %d) head %d for %d\n", setup_transfer()
H A Dcpqarray.c1017 printk(KERN_WARNING "Invalid request on ida/c%dd%d = (cmd=%x sect=%d cnt=%d sg=%d ret=%x)\n", complete_command()
H A Dcciss.c3412 c->Request.CDB[6] = 0; /* (sect >> 24) & 0xff; MSB */ do_cciss_request()
H A Dskd_main.c870 pr_err("(%s): Error cmd=%s sect=%u count=%u id=0x%x\n", skd_end_request()
/linux-4.4.14/arch/c6x/kernel/
H A Dvectors.S45 .sect ".vectors","ax"
/linux-4.4.14/include/linux/mtd/
H A Dinftl.h41 int head,sect,cyl; member in struct:INFTLrecord
H A Dnftl.h47 int head,sect,cyl; member in struct:NFTLrecord
/linux-4.4.14/drivers/ide/
H A Dide.c241 u8 sect; member in struct:chs_geom
272 ide_disks_chs[i].sect = s; ide_set_disk_chs()
317 drive->sect = drive->bios_sect = ide_disks_chs[i].sect; ide_dev_apply_params()
321 drive->cyl, drive->head, drive->sect); ide_dev_apply_params()
H A Dide-disk.c133 unsigned int sect, head, cyl, track; __ide_do_rw_disk() local
135 track = (int)block / drive->sect; __ide_do_rw_disk()
136 sect = (int)block % drive->sect + 1; __ide_do_rw_disk()
140 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); __ide_do_rw_disk()
143 tf->lbal = sect; __ide_do_rw_disk()
370 drive->capacity64 = drive->cyl * drive->head * drive->sect; ide_disk_get_capacity()
H A Dide-probe.c57 id[ATA_ID_CUR_SECTORS] = id[ATA_ID_SECTORS] = drive->sect; generic_id()
65 if (!drive->cyl || !drive->head || !drive->sect) { ide_disk_init_chs()
68 drive->sect = drive->bios_sect = id[ATA_ID_SECTORS]; ide_disk_init_chs()
75 drive->sect = id[ATA_ID_CUR_SECTORS]; ide_disk_init_chs()
82 drive->sect = id[ATA_ID_SECTORS]; ide_disk_init_chs()
503 drive->head, drive->sect); probe_for_drive()
H A Dide-io.c157 tf->nsect = drive->sect; ide_tf_set_specify_cmd()
158 tf->lbal = drive->sect; ide_tf_set_specify_cmd()
167 tf->nsect = drive->sect; ide_tf_set_restore_cmd()
H A Dide-proc.c469 drive->cyl, drive->head, drive->sect); ide_geometry_proc_show()
/linux-4.4.14/fs/hfs/
H A Dmdb.c73 int off2, len, size, sect; hfs_mdb_get() local
112 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; hfs_mdb_get()
114 while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) hfs_mdb_get()
154 sect = part_start + part_size - 2; hfs_mdb_get()
155 bh = sb_bread512(sb, sect, mdb2); hfs_mdb_get()
/linux-4.4.14/drivers/scsi/
H A Dscsicam.c40 Sector sect; scsi_bios_ptable() local
41 void *data = read_dev_sector(bdev, 0, &sect); scsi_bios_ptable()
44 put_dev_sector(sect); scsi_bios_ptable()
/linux-4.4.14/arch/mips/boot/
H A Delf2ecoff.c57 struct sect { struct
100 static void combine(struct sect *base, struct sect *new, int pad) combine()
272 struct sect text, data, bss; main()
360 struct sect ndata, nbss; main()
370 struct sect ntxt; main()
/linux-4.4.14/drivers/md/
H A Draid1.c1806 sector_t sect = r1_bio->sector; fix_sync_read_error() local
1826 if (sync_page_io(rdev, sect, s<<9, fix_sync_read_error()
1855 if (!rdev_set_badblocks(rdev, sect, s, 0)) fix_sync_read_error()
1868 sect += s; fix_sync_read_error()
1882 if (r1_sync_page_io(rdev, sect, s, fix_sync_read_error()
1897 if (r1_sync_page_io(rdev, sect, s, fix_sync_read_error()
1903 sect += s; fix_sync_read_error()
2063 sector_t sect, int sectors) fix_read_error()
2089 rdev->recovery_offset >= sect + s)) && fix_read_error()
2090 is_badblock(rdev, sect, s, fix_read_error()
2092 sync_page_io(rdev, sect, s<<9, fix_read_error()
2105 if (!rdev_set_badblocks(rdev, sect, s, 0)) fix_read_error()
2118 r1_sync_page_io(rdev, sect, s, fix_read_error()
2130 if (r1_sync_page_io(rdev, sect, s, fix_read_error()
2137 (unsigned long long)(sect + fix_read_error()
2144 sect += s; fix_read_error()
2062 fix_read_error(struct r1conf *conf, int read_disk, sector_t sect, int sectors) fix_read_error() argument
H A Draid10.c2060 sector_t sect = 0; fix_recovery_read_error() local
2076 addr = r10_bio->devs[0].addr + sect, fix_recovery_read_error()
2084 addr = r10_bio->devs[1].addr + sect; fix_recovery_read_error()
2108 addr = r10_bio->devs[1].addr + sect; fix_recovery_read_error()
2127 sect += s; fix_recovery_read_error()
2241 int sect = 0; /* Offset from r10_bio->sector */ fix_read_error() local
2294 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, fix_read_error()
2300 sect, fix_read_error()
2325 + sect, fix_read_error()
2353 sect, fix_read_error()
2363 sect + fix_read_error()
2392 sect, fix_read_error()
2403 sect + fix_read_error()
2417 sect + fix_read_error()
2429 sect += s; fix_read_error()
2867 sector_t sect = sync_request() local
2869 bitmap_end_sync(mddev->bitmap, sect, sync_request()
2939 sector_t sect; sync_request() local
2955 sect = raid10_find_virt(conf, sector_nr, i); sync_request()
2956 if (sect >= mddev->resync_max_sectors) { sync_request()
2966 must_sync = bitmap_start_sync(mddev->bitmap, sect, sync_request()
2990 r10_bio->sector = sect; sync_request()
3004 must_sync = bitmap_start_sync(mddev->bitmap, sect, sync_request()
H A Ddm-table.c658 DMWARN("%s: table line %u (start sect %llu len %llu) " validate_hardware_logical_block_alignment()
1287 "(start sect %llu len %llu) " dm_calculate_queue_limits()
H A Draid5.c87 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) stripe_hash() argument
89 int hash = (sect >> STRIPE_SHIFT) & HASH_MASK; stripe_hash()
93 static inline int stripe_hash_locks_hash(sector_t sect) stripe_hash_locks_hash() argument
95 return (sect >> STRIPE_SHIFT) & STRIPE_HASH_LOCKS_MASK; stripe_hash_locks_hash()
/linux-4.4.14/block/
H A Dcompat_ioctl.c335 err |= __get_user(f->sect, &uf->sect); compat_fd_ioctl()
419 err |= __put_user(f->sect, &uf->sect); compat_fd_ioctl()
H A Dcfq-iosched.c1498 "sl_used=%u disp=%u charge=%u iops=%u sect=%lu", cfq_group_served()
/linux-4.4.14/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c2628 struct ppb_lock *sect; cfi_ppb_unlock() local
2643 sect = kzalloc(MAX_SECTORS * sizeof(struct ppb_lock), GFP_KERNEL); cfi_ppb_unlock()
2644 if (!sect) cfi_ppb_unlock()
2667 sect[sectors].chip = &cfi->chips[chipnum]; cfi_ppb_unlock()
2668 sect[sectors].offset = offset; cfi_ppb_unlock()
2669 sect[sectors].locked = do_ppb_xxlock( cfi_ppb_unlock()
2693 kfree(sect); cfi_ppb_unlock()
2702 kfree(sect); cfi_ppb_unlock()
2711 if (sect[i].locked) cfi_ppb_unlock()
2712 do_ppb_xxlock(map, sect[i].chip, sect[i].offset, 0, cfi_ppb_unlock()
2716 kfree(sect); cfi_ppb_unlock()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v7_0.c2834 const struct cs_section_def *sect = NULL; gfx_v7_0_cp_gfx_start() local
2865 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { gfx_v7_0_cp_gfx_start()
2866 for (ext = sect->section; ext->extent != NULL; ++ext) { gfx_v7_0_cp_gfx_start()
2867 if (sect->id == SECT_CONTEXT) { gfx_v7_0_cp_gfx_start()
4542 const struct cs_section_def *sect = NULL; gfx_v7_0_get_csb_size() local
4553 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { gfx_v7_0_get_csb_size()
4554 for (ext = sect->section; ext->extent != NULL; ++ext) { gfx_v7_0_get_csb_size()
4555 if (sect->id == SECT_CONTEXT) gfx_v7_0_get_csb_size()
4575 const struct cs_section_def *sect = NULL; gfx_v7_0_get_csb_buffer() local
4590 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { gfx_v7_0_get_csb_buffer()
4591 for (ext = sect->section; ext->extent != NULL; ++ext) { gfx_v7_0_get_csb_buffer()
4592 if (sect->id == SECT_CONTEXT) { gfx_v7_0_get_csb_buffer()
H A Dgfx_v8_0.c3187 const struct cs_section_def *sect = NULL; gfx_v8_0_get_csb_size() local
3195 for (sect = vi_cs_data; sect->section != NULL; ++sect) { gfx_v8_0_get_csb_size()
3196 for (ext = sect->section; ext->extent != NULL; ++ext) { gfx_v8_0_get_csb_size()
3197 if (sect->id == SECT_CONTEXT) gfx_v8_0_get_csb_size()
3216 const struct cs_section_def *sect = NULL; gfx_v8_0_cp_gfx_start() local
3241 for (sect = vi_cs_data; sect->section != NULL; ++sect) { gfx_v8_0_cp_gfx_start()
3242 for (ext = sect->section; ext->extent != NULL; ++ext) { gfx_v8_0_cp_gfx_start()
3243 if (sect->id == SECT_CONTEXT) { gfx_v8_0_cp_gfx_start()
/linux-4.4.14/arch/ia64/kernel/
H A Dmca_drv.c220 #define LOG_INDEX_ADD_SECT_PTR(sect, ptr) \
223 list_add(&hl->list, &(sect)); \
/linux-4.4.14/drivers/mtd/
H A Dftl.c984 u_long sect; ftl_getgeo() local
987 sect = le32_to_cpu(part->header.FormattedSize)/SECTOR_SIZE; ftl_getgeo()
991 geo->cylinders = sect >> 3; ftl_getgeo()
/linux-4.4.14/drivers/ata/
H A Dlibata-core.c713 u32 cyl, head, sect; ata_tf_read_block() local
717 sect = tf->lbal; ata_tf_read_block()
719 if (!sect) { ata_tf_read_block()
722 sect = 1; /* oh well */ ata_tf_read_block()
725 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; ata_tf_read_block()
819 u32 sect, head, cyl, track; ata_build_rw_tf() local
832 sect = (u32)block % dev->sectors + 1; ata_build_rw_tf()
834 DPRINTK("block %u track %u cyl %u head %u sect %u\n", ata_build_rw_tf()
835 (u32)block, track, cyl, head, sect); ata_build_rw_tf()
841 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) ata_build_rw_tf()
845 tf->lbal = sect; ata_build_rw_tf()
1043 * of ATA/PI spec (volume 1, sect 5.14).
H A Dlibata-scsi.c1372 tf->lbal = 0x1; /* sect */ ata_scsi_start_stop_xlat()
1611 u32 sect, head, cyl, track; ata_scsi_verify_xlat() local
1620 sect = (u32)block % dev->sectors + 1; ata_scsi_verify_xlat()
1622 DPRINTK("block %u track %u cyl %u head %u sect %u\n", ata_scsi_verify_xlat()
1623 (u32)block, track, cyl, head, sect); ata_scsi_verify_xlat()
1629 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) ata_scsi_verify_xlat()
1634 tf->lbal = sect; ata_scsi_verify_xlat()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dsi.c5673 const struct cs_section_def *sect = NULL; si_get_csb_size() local
5684 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { si_get_csb_size()
5685 for (ext = sect->section; ext->extent != NULL; ++ext) { si_get_csb_size()
5686 if (sect->id == SECT_CONTEXT) si_get_csb_size()
5705 const struct cs_section_def *sect = NULL; si_get_csb_buffer() local
5720 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { si_get_csb_buffer()
5721 for (ext = sect->section; ext->extent != NULL; ++ext) { si_get_csb_buffer()
5722 if (sect->id == SECT_CONTEXT) { si_get_csb_buffer()
H A Dcik.c7115 const struct cs_section_def *sect = NULL; cik_get_csb_size() local
7126 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { cik_get_csb_size()
7127 for (ext = sect->section; ext->extent != NULL; ++ext) { cik_get_csb_size()
7128 if (sect->id == SECT_CONTEXT) cik_get_csb_size()
7147 const struct cs_section_def *sect = NULL; cik_get_csb_buffer() local
7162 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { cik_get_csb_buffer()
7163 for (ext = sect->section; ext->extent != NULL; ++ext) { cik_get_csb_buffer()
7164 if (sect->id == SECT_CONTEXT) { cik_get_csb_buffer()
/linux-4.4.14/arch/unicore32/mm/
H A Dmmu.c99 * and sect for unigfx mmap -- noncacheable
/linux-4.4.14/include/uapi/linux/
H A Dfd.h15 sect, /* sectors per track */ member in struct:floppy_struct
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_sds.c909 ASD_DPRINTK("manuf sect SAS_ADDR %llx\n", asd_process_ms()
917 ASD_DPRINTK("manuf sect PCBA SN %s\n", asd_ha->hw_prof.pcba_sn); asd_process_ms()
/linux-4.4.14/kernel/
H A Dmodule.c1455 static inline bool sect_empty(const Elf_Shdr *sect) sect_empty() argument
1457 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; sect_empty()
1548 /* We are positive that no one is using any sect attrs remove_sect_attrs()
/linux-4.4.14/arch/parisc/kernel/
H A Dmodule.c844 DEBUGP("register_unwind_table(), sect = %d at 0x%p - 0x%p (gp=0x%lx)\n", register_unwind_table()
/linux-4.4.14/drivers/block/mtip32xx/
H A Dmtip32xx.c1813 dbg_printk(MTIP_DRV_NAME " %s: User Command: cmd %x, feat %x, nsect %x, sect %x, lcyl %x, hcyl %x, sel %x\n", exec_drive_task()
1911 " %s: User Command: cmd %x, sect %x, " exec_drive_command()
2148 " sect/lbal %x, lcyl/lbam %x, hcyl/lbah %x," exec_drive_taskfile()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_req.c133 drbd_err(device, "drbd_req_destroy: Logic BUG: interval empty, but: rq_state=0x%x, sect=%llu, size=%u\n", drbd_req_destroy()
H A Ddrbd_int.h1287 * sect. 0 `296 `304 ^(512*8*8)-1
/linux-4.4.14/drivers/infiniband/ulp/srp/
H A Dib_srp.c3062 pr_warn("bad max sect parameter '%s'\n", p); srp_parse_options()

Completed in 2184 milliseconds