arch/mips/boot/elf2ecoff.c
102
static void combine(struct sect *base, struct sect *new, int pad)
arch/mips/boot/elf2ecoff.c
274
struct sect text, data, bss;
arch/mips/boot/elf2ecoff.c
362
struct sect ndata, nbss;
arch/mips/boot/elf2ecoff.c
372
struct sect ntxt;
arch/powerpc/include/asm/feature-fixups.h
203
#define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \
arch/powerpc/include/asm/feature-fixups.h
205
.pushsection sect,"a"; \
arch/powerpc/include/asm/feature-fixups.h
57
#define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \
arch/powerpc/include/asm/feature-fixups.h
60
.pushsection sect,"a"; \
arch/powerpc/include/asm/rtas.h
392
inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect)
arch/powerpc/include/asm/rtas.h
394
return be16_to_cpu(sect->id);
arch/powerpc/include/asm/rtas.h
398
inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect)
arch/powerpc/include/asm/rtas.h
400
return be16_to_cpu(sect->length);
arch/powerpc/kernel/module.c
36
const Elf_Shdr *sect;
arch/powerpc/kernel/module.c
44
sect = find_section(hdr, sechdrs, "__ftr_fixup");
arch/powerpc/kernel/module.c
45
if (sect != NULL)
arch/powerpc/kernel/module.c
47
(void *)sect->sh_addr,
arch/powerpc/kernel/module.c
48
(void *)sect->sh_addr + sect->sh_size);
arch/powerpc/kernel/module.c
50
sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup");
arch/powerpc/kernel/module.c
51
if (sect != NULL)
arch/powerpc/kernel/module.c
53
(void *)sect->sh_addr,
arch/powerpc/kernel/module.c
54
(void *)sect->sh_addr + sect->sh_size);
arch/powerpc/kernel/module.c
57
sect = find_section(hdr, sechdrs, "__fw_ftr_fixup");
arch/powerpc/kernel/module.c
58
if (sect != NULL)
arch/powerpc/kernel/module.c
60
(void *)sect->sh_addr,
arch/powerpc/kernel/module.c
61
(void *)sect->sh_addr + sect->sh_size);
arch/powerpc/kernel/module.c
65
sect = find_section(hdr, sechdrs, ".opd");
arch/powerpc/kernel/module.c
66
if (sect != NULL) {
arch/powerpc/kernel/module.c
67
me->arch.start_opd = sect->sh_addr;
arch/powerpc/kernel/module.c
68
me->arch.end_opd = sect->sh_addr + sect->sh_size;
arch/powerpc/kernel/module.c
73
sect = find_section(hdr, sechdrs, "__spec_barrier_fixup");
arch/powerpc/kernel/module.c
74
if (sect != NULL)
arch/powerpc/kernel/module.c
76
(void *)sect->sh_addr,
arch/powerpc/kernel/module.c
77
(void *)sect->sh_addr + sect->sh_size);
arch/powerpc/kernel/module.c
80
sect = find_section(hdr, sechdrs, "__lwsync_fixup");
arch/powerpc/kernel/module.c
81
if (sect != NULL)
arch/powerpc/kernel/module.c
83
(void *)sect->sh_addr,
arch/powerpc/kernel/module.c
84
(void *)sect->sh_addr + sect->sh_size);
arch/powerpc/kernel/rtas.c
1722
struct pseries_errorlog *sect;
arch/powerpc/kernel/rtas.c
1738
sect = (struct pseries_errorlog *)p;
arch/powerpc/kernel/rtas.c
1739
if (pseries_errorlog_id(sect) == section_id)
arch/powerpc/kernel/rtas.c
1740
return sect;
arch/powerpc/kernel/rtas.c
1741
p += pseries_errorlog_length(sect);
arch/powerpc/platforms/pseries/io_event_irq.c
73
struct pseries_errorlog *sect;
arch/powerpc/platforms/pseries/io_event_irq.c
87
sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT);
arch/powerpc/platforms/pseries/io_event_irq.c
88
if (unlikely(!sect)) {
arch/powerpc/platforms/pseries/io_event_irq.c
94
return (struct pseries_io_event *) §->data;
block/partitions/acorn.c
108
put_dev_sector(sect);
block/partitions/acorn.c
129
Sector sect;
block/partitions/acorn.c
137
linuxp = read_part_sector(state, first_sect, §);
block/partitions/acorn.c
153
put_dev_sector(sect);
block/partitions/acorn.c
163
Sector sect;
block/partitions/acorn.c
186
data = read_part_sector(state, start_blk * 2 + 6, §);
block/partitions/acorn.c
228
put_dev_sector(sect);
block/partitions/acorn.c
232
put_dev_sector(sect);
block/partitions/acorn.c
253
Sector sect;
block/partitions/acorn.c
259
data = read_part_sector(state, 6, §);
block/partitions/acorn.c
265
put_dev_sector(sect);
block/partitions/acorn.c
273
put_dev_sector(sect);
block/partitions/acorn.c
311
Sector sect;
block/partitions/acorn.c
312
unsigned char *data = read_part_sector(state, block, §);
block/partitions/acorn.c
318
put_dev_sector(sect);
block/partitions/acorn.c
355
Sector sect;
block/partitions/acorn.c
360
data = read_part_sector(state, 0, §);
block/partitions/acorn.c
365
put_dev_sector(sect);
block/partitions/acorn.c
402
put_dev_sector(sect);
block/partitions/acorn.c
448
Sector sect;
block/partitions/acorn.c
454
data = read_part_sector(state, 0, §);
block/partitions/acorn.c
459
put_dev_sector(sect);
block/partitions/acorn.c
473
put_dev_sector(sect);
block/partitions/acorn.c
509
Sector sect;
block/partitions/acorn.c
516
data = read_part_sector(state, 7, §);
block/partitions/acorn.c
526
put_dev_sector(sect);
block/partitions/acorn.c
74
Sector sect;
block/partitions/acorn.c
77
rr = read_part_sector(state, first_sect, §);
block/partitions/aix.c
157
Sector sect;
block/partitions/aix.c
172
d = read_part_sector(state, 7, §);
block/partitions/aix.c
194
put_dev_sector(sect);
block/partitions/aix.c
196
if (vgda_sector && (d = read_part_sector(state, vgda_sector, §))) {
block/partitions/aix.c
200
put_dev_sector(sect);
block/partitions/aix.c
205
if (numlvs && (d = read_part_sector(state, vgda_sector + 1, §))) {
block/partitions/aix.c
221
put_dev_sector(sect);
block/partitions/aix.c
89
Sector sect;
block/partitions/aix.c
90
unsigned char *data = read_part_sector(state, lba++, §);
block/partitions/aix.c
96
put_dev_sector(sect);
block/partitions/amiga.c
100
data = read_part_sector(state, blk, §);
block/partitions/amiga.c
38
Sector sect;
block/partitions/amiga.c
50
for (blk = 0; ; blk++, put_dev_sector(sect)) {
block/partitions/amiga.c
53
data = read_part_sector(state, blk, §);
block/partitions/amiga.c
92
put_dev_sector(sect);
block/partitions/amiga.c
93
for (part = 1; (s32) blk>0 && part<=16; part++, put_dev_sector(sect)) {
block/partitions/atari.c
151
put_dev_sector(sect);
block/partitions/atari.c
36
Sector sect;
block/partitions/atari.c
53
rs = read_part_sector(state, 0, §);
block/partitions/atari.c
68
put_dev_sector(sect);
block/partitions/atari.c
98
put_dev_sector(sect);
block/partitions/efi.c
246
Sector sect;
block/partitions/efi.c
247
unsigned char *data = read_part_sector(state, n++, §);
block/partitions/efi.c
253
put_dev_sector(sect);
block/partitions/ibm.c
116
Sector sect;
block/partitions/ibm.c
141
data = read_part_sector(state, testsect[i], §);
block/partitions/ibm.c
147
put_dev_sector(sect);
block/partitions/ibm.c
177
Sector sect;
block/partitions/ibm.c
192
data = read_part_sector(state, blk * secperblk, §);
block/partitions/ibm.c
195
put_dev_sector(sect);
block/partitions/ibm.c
202
data = read_part_sector(state, blk * secperblk, §);
block/partitions/ibm.c
220
data = read_part_sector(state, blk * secperblk, §);
block/partitions/karma.c
19
Sector sect;
block/partitions/karma.c
35
data = read_part_sector(state, 0, §);
block/partitions/karma.c
41
put_dev_sector(sect);
block/partitions/karma.c
57
put_dev_sector(sect);
block/partitions/ldm.c
1346
Sector sect;
block/partitions/ldm.c
1358
data = read_part_sector(state, base + OFF_VMDB + s, §);
block/partitions/ldm.c
1380
put_dev_sector (sect);
block/partitions/ldm.c
1387
put_dev_sector (sect);
block/partitions/ldm.c
268
Sector sect;
block/partitions/ldm.c
289
§);
block/partitions/ldm.c
295
put_dev_sector (sect);
block/partitions/ldm.c
357
Sector sect;
block/partitions/ldm.c
379
data = read_part_sector(state, base + off[i], §);
block/partitions/ldm.c
386
put_dev_sector(sect);
block/partitions/ldm.c
428
Sector sect;
block/partitions/ldm.c
439
data = read_part_sector(state, base + OFF_VMDB, §);
block/partitions/ldm.c
469
put_dev_sector (sect);
block/partitions/ldm.c
492
Sector sect;
block/partitions/ldm.c
500
data = read_part_sector(state, 0, §);
block/partitions/ldm.c
520
put_dev_sector (sect);
block/partitions/mac.c
154
put_dev_sector(sect);
block/partitions/mac.c
35
Sector sect;
block/partitions/mac.c
47
md = read_part_sector(state, 0, §);
block/partitions/mac.c
51
put_dev_sector(sect);
block/partitions/mac.c
55
put_dev_sector(sect);
block/partitions/mac.c
67
data = read_part_sector(state, datasize / 512, §);
block/partitions/mac.c
72
put_dev_sector(sect);
block/partitions/mac.c
77
put_dev_sector(sect);
block/partitions/mac.c
82
put_dev_sector(sect);
block/partitions/mac.c
92
put_dev_sector(sect);
block/partitions/mac.c
93
data = read_part_sector(state, pos/512, §);
block/partitions/msdos.c
103
put_dev_sector(sect);
block/partitions/msdos.c
135
Sector sect;
block/partitions/msdos.c
152
data = read_part_sector(state, this_sector, §);
block/partitions/msdos.c
217
put_dev_sector(sect);
block/partitions/msdos.c
220
put_dev_sector(sect);
block/partitions/msdos.c
254
Sector sect;
block/partitions/msdos.c
259
v = read_part_sector(state, offset + 1, §);
block/partitions/msdos.c
263
put_dev_sector(sect);
block/partitions/msdos.c
278
put_dev_sector(sect);
block/partitions/msdos.c
297
put_dev_sector(sect);
block/partitions/msdos.c
359
Sector sect;
block/partitions/msdos.c
364
l = read_part_sector(state, offset + 1, §);
block/partitions/msdos.c
368
put_dev_sector(sect);
block/partitions/msdos.c
399
put_dev_sector(sect);
block/partitions/msdos.c
487
Sector sect;
block/partitions/msdos.c
491
l = read_part_sector(state, offset + 29, §);
block/partitions/msdos.c
496
put_dev_sector(sect);
block/partitions/msdos.c
517
put_dev_sector(sect);
block/partitions/msdos.c
533
Sector sect;
block/partitions/msdos.c
538
data = read_part_sector(state, offset, §);
block/partitions/msdos.c
563
put_dev_sector(sect);
block/partitions/msdos.c
584
Sector sect;
block/partitions/msdos.c
592
data = read_part_sector(state, 0, §);
block/partitions/msdos.c
601
put_dev_sector(sect);
block/partitions/msdos.c
611
put_dev_sector(sect);
block/partitions/msdos.c
633
put_dev_sector(sect);
block/partitions/msdos.c
636
put_dev_sector(sect);
block/partitions/msdos.c
647
put_dev_sector(sect);
block/partitions/msdos.c
715
put_dev_sector(sect);
block/partitions/msdos.c
75
Sector sect;
block/partitions/msdos.c
99
d = read_part_sector(state, 7, §);
block/partitions/osf.c
21
Sector sect;
block/partitions/osf.c
56
data = read_part_sector(state, 0, §);
block/partitions/osf.c
63
put_dev_sector(sect);
block/partitions/osf.c
67
put_dev_sector(sect);
block/partitions/osf.c
72
put_dev_sector(sect);
block/partitions/osf.c
85
put_dev_sector(sect);
block/partitions/sgi.c
43
Sector sect;
block/partitions/sgi.c
47
label = read_part_sector(state, 0, §);
block/partitions/sgi.c
53
put_dev_sector(sect);
block/partitions/sgi.c
64
put_dev_sector(sect);
block/partitions/sgi.c
83
put_dev_sector(sect);
block/partitions/sun.c
125
put_dev_sector(sect);
block/partitions/sun.c
27
Sector sect;
block/partitions/sun.c
71
label = read_part_sector(state, 0, §);
block/partitions/sun.c
77
put_dev_sector(sect);
block/partitions/sun.c
87
put_dev_sector(sect);
block/partitions/sysv68.c
53
Sector sect;
block/partitions/sysv68.c
59
data = read_part_sector(state, 0, §);
block/partitions/sysv68.c
65
put_dev_sector(sect);
block/partitions/sysv68.c
70
put_dev_sector(sect);
block/partitions/sysv68.c
72
data = read_part_sector(state, i, §);
block/partitions/sysv68.c
93
put_dev_sector(sect);
block/partitions/ultrix.c
15
Sector sect;
block/partitions/ultrix.c
29
data = read_part_sector(state, (16384 - sizeof(*label))/512, §);
block/partitions/ultrix.c
41
put_dev_sector(sect);
block/partitions/ultrix.c
45
put_dev_sector(sect);
drivers/ata/libata-core.c
682
u32 cyl, head, sect;
drivers/ata/libata-core.c
686
sect = tf->lbal;
drivers/ata/libata-core.c
688
if (!sect) {
drivers/ata/libata-core.c
694
block = (cyl * dev->heads + head) * dev->sectors + sect - 1;
drivers/ata/libata-core.c
825
u32 sect, head, cyl, track;
drivers/ata/libata-core.c
838
sect = (u32)block % dev->sectors + 1;
drivers/ata/libata-core.c
844
if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
drivers/ata/libata-core.c
848
tf->lbal = sect;
drivers/ata/libata-scsi.c
1473
u32 sect, head, cyl, track;
drivers/ata/libata-scsi.c
1482
sect = (u32)block % dev->sectors + 1;
drivers/ata/libata-scsi.c
1488
if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
drivers/ata/libata-scsi.c
1493
tf->lbal = sect;
drivers/ata/libata-scsi.c
3755
u16 sect, fp = (u16)-1;
drivers/ata/libata-scsi.c
3786
sect = n_block / 512;
drivers/ata/libata-scsi.c
3795
tf->feature = sect & 0xff;
drivers/ata/libata-scsi.c
3796
tf->hob_feature = (sect >> 8) & 0xff;
drivers/ata/libata-scsi.c
3803
tf->hob_nsect = (sect >> 8) & 0xff;
drivers/ata/libata-scsi.c
3804
tf->nsect = sect & 0xff;
drivers/block/amiflop.c
1585
getprm.sect=p->dtype->sects * p->type->sect_mult;
drivers/block/amiflop.c
829
unsigned char sect;
drivers/block/amiflop.c
863
hdr.magic, hdr.track, hdr.sect, hdr.ord,
drivers/block/amiflop.c
880
raw = decode ((ulong *)(unit[drive].trackbuf + hdr.sect*512),
drivers/block/amiflop.c
882
csum = checksum((ulong *)(unit[drive].trackbuf + hdr.sect*512), 512);
drivers/block/amiflop.c
886
hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt,
drivers/block/amiflop.c
889
((ulong *)(unit[drive].trackbuf+hdr.sect*512))[0],
drivers/block/amiflop.c
890
((ulong *)(unit[drive].trackbuf+hdr.sect*512))[1],
drivers/block/amiflop.c
891
((ulong *)(unit[drive].trackbuf+hdr.sect*512))[2],
drivers/block/amiflop.c
892
((ulong *)(unit[drive].trackbuf+hdr.sect*512))[3]);
drivers/block/amiflop.c
944
hdr.sect = cnt;
drivers/block/ataflop.c
1620
getprm.sect = dtp->spt;
drivers/block/ataflop.c
1655
drive, setprm.size, setprm.sect, setprm.stretch);
drivers/block/ataflop.c
1682
&& dtp->spt == setprm.sect
drivers/block/ataflop.c
1715
dtp->spt = setprm.sect;
drivers/block/ataflop.c
1716
if (setprm.sect > 14)
drivers/block/ataflop.c
747
int sect, nsect;
drivers/block/ataflop.c
790
for( sect = 0; sect < nsect; ++sect ) {
drivers/block/ataflop.c
796
*p++ = (nsect + sect - desc->sect_offset) % nsect + 1;
drivers/block/floppy.c
2081
if (floppy_type[drive_params[drive].autodetect[probed_format]].sect) {
drivers/block/floppy.c
2147
unsigned char track, head, sect, size;
drivers/block/floppy.c
2160
raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE];
drivers/block/floppy.c
2189
here[count].sect = 0;
drivers/block/floppy.c
2194
here[n].sect = count;
drivers/block/floppy.c
2196
if (here[n].sect) { /* sector busy, find next free sector */
drivers/block/floppy.c
2200
while (here[n].sect)
drivers/block/floppy.c
2207
here[count].sect += FD_SECTBASE(_floppy) - 1;
drivers/block/floppy.c
2238
(_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) ||
drivers/block/floppy.c
2297
if (block > _floppy->sect)
drivers/block/floppy.c
2417
max_sector -= (max_sector % _floppy->sect) % ssize;
drivers/block/floppy.c
2566
max_sector = _floppy->sect * _floppy->head;
drivers/block/floppy.c
2577
raw_cmd->cmd[HEAD] = fsector_t / _floppy->sect;
drivers/block/floppy.c
2581
fsector_t < _floppy->sect)
drivers/block/floppy.c
2582
max_sector = _floppy->sect;
drivers/block/floppy.c
2586
max_sector = 2 * _floppy->sect / 3;
drivers/block/floppy.c
2589
min_t(int, _floppy->sect - fsector_t,
drivers/block/floppy.c
2609
raw_cmd->cmd[SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[SIZECODE];
drivers/block/floppy.c
2610
raw_cmd->cmd[SECTOR] = ((fsector_t % _floppy->sect) << 2 >> raw_cmd->cmd[SIZECODE]) +
drivers/block/floppy.c
2616
tracksize = _floppy->sect - _floppy->sect % ssize;
drivers/block/floppy.c
2617
if (tracksize < _floppy->sect) {
drivers/block/floppy.c
2619
if (tracksize <= fsector_t % _floppy->sect)
drivers/block/floppy.c
2623
while (tracksize <= fsector_t % _floppy->sect) {
drivers/block/floppy.c
2624
while (tracksize + ssize > _floppy->sect) {
drivers/block/floppy.c
2632
max_sector = raw_cmd->cmd[HEAD] * _floppy->sect + tracksize;
drivers/block/floppy.c
2634
max_sector = _floppy->sect;
drivers/block/floppy.c
2637
max_sector = _floppy->sect;
drivers/block/floppy.c
2640
in_sector_offset = (fsector_t % _floppy->sect) % ssize;
drivers/block/floppy.c
3228
if ((int)g->sect <= 0 ||
drivers/block/floppy.c
3231
(int)(g->sect * g->head) <= 0 ||
drivers/block/floppy.c
3233
(unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 ||
drivers/block/floppy.c
3274
SUPBOUND(buffer_max, user_params[drive].sect);
drivers/block/floppy.c
3286
if (drive_state[current_drive].maxblock > user_params[drive].sect ||
drivers/block/floppy.c
3288
((user_params[drive].sect ^ oldStretch) &
drivers/block/floppy.c
3373
geo->sectors = g->sect;
drivers/block/null_blk/zoned.c
19
static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect)
drivers/block/null_blk/zoned.c
21
return sect >> ilog2(dev->zone_size_sects);
drivers/block/swim.c
603
fs->secpercyl = g->head * g->sect;
drivers/block/swim.c
604
fs->secpertrack = g->sect;
drivers/block/swim.c
725
geo->sectors = g->sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
120
static void adf_mstate_dump_sect(struct adf_mstate_sect_h *sect,
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
123
pr_debug("QAT: LM - %s QAT state section %s\n", prefix, sect->id);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
124
print_hex_dump_debug("h-", DUMP_PREFIX_OFFSET, 16, 2, sect,
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
125
sizeof(*sect), true);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
126
print_hex_dump_debug("s-", DUMP_PREFIX_OFFSET, 16, 2, sect->state,
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
127
sect->size, true);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
131
struct adf_mstate_sect_h *sect,
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
135
sect->size += size;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
136
sect->sub_sects += n_subsects;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
138
mgr->state += sect->size;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
140
adf_mstate_dump_sect(sect, "Add");
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
145
struct adf_mstate_sect_h *sect)
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
147
__adf_mstate_sect_update(p_mgr, sect, adf_mstate_state_size(curr_mgr),
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
154
struct adf_mstate_sect_h *sect = (struct adf_mstate_sect_h *)(mgr->state);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
156
if (adf_mstate_avail_room(mgr) < sizeof(*sect)) {
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
161
strscpy(sect->id, id, sizeof(sect->id));
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
162
sect->size = 0;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
163
sect->sub_sects = 0;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
164
mgr->state += sizeof(*sect);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
166
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
173
struct adf_mstate_sect_h *sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
175
sect = adf_mstate_sect_add_header(mgr, id);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
176
if (!sect)
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
185
memcpy(sect->state, info->addr, info->size);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
186
__adf_mstate_sect_update(mgr, sect, info->size, 0);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
188
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
197
struct adf_mstate_sect_h *sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
200
sect = adf_mstate_sect_add_header(mgr, id);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
201
if (!sect)
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
205
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
210
size = (*populate)(&sub_sects_mgr, sect->state, avail_room, opaque);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
220
__adf_mstate_sect_update(mgr, sect, size, sub_sects_mgr.n_sects);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
222
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
228
struct adf_mstate_sect_h *sect = start;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
234
uintptr_t s_start = (uintptr_t)sect->state;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
235
uintptr_t s_end = s_start + sect->size;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
239
i, sect->size, mgr->size, mgr->n_sects);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
242
sect = (struct adf_mstate_sect_h *)s_end;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
246
start->id, sizeof(struct adf_mstate_sect_h) * (ulong)(sect - start),
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
290
struct adf_mstate_sect_h *sect = (struct adf_mstate_sect_h *)mgr->state;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
295
if (!strncmp(sect->id, id, sizeof(sect->id)))
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
298
sect = (struct adf_mstate_sect_h *)(sect->state + sect->size);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
304
adf_mstate_dump_sect(sect, "Found");
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
306
adf_mstate_mgr_init_from_psect(&sub_sects_mgr, sect);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
307
if (sect->sub_sects && adf_mstate_sect_validate(&sub_sects_mgr))
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
311
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
313
ret = (*action)(&sub_sects_mgr, sect->state, sect->size, opaque);
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c
317
return sect;
drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.h
77
struct adf_mstate_sect_h *sect);
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
2424
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
2428
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
2429
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
2430
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
4298
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
4306
for (sect = gfx10_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
4307
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
4308
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
6367
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
6393
for (sect = gfx10_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
6394
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
6395
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
3617
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
3644
for (sect = gfx11_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
3645
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
3646
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
831
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
839
for (sect = gfx11_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
840
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
841
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
672
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
677
for (sect = gfx12_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
678
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
679
for (ext = sect->section; ext->extent != NULL; ++ext)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
691
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
701
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
702
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
703
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
463
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
468
for (sect = gfx12_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
469
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
470
for (ext = sect->section; ext->extent != NULL; ++ext)
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
482
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
492
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
493
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
494
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2006
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2041
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2042
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2043
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2829
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2840
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2841
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
2842
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2455
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2486
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2487
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2488
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
3849
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
3860
for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
3861
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
3862
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4104
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4112
for (sect = vi_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4113
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4114
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4133
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4158
for (sect = vi_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4159
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4160
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
1627
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
1635
for (sect = gfx9_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
1636
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
1637
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
3325
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
3356
for (sect = gfx9_cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
3357
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
3358
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/kmb/kmb_dsi.c
711
u8 frame_id, sect;
drivers/gpu/drm/kmb/kmb_dsi.c
735
for (sect = 0; sect < MIPI_CTRL_VIRTUAL_CHANNELS; sect++) {
drivers/gpu/drm/kmb/kmb_dsi.c
736
if (!frame->sections[sect])
drivers/gpu/drm/kmb/kmb_dsi.c
739
ret = mipi_tx_fg_section_cfg(kmb_dsi, frame_id, sect,
drivers/gpu/drm/kmb/kmb_dsi.c
740
frame->sections[sect],
drivers/gpu/drm/radeon/cik.c
6670
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/radeon/cik.c
6681
for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/radeon/cik.c
6682
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/radeon/cik.c
6683
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/radeon/cik.c
6702
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/radeon/cik.c
6717
for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/radeon/cik.c
6718
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/radeon/cik.c
6719
if (sect->id == SECT_CONTEXT) {
drivers/gpu/drm/radeon/si.c
5666
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/radeon/si.c
5677
for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/radeon/si.c
5678
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/radeon/si.c
5679
if (sect->id == SECT_CONTEXT)
drivers/gpu/drm/radeon/si.c
5698
const struct cs_section_def *sect = NULL;
drivers/gpu/drm/radeon/si.c
5713
for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) {
drivers/gpu/drm/radeon/si.c
5714
for (ext = sect->section; ext->extent != NULL; ++ext) {
drivers/gpu/drm/radeon/si.c
5715
if (sect->id == SECT_CONTEXT) {
drivers/md/raid1.c
2133
sector_t sect = r1_bio->sector;
drivers/md/raid1.c
2165
if (sync_page_io(rdev, sect, s<<9,
drivers/md/raid1.c
2191
if (!rdev_set_badblocks(rdev, sect, s, 0))
drivers/md/raid1.c
2199
sect += s;
drivers/md/raid1.c
2213
if (r1_sync_page_io(rdev, sect, s,
drivers/md/raid1.c
2228
if (r1_sync_page_io(rdev, sect, s,
drivers/md/raid1.c
2234
sect += s;
drivers/md/raid1.c
2392
sector_t sect = r1_bio->sector;
drivers/md/raid1.c
2417
rdev->recovery_offset >= sect + s)) &&
drivers/md/raid1.c
2418
rdev_has_badblock(rdev, sect, s) == 0) {
drivers/md/raid1.c
2420
if (sync_page_io(rdev, sect, s<<9,
drivers/md/raid1.c
2436
rdev_set_badblocks(rdev, sect, s, 0);
drivers/md/raid1.c
2449
r1_sync_page_io(rdev, sect, s,
drivers/md/raid1.c
2463
if (r1_sync_page_io(rdev, sect, s,
drivers/md/raid1.c
2468
(unsigned long long)(sect +
drivers/md/raid1.c
2476
sect += s;
drivers/md/raid1.c
262
sector_t sect = r1_bio->sector;
drivers/md/raid1.c
273
lower_barrier(conf, sect);
drivers/md/raid10.c
2478
sector_t sect = 0;
drivers/md/raid10.c
2495
addr = r10_bio->devs[0].addr + sect;
drivers/md/raid10.c
2503
addr = r10_bio->devs[1].addr + sect;
drivers/md/raid10.c
2527
addr = r10_bio->devs[1].addr + sect;
drivers/md/raid10.c
2542
sect += s;
drivers/md/raid10.c
2615
int sect = 0; /* Offset from r10_bio->sector */
drivers/md/raid10.c
2651
r10_bio->devs[sl].addr + sect,
drivers/md/raid10.c
2656
sect,
drivers/md/raid10.c
2680
+ sect,
drivers/md/raid10.c
2704
sect,
drivers/md/raid10.c
2711
sect +
drivers/md/raid10.c
2736
sect,
drivers/md/raid10.c
2743
sect +
drivers/md/raid10.c
2754
sect +
drivers/md/raid10.c
2764
sect += s;
drivers/md/raid10.c
3204
sector_t sect =
drivers/md/raid10.c
3207
md_bitmap_end_sync(mddev, sect, &sync_blocks);
drivers/md/raid10.c
3278
sector_t sect;
drivers/md/raid10.c
3299
sect = raid10_find_virt(conf, sector_nr, i);
drivers/md/raid10.c
3300
if (sect >= mddev->resync_max_sectors)
drivers/md/raid10.c
3309
must_sync = md_bitmap_start_sync(mddev, sect,
drivers/md/raid10.c
3336
r10_bio->sector = sect;
drivers/md/raid10.c
3352
md_bitmap_start_sync(mddev, sect, &sync_blocks,
drivers/md/raid5-cache.c
1929
r5c_recovery_lookup_stripe(struct list_head *list, sector_t sect)
drivers/md/raid5-cache.c
1934
if (sh->sector == sect)
drivers/md/raid5-cache.c
196
sector_t sect)
drivers/md/raid5-cache.c
198
sector_div(sect, conf->chunk_sectors);
drivers/md/raid5-cache.c
199
return sect;
drivers/md/raid5-cache.c
2927
bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect)
drivers/md/raid5-cache.c
2936
tree_index = r5c_tree_index(conf, sect);
drivers/md/raid5-cache.c
859
static void r5l_append_flush_payload(struct r5l_log *log, sector_t sect)
drivers/md/raid5-cache.c
889
payload->flush_stripes[0] = cpu_to_le64(sect);
drivers/md/raid5-log.h
31
bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
drivers/md/raid5.c
78
static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect)
drivers/md/raid5.c
80
int hash = (sect >> RAID5_STRIPE_SHIFT(conf)) & HASH_MASK;
drivers/md/raid5.c
84
static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect)
drivers/md/raid5.c
86
return (sect >> RAID5_STRIPE_SHIFT(conf)) & STRIPE_HASH_LOCKS_MASK;
drivers/mtd/chips/cfi_cmdset_0002.c
2801
struct ppb_lock *sect;
drivers/mtd/chips/cfi_cmdset_0002.c
2821
sect = kzalloc_objs(struct ppb_lock, max_sectors);
drivers/mtd/chips/cfi_cmdset_0002.c
2822
if (!sect)
drivers/mtd/chips/cfi_cmdset_0002.c
2845
sect[sectors].chip = &cfi->chips[chipnum];
drivers/mtd/chips/cfi_cmdset_0002.c
2846
sect[sectors].adr = adr;
drivers/mtd/chips/cfi_cmdset_0002.c
2847
sect[sectors].locked = do_ppb_xxlock(
drivers/mtd/chips/cfi_cmdset_0002.c
2873
kfree(sect);
drivers/mtd/chips/cfi_cmdset_0002.c
2882
kfree(sect);
drivers/mtd/chips/cfi_cmdset_0002.c
2891
if (sect[i].locked)
drivers/mtd/chips/cfi_cmdset_0002.c
2892
do_ppb_xxlock(map, sect[i].chip, sect[i].adr, 0,
drivers/mtd/chips/cfi_cmdset_0002.c
2896
kfree(sect);
drivers/mtd/ftl.c
942
u_long sect;
drivers/mtd/ftl.c
945
sect = le32_to_cpu(part->header.FormattedSize)/SECTOR_SIZE;
drivers/mtd/ftl.c
949
geo->cylinders = sect >> 3;
drivers/net/ethernet/alacritech/slicoss.c
1120
u32 sect;
drivers/net/ethernet/alacritech/slicoss.c
1173
for (sect = 0; sect < numsects; sect++) {
drivers/net/ethernet/alacritech/slicoss.c
1174
unsigned int ssize = sectsize[sect] >> 3;
drivers/net/ethernet/alacritech/slicoss.c
1176
base = sectstart[sect];
drivers/net/ethernet/alacritech/slicoss.c
1192
for (sect = 0; sect < numsects; sect++) {
drivers/net/ethernet/alacritech/slicoss.c
1193
unsigned int ssize = sectsize[sect] >> 3;
drivers/net/ethernet/alacritech/slicoss.c
1196
base = sectstart[sect];
drivers/net/ethernet/intel/ice/ice_ddp.c
260
state->sect =
drivers/net/ethernet/intel/ice/ice_ddp.c
264
return state->sect;
drivers/net/ethernet/intel/ice/ice_ddp.c
317
entry = state->handler(state->sect_type, state->sect, state->entry_idx,
drivers/net/ethernet/intel/ice/ice_ddp.c
325
entry = state->handler(state->sect_type, state->sect,
drivers/net/ethernet/intel/ice/ice_ddp.h
446
void *sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1893
void *sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1906
sect = ice_pkg_enum_section(hw->seg, &state, sid);
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1908
while (sect) {
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1915
xlt1 = sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1928
xlt2 = sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1941
pid = sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1954
pr = sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1967
es = sect;
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
1997
sect = ice_pkg_enum_section(NULL, &state, sid);
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
84
static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect)
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
86
return ice_sect_lkup[blk][sect];
drivers/net/ethernet/intel/ice/ice_parser.c
114
struct ice_pkg_sect_hdr *hdr = state.sect;
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
15
struct ice_meta_init_section *sect;
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
24
meta_init_size, (void **)§);
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
29
sect->count = cpu_to_le16(1);
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
30
sect->offset = cpu_to_le16(ICE_META_VLAN_MODE_ENTRY);
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
42
arr[i] = le32_to_cpu(sect->entry.bm[i]);
drivers/nvme/target/nvmet.h
851
static inline __le64 nvmet_sect_to_lba(struct nvmet_ns *ns, sector_t sect)
drivers/nvme/target/nvmet.h
853
return cpu_to_le64(sect >> (ns->blksize_shift - SECTOR_SHIFT));
drivers/nvme/target/zns.c
156
sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba);
drivers/nvme/target/zns.c
159
if (sect >= get_capacity(req->ns->bdev->bd_disk)) {
drivers/nvme/target/zns.c
253
unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba);
drivers/nvme/target/zns.c
255
return bdev_nr_zones(req->ns->bdev) - bdev_zone_no(req->ns->bdev, sect);
drivers/nvme/target/zns.c
475
sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba);
drivers/nvme/target/zns.c
494
if (sect >= get_capacity(bdev->bd_disk)) {
drivers/nvme/target/zns.c
500
if (sect & (zone_sectors - 1)) {
drivers/nvme/target/zns.c
506
ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors);
drivers/nvme/target/zns.c
535
sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba);
drivers/nvme/target/zns.c
560
if (sect >= get_capacity(req->ns->bdev->bd_disk)) {
drivers/nvme/target/zns.c
566
if (sect & (bdev_zone_sectors(req->ns->bdev) - 1)) {
drivers/nvme/target/zns.c
581
bio->bi_iter.bi_sector = sect;
fs/hfs/mdb.c
100
int off2, len, size, sect;
fs/hfs/mdb.c
140
sect = be16_to_cpu(mdb->drAlBlSt) + part_start;
fs/hfs/mdb.c
142
while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS))
fs/hfs/mdb.c
189
sect = part_start + part_size - 2;
fs/hfs/mdb.c
190
bh = sb_bread512(sb, sect, mdb2);
include/linux/fd.h
12
compat_uint_t sect;
include/linux/mtd/inftl.h
42
int head,sect,cyl;
include/linux/mtd/nftl.h
33
int head,sect,cyl;
include/uapi/linux/fd.h
16
sect, /* sectors per track */
kernel/module/internal.h
362
static inline bool sect_empty(const Elf_Shdr *sect)
kernel/module/internal.h
364
return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
203
#define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
205
.pushsection sect,"a"; \
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
57
#define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \
tools/testing/selftests/powerpc/primitives/asm/feature-fixups.h
60
.pushsection sect,"a"; \