max_id 26 arch/powerpc/mm/book3s64/mmu_context.c static int alloc_context_id(int min_id, int max_id) max_id 28 arch/powerpc/mm/book3s64/mmu_context.c return ida_alloc_range(&mmu_context_ida, min_id, max_id, GFP_KERNEL); max_id 156 arch/powerpc/mm/book3s64/mmu_context.c int index, max_id; max_id 158 arch/powerpc/mm/book3s64/mmu_context.c max_id = (1 << mmu_pid_bits) - 1; max_id 159 arch/powerpc/mm/book3s64/mmu_context.c index = alloc_context_id(mmu_base_pid, max_id); max_id 175 arch/x86/kvm/lapic.c u32 max_id = 255; /* enough space for any xAPIC ID */ max_id 181 arch/x86/kvm/lapic.c max_id = max(max_id, kvm_x2apic_id(vcpu->arch.apic)); max_id 184 arch/x86/kvm/lapic.c sizeof(struct kvm_lapic *) * ((u64)max_id + 1), max_id 190 arch/x86/kvm/lapic.c new->max_apic_id = max_id; max_id 4544 drivers/ata/libata-scsi.c shost->max_id = 16; max_id 323 drivers/clk/tegra/clk-bpmp.c if (response.max_id > INT_MAX) max_id 326 drivers/clk/tegra/clk-bpmp.c return response.max_id; max_id 402 drivers/clk/tegra/clk-bpmp.c unsigned int max_id, id, count = 0; max_id 410 drivers/clk/tegra/clk-bpmp.c max_id = err; max_id 412 drivers/clk/tegra/clk-bpmp.c dev_dbg(bpmp->dev, "maximum clock ID: %u\n", max_id); max_id 414 drivers/clk/tegra/clk-bpmp.c clocks = kcalloc(max_id + 1, sizeof(*clocks), GFP_KERNEL); max_id 418 drivers/clk/tegra/clk-bpmp.c for (id = 0; id <= max_id; id++) { max_id 623 drivers/infiniband/ulp/iser/iscsi_iser.c shost->max_id = 0; max_id 3790 drivers/infiniband/ulp/srp/ib_srp.c target_host->max_id = 1; max_id 1628 drivers/input/touchscreen/atmel_mxt_ts.c u8 min_id, max_id; max_id 1636 drivers/input/touchscreen/atmel_mxt_ts.c max_id = reportid - 1; max_id 1639 drivers/input/touchscreen/atmel_mxt_ts.c max_id = 0; max_id 1646 drivers/input/touchscreen/atmel_mxt_ts.c min_id, max_id); max_id 1691 drivers/input/touchscreen/atmel_mxt_ts.c data->T100_reportid_max = max_id; max_id 3262 drivers/message/fusion/mptbase.c int max_id; max_id 3309 drivers/message/fusion/mptbase.c max_id = (ioc->bus_type == SAS) ? pfacts->PortSCSIID : max_id 3311 drivers/message/fusion/mptbase.c ioc->devices_per_bus = (max_id > 255) ? 256 : max_id; max_id 3312 drivers/message/fusion/mptbase.c ioc->number_of_buses = (ioc->devices_per_bus < 256) ? 1 : max_id/256; max_id 3321 drivers/message/fusion/mptbase.c ioc->number_of_buses = (max_id > 255) ? 255 : max_id; max_id 1251 drivers/message/fusion/mptfc.c sh->max_id = ioc->pfacts->MaxDevices; max_id 5205 drivers/message/fusion/mptsas.c sh->max_id = -1; max_id 1444 drivers/message/fusion/mptspi.c sh->max_id = ioc->devices_per_bus; max_id 24 drivers/misc/ocxl/pasid.c static int range_alloc(struct list_head *head, u32 size, int max_id, max_id 47 drivers/misc/ocxl/pasid.c if (new->end > max_id) { max_id 428 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c unsigned long *events_bmap, u16 max_id) max_id 441 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c ulp->max_async_event_id = max_id; max_id 442 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c bnxt_hwrm_func_rgtr_async_events(bp, events_bmap, max_id + 1); max_id 207 drivers/s390/char/sclp.h u16 max_id; max_id 520 drivers/s390/char/sclp_cmd.c sclp_max_storage_id = sccb->max_id; max_id 308 drivers/s390/char/sclp_early_core.c int rc, id, max_id = 0; max_id 322 drivers/s390/char/sclp_early_core.c for (id = 0; id <= max_id; id++) { max_id 330 drivers/s390/char/sclp_early_core.c max_id = sccb->max_id; max_id 476 drivers/s390/scsi/zfcp_scsi.c adapter->scsi_host->max_id = 511; max_id 2085 drivers/scsi/3w-9xxx.c host->max_id = TW_MAX_UNITS_9650SE; max_id 2087 drivers/scsi/3w-9xxx.c host->max_id = TW_MAX_UNITS; max_id 1629 drivers/scsi/3w-sas.c host->max_id = TW_MAX_UNITS; max_id 2317 drivers/scsi/3w-xxxx.c host->max_id = TW_MAX_UNITS; max_id 354 drivers/scsi/53c700.c host->max_id = 8; max_id 2294 drivers/scsi/BusLogic.c host->max_id = adapter->maxdev; max_id 6204 drivers/scsi/FlashPoint.c unsigned char i, k, max_id; max_id 6211 drivers/scsi/FlashPoint.c max_id = 0x08; max_id 6214 drivers/scsi/FlashPoint.c max_id = 0x10; max_id 6217 drivers/scsi/FlashPoint.c for (i = 0; i < max_id; i++) { max_id 6233 drivers/scsi/FlashPoint.c for (i = 0; i < max_id; i++) { max_id 6390 drivers/scsi/FlashPoint.c unsigned char i, k, max_id; max_id 6402 drivers/scsi/FlashPoint.c max_id = 0x08; max_id 6405 drivers/scsi/FlashPoint.c max_id = 0x10; max_id 6407 drivers/scsi/FlashPoint.c for (i = 0; i < max_id; i++) { max_id 1154 drivers/scsi/a100u2w.c shost->max_id = host->max_targets; max_id 1361 drivers/scsi/aacraid/linit.c class_to_shost(device)->max_id); max_id 1767 drivers/scsi/aacraid/linit.c shost->max_id = aac->maximum_num_containers; max_id 1768 drivers/scsi/aacraid/linit.c if (shost->max_id < aac->maximum_num_physicals) max_id 1769 drivers/scsi/aacraid/linit.c shost->max_id = aac->maximum_num_physicals; max_id 1770 drivers/scsi/aacraid/linit.c if (shost->max_id < MAXIMUM_NUM_CONTAINERS) max_id 1771 drivers/scsi/aacraid/linit.c shost->max_id = MAXIMUM_NUM_CONTAINERS; max_id 1773 drivers/scsi/aacraid/linit.c shost->this_id = shost->max_id; max_id 3182 drivers/scsi/advansys.c scsi_host_busy(shost), shost->max_id, max_id 11173 drivers/scsi/advansys.c shost->max_id = ASC_MAX_TID + 1; max_id 11184 drivers/scsi/advansys.c shost->max_id = ADV_MAX_TID + 1; max_id 10244 drivers/scsi/aic7xxx/aic79xx_core.c u_int max_id; max_id 10246 drivers/scsi/aic7xxx/aic79xx_core.c max_id = (ahd->features & AHD_WIDE) ? 16 : 8; max_id 10247 drivers/scsi/aic7xxx/aic79xx_core.c if (ccb->ccb_h.target_id >= max_id) max_id 1243 drivers/scsi/aic7xxx/aic79xx_osm.c host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; max_id 7337 drivers/scsi/aic7xxx/aic7xxx_core.c u_int max_id; max_id 7339 drivers/scsi/aic7xxx/aic7xxx_core.c max_id = (ahc->features & AHC_WIDE) ? 16 : 8; max_id 7340 drivers/scsi/aic7xxx/aic7xxx_core.c if (ccb->ccb_h.target_id >= max_id) max_id 1106 drivers/scsi/aic7xxx/aic7xxx_osm.c host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; max_id 739 drivers/scsi/aic94xx/aic94xx_init.c shost->max_id = ~0; max_id 463 drivers/scsi/am53c974.c shost->max_id = 8; max_id 980 drivers/scsi/arcmsr/arcmsr_hba.c host->max_id = ARCMSR_MAX_TARGETID; /*16:8*/ max_id 1299 drivers/scsi/atp870u.c shpnt->max_id = wide_chip ? 16 : 8; max_id 1384 drivers/scsi/atp870u.c shpnt->max_id = 16; max_id 1490 drivers/scsi/atp870u.c shpnt->max_id = 16; max_id 419 drivers/scsi/be2iscsi/be_main.c shost->max_id = BE2_MAX_SESSIONS; max_id 5321 drivers/scsi/be2iscsi/be_main.c phba->shost->max_id = phba->params.cxns_per_ctrl; max_id 5624 drivers/scsi/be2iscsi/be_main.c phba->shost->max_id = phba->params.cxns_per_ctrl; max_id 561 drivers/scsi/bfa/bfad_im.c im_port->shost->max_id = MAX_FCP_TARGET; max_id 739 drivers/scsi/bnx2fc/bnx2fc_fcoe.c shost->max_id = BNX2FC_MAX_FCP_TGT; max_id 796 drivers/scsi/bnx2i/bnx2i_iscsi.c shost->max_id = ISCSI_MAX_CONNS_PER_HBA; max_id 631 drivers/scsi/csiostor/csio_init.c shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, max_id 340 drivers/scsi/cxgbi/libcxgbi.c unsigned int max_id, struct scsi_host_template *sht, max_id 360 drivers/scsi/cxgbi/libcxgbi.c shost->max_id = max_id; max_id 3688 drivers/scsi/cxlflash/main.c host->max_id = CXLFLASH_MAX_NUM_TARGETS_PER_BUS; max_id 992 drivers/scsi/dc395x.c if (cmd->device->id >= acb->scsi_host->max_id || max_id 4322 drivers/scsi/dc395x.c host->max_id = 16; max_id 4323 drivers/scsi/dc395x.c if (host->max_id - 1 == eeprom->scsi_id) max_id 4324 drivers/scsi/dc395x.c host->max_id--; max_id 4529 drivers/scsi/dc395x.c seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); max_id 2331 drivers/scsi/dpt_i2o.c host->max_id = 16; max_id 404 drivers/scsi/esas2r/esas2r_main.c host->max_id = ESAS2R_MAX_ID + 1; max_id 413 drivers/scsi/esas2r/esas2r_main.c host->this_id = host->max_id + 1; max_id 771 drivers/scsi/fcoe/fcoe.c lport->host->max_id = FCOE_MAX_FCP_TARGET; max_id 706 drivers/scsi/fnic/fnic_main.c host->max_id = FNIC_MAX_FCP_TARGET; max_id 4184 drivers/scsi/gdth.c shp->max_id = ha->tid_cnt; max_id 2643 drivers/scsi/hisi_sas/hisi_sas_main.c shost->max_id = HISI_SAS_MAX_DEVICES; max_id 3213 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c shost->max_id = HISI_SAS_MAX_DEVICES; max_id 400 drivers/scsi/hosts.c shost->max_id = 8; max_id 5804 drivers/scsi/hpsa.c sh->max_id = HPSA_MAX_LUN; max_id 1396 drivers/scsi/hptiop.c host->max_id = le32_to_cpu(iop_config.max_devices); max_id 4761 drivers/scsi/ibmvscsi/ibmvfc.c shost->max_id = max_targets; max_id 71 drivers/scsi/ibmvscsi/ibmvscsi.c static int max_id = 64; max_id 96 drivers/scsi/ibmvscsi/ibmvscsi.c module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR); max_id 97 drivers/scsi/ibmvscsi/ibmvscsi.c MODULE_PARM_DESC(max_id, "Largest ID value for each channel [Default=64]"); max_id 2255 drivers/scsi/ibmvscsi/ibmvscsi.c host->max_id = max_id; max_id 2261 drivers/scsi/ibmvscsi/ibmvscsi.c host->max_id, host->max_lun, host->max_channel); max_id 2895 drivers/scsi/initio.c shost->max_id = host->max_tar; max_id 9951 drivers/scsi/ipr.c host->max_id = IPR_MAX_SIS64_TARGETS_PER_BUS; max_id 9960 drivers/scsi/ipr.c host->max_id = IPR_MAX_NUM_TARGETS_PER_BUS; max_id 6682 drivers/scsi/ips.c sh->max_id = ha->ntargets; max_id 575 drivers/scsi/isci/init.c shost->max_id = ~0; max_id 855 drivers/scsi/iscsi_tcp.c shost->max_id = 0; max_id 119 drivers/scsi/jazz_esp.c host->max_id = 8; max_id 4303 drivers/scsi/lpfc/lpfc_init.c shost->max_id = LPFC_MAX_TARGET; max_id 310 drivers/scsi/mac_esp.c host->max_id = 8; max_id 281 drivers/scsi/megaraid.c adapter->host->max_id = 16; /* max targets per channel */ max_id 1858 drivers/scsi/megaraid.c adapter->host->max_id, adapter->host->max_channel, max_id 638 drivers/scsi/megaraid/megaraid_mbox.c host->max_id = adapter->max_target; max_id 6777 drivers/scsi/megaraid/megaraid_sas_base.c host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL; max_id 6106 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->max_id = -1; max_id 431 drivers/scsi/mvsas/mv_init.c shost->max_id = MVS_MAX_DEVICES; max_id 2402 drivers/scsi/mvumi.c host->max_id = mhba->max_target_id; max_id 1099 drivers/scsi/myrb.c shost->max_id = enquiry2->max_targets; max_id 1182 drivers/scsi/myrb.c cb->host->max_id); max_id 629 drivers/scsi/myrs.c shost->max_id = info->max_targets[0]; max_id 633 drivers/scsi/myrs.c if (shost->max_id < info->max_targets[i]) max_id 634 drivers/scsi/myrs.c shost->max_id = info->max_targets[i]; max_id 1788 drivers/scsi/myrs.c ldev_num = sdev->id + chan_offset * sdev->host->max_id; max_id 8390 drivers/scsi/ncr53c8xx.c instance->max_id = np->maxwide ? 16 : 8; max_id 543 drivers/scsi/pm8001/pm8001_init.c shost->max_id = PM8001_MAX_DEVICES; max_id 5730 drivers/scsi/pmcraid.c host->max_id = PMCRAID_MAX_NUM_TARGETS_PER_BUS; max_id 381 drivers/scsi/ps3rom.c host->max_id = 1; max_id 634 drivers/scsi/qedi/qedi_main.c shost->max_id = QEDI_MAX_ISCSI_CONNS_PER_HBA; max_id 4233 drivers/scsi/qla1280.c host->max_id = MAX_TARGETS; max_id 534 drivers/scsi/qla2xxx/qla_mid.c host->max_id = ha->max_fibre_devices; max_id 3122 drivers/scsi/qla2xxx/qla_os.c host->max_id = ha->max_fibre_devices; max_id 3142 drivers/scsi/qla2xxx/qla_os.c "max_lun=%llu transportt=%p, vendor_id=%llu.\n", host->max_id, max_id 8698 drivers/scsi/qla4xxx/ql4_os.c host->max_id = MAX_TARGETS; max_id 1324 drivers/scsi/qlogicpti.c host->max_id = MAX_TARGETS; max_id 754 drivers/scsi/scsi_debug.c hpnt->max_id = sdebug_num_tgts + 1; max_id 756 drivers/scsi/scsi_debug.c hpnt->max_id = sdebug_num_tgts; max_id 5808 drivers/scsi/scsi_debug.c hpnt->max_id = sdebug_num_tgts + 1; max_id 5810 drivers/scsi/scsi_debug.c hpnt->max_id = sdebug_num_tgts; max_id 1633 drivers/scsi/scsi_scan.c for (id = 0; id < shost->max_id; ++id) { max_id 1647 drivers/scsi/scsi_scan.c order_id = shost->max_id - id - 1; max_id 1667 drivers/scsi/scsi_scan.c ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || max_id 2125 drivers/scsi/scsi_transport_fc.c ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || max_id 2139 drivers/scsi/scsi_transport_fc.c tgthi = shost->max_id; max_id 593 drivers/scsi/scsi_transport_spi.c return sprintf(buf, "%s\n", shost->max_id == 16 ? "wide" : "narrow"); max_id 6513 drivers/scsi/smartpqi/smartpqi_init.c shost->max_id = ~0; max_id 95 drivers/scsi/snic/snic_disc.c ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); max_id 97 drivers/scsi/snic/snic_disc.c ntgts = snic->shost->max_id; max_id 517 drivers/scsi/snic/snic_main.c shost->max_id = SNIC_MAX_TARGET; max_id 353 drivers/scsi/stex.c unsigned int max_id; max_id 640 drivers/scsi/stex.c if (hba->cardtype == st_shasta || id == host->max_id - 1) { max_id 646 drivers/scsi/stex.c if (id == host->max_id - 1) { max_id 658 drivers/scsi/stex.c if (id != host->max_id - 1) max_id 679 drivers/scsi/stex.c ver.console_id = host->max_id - 1; max_id 1539 drivers/scsi/stex.c .max_id = 17, max_id 1552 drivers/scsi/stex.c .max_id = 129, max_id 1565 drivers/scsi/stex.c .max_id = 2, max_id 1578 drivers/scsi/stex.c .max_id = 129, max_id 1591 drivers/scsi/stex.c .max_id = 129, max_id 1604 drivers/scsi/stex.c .max_id = 129, max_id 1786 drivers/scsi/stex.c host->max_id = ci->max_id; max_id 1810 drivers/scsi/storvsc_drv.c host->max_id = STORVSC_FC_MAX_TARGETS; max_id 1819 drivers/scsi/storvsc_drv.c host->max_id = max_targets; max_id 1825 drivers/scsi/storvsc_drv.c host->max_id = STORVSC_IDE_MAX_TARGETS; max_id 182 drivers/scsi/sun3x_esp.c host->max_id = 8; max_id 465 drivers/scsi/sun_esp.c host->max_id = (hme ? 16 : 8); max_id 1351 drivers/scsi/sym53c8xx_2/sym_glue.c shost->max_id = np->maxwide ? 16 : 8; max_id 8321 drivers/scsi/ufs/ufshcd.c host->max_id = UFSHCD_MAX_ID; max_id 878 drivers/scsi/virtio_scsi.c shost->max_id = num_targets; max_id 1342 drivers/scsi/vmw_pvscsi.c u32 max_id; max_id 1404 drivers/scsi/vmw_pvscsi.c max_id = pvscsi_get_max_targets(adapter); max_id 1405 drivers/scsi/vmw_pvscsi.c printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); max_id 1412 drivers/scsi/vmw_pvscsi.c pvscsi_ring_pages = (max_id > 16) ? max_id 1447 drivers/scsi/vmw_pvscsi.c host->max_id = max_id; max_id 852 drivers/scsi/xen-scsifront.c host->max_id = VSCSIIF_MAX_TARGET; max_id 113 drivers/soc/tegra/powergate-bpmp.c return response.get_max_id.max_id; max_id 217 drivers/soc/tegra/powergate-bpmp.c unsigned int max_id, id, count = 0; max_id 225 drivers/soc/tegra/powergate-bpmp.c max_id = err; max_id 227 drivers/soc/tegra/powergate-bpmp.c dev_dbg(bpmp->dev, "maximum powergate ID: %u\n", max_id); max_id 229 drivers/soc/tegra/powergate-bpmp.c powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); max_id 233 drivers/soc/tegra/powergate-bpmp.c for (id = 0; id <= max_id; id++) { max_id 913 drivers/staging/rts5208/rtsx.c host->max_id = 1; max_id 179 drivers/staging/unisys/include/iochannel.h u32 max_id; max_id 1066 drivers/staging/unisys/visorhba/visorhba_main.c scsihost->max_id = (unsigned int)max.max_id; max_id 341 drivers/target/loopback/tcm_loop.c sh->max_id = 2; max_id 712 drivers/tee/tee_core.c int rc, max_id; max_id 726 drivers/tee/tee_core.c max_id = TEE_NUM_DEVICES / 2; max_id 730 drivers/tee/tee_core.c max_id = TEE_NUM_DEVICES; max_id 734 drivers/tee/tee_core.c teedev->id = find_next_zero_bit(dev_mask, max_id, offs); max_id 735 drivers/tee/tee_core.c if (teedev->id < max_id) max_id 739 drivers/tee/tee_core.c if (teedev->id >= max_id) { max_id 62 drivers/thermal/intel/x86_pkg_temp_thermal.c static int max_id __read_mostly; max_id 100 drivers/thermal/intel/x86_pkg_temp_thermal.c if (id >= 0 && id < max_id) max_id 336 drivers/thermal/intel/x86_pkg_temp_thermal.c if (id >= max_id) max_id 493 drivers/thermal/intel/x86_pkg_temp_thermal.c max_id = topology_max_packages() * topology_max_die_per_package(); max_id 494 drivers/thermal/intel/x86_pkg_temp_thermal.c zones = kcalloc(max_id, sizeof(struct zone_device *), max_id 491 drivers/usb/storage/scsiglue.c for (i = 1; i < host->max_id; ++i) max_id 998 drivers/usb/storage/uas.c shost->max_id = 1; max_id 1020 drivers/usb/storage/usb.c us_to_host(us)->max_id = 1; max_id 361 drivers/xen/pcpu.c int cpu_id = 0, max_id = 0; max_id 365 drivers/xen/pcpu.c while (cpu_id <= max_id) { max_id 374 drivers/xen/pcpu.c if (op.u.pcpu_info.max_present > max_id) max_id 375 drivers/xen/pcpu.c max_id = op.u.pcpu_info.max_present; max_id 3162 fs/btrfs/ioctl.c if (device->devid > fi_args->max_id) max_id 3163 fs/btrfs/ioctl.c fi_args->max_id = device->devid; max_id 633 fs/fs-writeback.c int max_id; max_id 644 fs/fs-writeback.c max_id = wbc->wb_id; max_id 647 fs/fs-writeback.c max_id = wbc->wb_lcand_id; max_id 650 fs/fs-writeback.c max_id = wbc->wb_tcand_id; max_id 683 fs/fs-writeback.c if (wbc->wb_id != max_id) max_id 697 fs/fs-writeback.c inode_switch_wbs(inode, max_id); max_id 704 fs/fs-writeback.c inode->i_wb_frn_winner = max_id; max_id 575 include/scsi/scsi_host.h unsigned int max_id; max_id 722 include/soc/tegra/bpmp-abi.h uint32_t max_id; max_id 978 include/soc/tegra/bpmp-abi.h uint32_t max_id; max_id 1327 include/soc/tegra/bpmp-abi.h uint32_t max_id; max_id 228 include/uapi/linux/btrfs.h __u64 max_id; /* out */ max_id 1507 tools/perf/builtin-trace.c trace->syscalls.table = calloc(trace->sctbl->syscalls.max_id + 1, sizeof(*sc)); max_id 1821 tools/perf/builtin-trace.c if (id > trace->sctbl->syscalls.max_id) max_id 1840 tools/perf/builtin-trace.c if (id <= trace->sctbl->syscalls.max_id && trace->syscalls.table[id].name != NULL) max_id 82 tools/perf/util/syscalltbl.c tbl->syscalls.max_id = syscalltbl_native_max_id; max_id 9 tools/perf/util/syscalltbl.h int max_id;