Home
last modified time | relevance | path

Searched refs:sect (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.1.9/arch/powerpc/kernel/
Dmodule.c39 const Elf_Shdr *sect; in module_finalize() local
47 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize()
48 if (sect != NULL) in module_finalize()
50 (void *)sect->sh_addr, in module_finalize()
51 (void *)sect->sh_addr + sect->sh_size); in module_finalize()
53 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize()
54 if (sect != NULL) in module_finalize()
56 (void *)sect->sh_addr, in module_finalize()
57 (void *)sect->sh_addr + sect->sh_size); in module_finalize()
60 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize()
[all …]
/linux-6.1.9/block/partitions/
Dacorn.c74 Sector sect; in riscix_partition() local
77 rr = read_part_sector(state, first_sect, &sect); in riscix_partition()
108 put_dev_sector(sect); in riscix_partition()
129 Sector sect; in linux_partition() local
137 linuxp = read_part_sector(state, first_sect, &sect); in linux_partition()
153 put_dev_sector(sect); in linux_partition()
163 Sector sect; in adfspart_check_CUMANA() local
186 data = read_part_sector(state, start_blk * 2 + 6, &sect); in adfspart_check_CUMANA()
228 put_dev_sector(sect); in adfspart_check_CUMANA()
232 put_dev_sector(sect); in adfspart_check_CUMANA()
[all …]
Dmsdos.c75 Sector sect; in aix_magic_present() local
99 d = read_part_sector(state, 7, &sect); in aix_magic_present()
103 put_dev_sector(sect); in aix_magic_present()
135 Sector sect; in parse_extended() local
152 data = read_part_sector(state, this_sector, &sect); in parse_extended()
217 put_dev_sector(sect); in parse_extended()
220 put_dev_sector(sect); in parse_extended()
254 Sector sect; in parse_solaris_x86() local
259 v = read_part_sector(state, offset + 1, &sect); in parse_solaris_x86()
263 put_dev_sector(sect); in parse_solaris_x86()
[all …]
Dmac.c33 Sector sect; in mac_partition() local
45 md = read_part_sector(state, 0, &sect); in mac_partition()
49 put_dev_sector(sect); in mac_partition()
53 put_dev_sector(sect); in mac_partition()
55 data = read_part_sector(state, datasize / 512, &sect); in mac_partition()
63 put_dev_sector(sect); in mac_partition()
68 put_dev_sector(sect); in mac_partition()
78 put_dev_sector(sect); in mac_partition()
79 data = read_part_sector(state, pos/512, &sect); in mac_partition()
140 put_dev_sector(sect); in mac_partition()
Dsysv68.c53 Sector sect; in sysv68_partition() local
59 data = read_part_sector(state, 0, &sect); in sysv68_partition()
65 put_dev_sector(sect); in sysv68_partition()
70 put_dev_sector(sect); in sysv68_partition()
72 data = read_part_sector(state, i, &sect); in sysv68_partition()
93 put_dev_sector(sect); in sysv68_partition()
Dosf.c21 Sector sect; in osf_partition() local
56 data = read_part_sector(state, 0, &sect); in osf_partition()
63 put_dev_sector(sect); in osf_partition()
67 put_dev_sector(sect); in osf_partition()
72 put_dev_sector(sect); in osf_partition()
85 put_dev_sector(sect); in osf_partition()
Daix.c89 Sector sect; in read_lba() local
90 unsigned char *data = read_part_sector(state, lba++, &sect); in read_lba()
96 put_dev_sector(sect); in read_lba()
157 Sector sect; in aix_partition() local
172 d = read_part_sector(state, 7, &sect); in aix_partition()
194 put_dev_sector(sect); in aix_partition()
196 if (vgda_sector && (d = read_part_sector(state, vgda_sector, &sect))) { in aix_partition()
200 put_dev_sector(sect); in aix_partition()
205 if (numlvs && (d = read_part_sector(state, vgda_sector + 1, &sect))) { in aix_partition()
221 put_dev_sector(sect); in aix_partition()
Dsgi.c43 Sector sect; in sgi_partition() local
47 label = read_part_sector(state, 0, &sect); in sgi_partition()
55 put_dev_sector(sect); in sgi_partition()
66 put_dev_sector(sect); in sgi_partition()
85 put_dev_sector(sect); in sgi_partition()
Dultrix.c15 Sector sect; in ultrix_partition() local
29 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect); in ultrix_partition()
41 put_dev_sector(sect); in ultrix_partition()
45 put_dev_sector(sect); in ultrix_partition()
Damiga.c30 Sector sect; in amiga_partition() local
38 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition()
41 data = read_part_sector(state, blk, &sect); in amiga_partition()
80 put_dev_sector(sect); in amiga_partition()
81 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition()
83 data = read_part_sector(state, blk, &sect); in amiga_partition()
Dkarma.c19 Sector sect; in karma_partition() local
35 data = read_part_sector(state, 0, &sect); in karma_partition()
41 put_dev_sector(sect); in karma_partition()
57 put_dev_sector(sect); in karma_partition()
Dsun.c27 Sector sect; in sun_partition() local
71 label = read_part_sector(state, 0, &sect); in sun_partition()
79 put_dev_sector(sect); in sun_partition()
89 put_dev_sector(sect); in sun_partition()
127 put_dev_sector(sect); in sun_partition()
Datari.c36 Sector sect; in atari_partition() local
53 rs = read_part_sector(state, 0, &sect); in atari_partition()
68 put_dev_sector(sect); in atari_partition()
98 put_dev_sector(sect); in atari_partition()
151 put_dev_sector(sect); in atari_partition()
Dibm.c73 Sector sect; in find_label() local
102 data = read_part_sector(state, testsect[i], &sect); in find_label()
109 put_dev_sector(sect); in find_label()
142 Sector sect; in find_vol1_partitions() local
157 data = read_part_sector(state, blk * secperblk, &sect); in find_vol1_partitions()
160 put_dev_sector(sect); in find_vol1_partitions()
167 data = read_part_sector(state, blk * secperblk, &sect); in find_vol1_partitions()
185 data = read_part_sector(state, blk * secperblk, &sect); in find_vol1_partitions()
Dldm.c270 Sector sect; in ldm_validate_privheads() local
291 &sect); in ldm_validate_privheads()
297 put_dev_sector (sect); in ldm_validate_privheads()
359 Sector sect; in ldm_validate_tocblocks() local
381 data = read_part_sector(state, base + off[i], &sect); in ldm_validate_tocblocks()
388 put_dev_sector(sect); in ldm_validate_tocblocks()
430 Sector sect; in ldm_validate_vmdb() local
441 data = read_part_sector(state, base + OFF_VMDB, &sect); in ldm_validate_vmdb()
471 put_dev_sector (sect); in ldm_validate_vmdb()
494 Sector sect; in ldm_validate_partition_table() local
[all …]
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dio_event_irq.c73 struct pseries_errorlog *sect; in ioei_find_event() local
87 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event()
88 if (unlikely(!sect)) { in ioei_find_event()
94 return (struct pseries_io_event *) &sect->data; in ioei_find_event()
/linux-6.1.9/drivers/nvme/target/
Dzns.c158 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv() local
161 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_validate_zone_mgmt_recv()
255 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_req_nr_zones_from_slba() local
258 (sect >> ilog2(bdev_zone_sectors(req->ns->bdev))); in nvmet_req_nr_zones_from_slba()
479 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work() local
498 if (sect >= get_capacity(bdev->bd_disk)) { in nvmet_bdev_zmgmt_send_work()
504 if (sect & (zone_sectors - 1)) { in nvmet_bdev_zmgmt_send_work()
510 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors, GFP_KERNEL); in nvmet_bdev_zmgmt_send_work()
539 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_zone_append() local
556 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_execute_zone_append()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_vlan_mode.c15 struct ice_meta_init_section *sect; in ice_pkg_get_supported_vlan_mode() local
24 meta_init_size, (void **)&sect); in ice_pkg_get_supported_vlan_mode()
29 sect->count = cpu_to_le16(1); in ice_pkg_get_supported_vlan_mode()
30 sect->offset = cpu_to_le16(ICE_META_VLAN_MODE_ENTRY); in ice_pkg_get_supported_vlan_mode()
42 arr[i] = le32_to_cpu(sect->entry.bm[i]); in ice_pkg_get_supported_vlan_mode()
/linux-6.1.9/arch/powerpc/include/asm/
Drtas.h204 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) in pseries_errorlog_id() argument
206 return be16_to_cpu(sect->id); in pseries_errorlog_id()
210 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) in pseries_errorlog_length() argument
212 return be16_to_cpu(sect->length); in pseries_errorlog_length()
Dfeature-fixups.h57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
60 .pushsection sect,"a"; \
203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument
205 .pushsection sect,"a"; \
/linux-6.1.9/tools/testing/selftests/powerpc/primitives/asm/
Dfeature-fixups.h57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
60 .pushsection sect,"a"; \
203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument
205 .pushsection sect,"a"; \
/linux-6.1.9/fs/hfs/
Dmdb.c79 int off2, len, size, sect; in hfs_mdb_get() local
118 sect = be16_to_cpu(mdb->drAlBlSt) + part_start; in hfs_mdb_get()
120 while (sect & ((size - 1) >> HFS_SECTOR_SIZE_BITS)) in hfs_mdb_get()
160 sect = part_start + part_size - 2; in hfs_mdb_get()
161 bh = sb_bread512(sb, sect, mdb2); in hfs_mdb_get()
/linux-6.1.9/drivers/block/
Dfloppy.c2080 if (floppy_type[drive_params[drive].autodetect[probed_format]].sect) { in next_valid_format()
2146 unsigned char track, head, sect, size; in setup_format_params() member
2159 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params()
2188 here[count].sect = 0; in setup_format_params()
2193 here[n].sect = count; in setup_format_params()
2195 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params()
2199 while (here[n].sect) in setup_format_params()
2206 here[count].sect += FD_SECTBASE(_floppy) - 1; in setup_format_params()
2237 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format()
2296 if (block > _floppy->sect) in request_done()
[all …]
/linux-6.1.9/kernel/module/
Dinternal.h251 static inline bool sect_empty(const Elf_Shdr *sect) in sect_empty() argument
253 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
/linux-6.1.9/arch/mips/boot/
Delf2ecoff.c59 struct sect { struct
102 static void combine(struct sect *base, struct sect *new, int pad) in combine()
274 struct sect text, data, bss; in main()
362 struct sect ndata, nbss; in main()
372 struct sect ntxt; in main()

123