| /linux/arch/powerpc/kernel/ |
| H A D | module.c | 36 const Elf_Shdr *sect; in module_finalize() local 44 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 45 if (sect != NULL) in module_finalize() 47 (void *)sect->sh_addr, in module_finalize() 48 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 50 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 51 if (sect != NULL) in module_finalize() 53 (void *)sect->sh_addr, in module_finalize() 54 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 57 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() [all …]
|
| H A D | rtas.c | 1722 struct pseries_errorlog *sect; in get_pseries_errorlog() local 1738 sect = (struct pseries_errorlog *)p; in get_pseries_errorlog() 1739 if (pseries_errorlog_id(sect) == section_id) in get_pseries_errorlog() 1740 return sect; in get_pseries_errorlog() 1741 p += pseries_errorlog_length(sect); in get_pseries_errorlog()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_mstate_mgr.c | 120 static void adf_mstate_dump_sect(struct adf_mstate_sect_h *sect, in adf_mstate_dump_sect() argument 123 pr_debug("QAT: LM - %s QAT state section %s\n", prefix, sect->id); in adf_mstate_dump_sect() 124 print_hex_dump_debug("h-", DUMP_PREFIX_OFFSET, 16, 2, sect, in adf_mstate_dump_sect() 125 sizeof(*sect), true); in adf_mstate_dump_sect() 126 print_hex_dump_debug("s-", DUMP_PREFIX_OFFSET, 16, 2, sect->state, in adf_mstate_dump_sect() 127 sect->size, true); in adf_mstate_dump_sect() 131 struct adf_mstate_sect_h *sect, in __adf_mstate_sect_update() argument 135 sect->size += size; in __adf_mstate_sect_update() 136 sect->sub_sects += n_subsects; in __adf_mstate_sect_update() 138 mgr->state += sect->size; in __adf_mstate_sect_update() [all …]
|
| H A D | adf_mstate_mgr.h | 77 struct adf_mstate_sect_h *sect);
|
| /linux/scripts/ |
| H A D | generate_builtin_ranges.awk | 62 function update_entry(osect, mod, soff, eoff, sect, idx) { 63 sect = sect_in[osect]; 65 entries[idx] = sprintf("%s %08x-%08x %s", sect, soff, eoff, mod); 66 count[sect]++; 159 ARGIND == 2 && map_is_lld && sect && !anchor && NF == 5 && $5 ~ /^[_A-Za-z][_A-Za-z0-9]*$/ { 198 sect = 0; 228 sect = $1; 230 sect_base[sect] = base; 231 sect_size[sect] = strtonum($3); 234 printf "[%s] BASE %016x\n", sect, bas [all...] |
| H A D | verify_builtin_ranges.awk | 223 sect = 0; 237 sect = $1; 244 !sect { 266 idx = sect":"$1; 311 idx = sect":"msect;
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | io_event_irq.c | 73 struct pseries_errorlog *sect; in ioei_find_event() local 87 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event() 88 if (unlikely(!sect)) { in ioei_find_event() 94 return (struct pseries_io_event *) §->data; in ioei_find_event()
|
| /linux/drivers/nvme/target/ |
| H A D | zns.c | 152 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv() local 155 if (sect >= get_capacity(req->ns->bdev->bd_disk)) { in nvmet_bdev_validate_zone_mgmt_recv() 249 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_req_nr_zones_from_slba() local 251 return bdev_nr_zones(req->ns->bdev) - bdev_zone_no(req->ns->bdev, sect); in nvmet_req_nr_zones_from_slba() 471 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work() local 490 if (sect >= get_capacity(bdev->bd_disk)) { in nvmet_bdev_zmgmt_send_work() 496 if (sect & (zone_sectors - 1)) { in nvmet_bdev_zmgmt_send_work() 502 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors); in nvmet_bdev_zmgmt_send_work() 531 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/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vlan_mode.c | 15 struct ice_meta_init_section *sect; in ice_pkg_get_supported_vlan_mode() local 24 meta_init_size, (void **)§); in ice_pkg_get_supported_vlan_mode() 29 sect->count = cpu_to_le16(1); in ice_pkg_get_supported_vlan_mode() 30 sect->offset = cpu_to_le16(ICE_META_VLAN_MODE_ENTRY); in ice_pkg_get_supported_vlan_mode() 42 arr[i] = le32_to_cpu(sect->entry.bm[i]); in ice_pkg_get_supported_vlan_mode()
|
| /linux/tools/testing/selftests/powerpc/primitives/asm/ |
| H A D | feature-fixups.h | 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 60 .pushsection sect,"a"; \ 203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 205 .pushsection sect,"a"; \
|
| /linux/arch/powerpc/include/asm/ |
| H A D | feature-fixups.h | 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument 60 .pushsection sect,"a"; \ 203 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ argument 205 .pushsection sect,"a"; \
|
| H A D | rtas.h | 392 inline uint16_t pseries_errorlog_id(struct pseries_errorlog *sect) in pseries_errorlog_id() argument 394 return be16_to_cpu(sect->id); in pseries_errorlog_id() 398 inline uint16_t pseries_errorlog_length(struct pseries_errorlog *sect) in pseries_errorlog_length() argument 400 return be16_to_cpu(sect->length); in pseries_errorlog_length()
|
| /linux/drivers/block/ |
| H A D | floppy.c | 2079 if (floppy_type[drive_params[drive].autodetect[probed_format]].sect) { in next_valid_format() 2145 unsigned char track, head, sect, size; in setup_format_params() member 2158 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params() 2187 here[count].sect = 0; in setup_format_params() 2192 here[n].sect = count; in setup_format_params() 2194 if (here[n].sect) { /* sector busy, find next free sector */ in setup_format_params() 2198 while (here[n].sect) in setup_format_params() 2205 here[count].sect += FD_SECTBASE(_floppy) - 1; in setup_format_params() 2236 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format() 2295 if (block > _floppy->sect) in request_done() [all …]
|
| H A D | ataflop.c | 747 int sect, nsect; in do_format() local 790 for( sect = 0; sect < nsect; ++sect ) { in do_format() 796 *p++ = (nsect + sect - desc->sect_offset) % nsect + 1; in do_format() 1620 getprm.sect = dtp->spt; in fd_locked_ioctl() 1655 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl() 1682 && dtp->spt == setprm.sect in fd_locked_ioctl() 1715 dtp->spt = setprm.sect; in fd_locked_ioctl() 1716 if (setprm.sect > 14) in fd_locked_ioctl()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 59 struct sect { struct 102 static void combine(struct sect *base, struct sect *new, int pad) in combine() 274 struct sect text, data, bss; in main() 362 struct sect ndata, nbss; in main() 372 struct sect ntxt; in main()
|
| /linux/include/linux/ |
| H A D | fd.h | 12 compat_uint_t sect; member
|
| /linux/drivers/net/ethernet/alacritech/ |
| H A D | slicoss.c | 1120 u32 sect; in slic_load_firmware() local 1173 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1174 unsigned int ssize = sectsize[sect] >> 3; in slic_load_firmware() 1176 base = sectstart[sect]; in slic_load_firmware() 1192 for (sect = 0; sect < numsects; sect++) { in slic_load_firmware() 1193 unsigned int ssize = sectsize[sect] >> 3; in slic_load_firmware() 1196 base = sectstart[sect]; in slic_load_firmware()
|
| /linux/drivers/md/ |
| H A D | raid1.c | 285 sector_t sect = r1_bio->sector; in put_buf() local 296 lower_barrier(conf, sect); in put_buf() 2149 sector_t sect = r1_bio->sector; in fix_sync_read_error() local 2181 if (sync_page_io(rdev, sect, s<<9, in fix_sync_read_error() 2207 if (!rdev_set_badblocks(rdev, sect, s, 0)) in fix_sync_read_error() 2215 sect += s; in fix_sync_read_error() 2229 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2244 if (r1_sync_page_io(rdev, sect, s, in fix_sync_read_error() 2250 sect += s; in fix_sync_read_error() 2408 sector_t sect = r1_bio->sector; in fix_read_error() local [all …]
|
| H A D | raid10.c | 2478 sector_t sect = 0; in fix_recovery_read_error() local 2495 addr = r10_bio->devs[0].addr + sect; in fix_recovery_read_error() 2503 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2527 addr = r10_bio->devs[1].addr + sect; in fix_recovery_read_error() 2542 sect += s; in fix_recovery_read_error() 2615 int sect = 0; /* Offset from r10_bio->sector */ in fix_read_error() local 2651 r10_bio->devs[sl].addr + sect, in fix_read_error() 2656 sect, in fix_read_error() 2680 + sect, in fix_read_error() 2704 sect, in fix_read_error() [all …]
|
| /linux/include/linux/mtd/ |
| H A D | nftl.h | 33 int head,sect,cyl; member
|
| H A D | inftl.h | 42 int head,sect,cyl; member
|
| /linux/drivers/gpu/drm/kmb/ |
| H A D | kmb_dsi.c | 711 u8 frame_id, sect; in mipi_tx_init_cntrl() local 735 for (sect = 0; sect < MIPI_CTRL_VIRTUAL_CHANNELS; sect++) { in mipi_tx_init_cntrl() 736 if (!frame->sections[sect]) in mipi_tx_init_cntrl() 739 ret = mipi_tx_fg_section_cfg(kmb_dsi, frame_id, sect, in mipi_tx_init_cntrl() 740 frame->sections[sect], in mipi_tx_init_cntrl()
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0002.c | 2801 struct ppb_lock *sect; in cfi_ppb_unlock() local 2821 sect = kzalloc_objs(struct ppb_lock, max_sectors); in cfi_ppb_unlock() 2822 if (!sect) in cfi_ppb_unlock() 2845 sect[sectors].chip = &cfi->chips[chipnum]; in cfi_ppb_unlock() 2846 sect[sectors].adr = adr; in cfi_ppb_unlock() 2847 sect[sectors].locked = do_ppb_xxlock( in cfi_ppb_unlock() 2873 kfree(sect); in cfi_ppb_unlock() 2882 kfree(sect); in cfi_ppb_unlock() 2891 if (sect[i].locked) in cfi_ppb_unlock() 2892 do_ppb_xxlock(map, sect[i].chip, sect[i].adr, 0, in cfi_ppb_unlock() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | fd.h | 16 sect, /* sectors per track */ member
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v6_0.c | 2072 const struct cs_section_def *sect = NULL; in gfx_v6_0_cp_gfx_start() local 2107 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { in gfx_v6_0_cp_gfx_start() 2108 for (ext = sect->section; ext->extent != NULL; ++ext) { in gfx_v6_0_cp_gfx_start() 2109 if (sect->id == SECT_CONTEXT) { in gfx_v6_0_cp_gfx_start() 2895 const struct cs_section_def *sect = NULL; in gfx_v6_0_get_csb_size() local 2906 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { in gfx_v6_0_get_csb_size() 2907 for (ext = sect->section; ext->extent != NULL; ++ext) { in gfx_v6_0_get_csb_size() 2908 if (sect->id == SECT_CONTEXT) in gfx_v6_0_get_csb_size()
|