Home
last modified time | relevance | path

Searched refs:max_id (Results 1 – 102 of 102) sorted by relevance

/linux-4.4.14/arch/powerpc/mm/
Dicswx_pid.c29 static int new_cop_pid(struct ida *ida, int min_id, int max_id, in new_cop_pid() argument
48 if (index > max_id) { in new_cop_pid()
/linux-4.4.14/drivers/xen/
Dpcpu.c361 int cpu_id = 0, max_id = 0; in xen_pcpu_id() local
365 while (cpu_id <= max_id) { in xen_pcpu_id()
374 if (op.u.pcpu_info.max_present > max_id) in xen_pcpu_id()
375 max_id = op.u.pcpu_info.max_present; in xen_pcpu_id()
/linux-4.4.14/drivers/scsi/
Dstex.c337 unsigned int max_id; member
589 if (hba->cardtype == st_shasta || id == host->max_id - 1) { in stex_queuecommand_lck()
595 if (id == host->max_id - 1) { in stex_queuecommand_lck()
607 if (id != host->max_id - 1) in stex_queuecommand_lck()
628 ver.console_id = host->max_id - 1; in stex_queuecommand_lck()
1401 .max_id = 17,
1414 .max_id = 129,
1427 .max_id = 2,
1440 .max_id = 129,
1453 .max_id = 129,
[all …]
Deata.c667 max_id : 5; member
687 unchar max_id : 5, /* Max SCSI target ID number */ member
1322 if (info.max_id > 7 && info.max_id < MAX_TARGET) in port_detect()
1323 shost->max_id = info.max_id + 1; in port_detect()
1389 if (shost->max_id > 8 || shost->max_lun > 8) in port_detect()
1392 ha->board_name, shost->max_id, shost->max_lun); in port_detect()
1407 info.forcaddr, info.max_id, info.max_chan, info.large_sg, in port_detect()
1929 for (k = 0; k < shost->max_id; k++) { in eata2x_eh_host_reset()
2467 for (k = 0; k < shost->max_id; k++) in ihdlr()
Dvmw_pvscsi.c1334 u32 max_id; in pvscsi_probe() local
1398 max_id = pvscsi_get_max_targets(adapter); in pvscsi_probe()
1399 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); in pvscsi_probe()
1406 pvscsi_ring_pages = (max_id > 16) ? in pvscsi_probe()
1441 host->max_id = max_id; in pvscsi_probe()
Djazz_esp.c146 host->max_id = 8; in esp_jazz_probe()
Du14-34f.c957 sh[j]->max_id = MAX_TARGET; in port_detect()
1008 if (sh[j]->max_id > 8 || sh[j]->max_lun > 8) in port_detect()
1010 BN(j), sh[j]->max_id, sh[j]->max_lun); in port_detect()
1424 for (k = 0; k < sh[j]->max_id; k++) { in u14_34f_eh_host_reset()
1863 for (k = 0; k < sh[j]->max_id; k++) in ihdlr()
Dsun3x_esp.c209 host->max_id = 8; in esp_sun3x_probe()
Dstorvsc_drv.c1613 host->max_id = STORVSC_FC_MAX_TARGETS; in storvsc_probe()
1619 host->max_id = max_targets; in storvsc_probe()
1625 host->max_id = STORVSC_IDE_MAX_TARGETS; in storvsc_probe()
Dscsi_scan.c1628 for (id = 0; id < shost->max_id; ++id) { in scsi_scan_channel()
1642 order_id = shost->max_id - id - 1; in scsi_scan_channel()
1661 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in scsi_scan_host_selected()
Dps3rom.c394 host->max_id = 1; in ps3rom_probe()
Dmac_esp.c504 host->max_id = 8; in esp_mac_probe()
Dhosts.c418 shost->max_id = 8; in scsi_host_alloc()
Dam53c974.c492 shost->max_id = 8; in pci_esp_probe_one()
DFlashPoint.c6204 unsigned char i, k, max_id; in FPT_inisci() local
6211 max_id = 0x08; in FPT_inisci()
6214 max_id = 0x10; in FPT_inisci()
6217 for (i = 0; i < max_id; i++) { in FPT_inisci()
6233 for (i = 0; i < max_id; i++) { in FPT_inisci()
6390 unsigned char i, k, max_id; in FPT_scsavdi() local
6402 max_id = 0x08; in FPT_scsavdi()
6405 max_id = 0x10; in FPT_scsavdi()
6407 for (i = 0; i < max_id; i++) { in FPT_scsavdi()
Dsun_esp.c503 host->max_id = (hme ? 16 : 8); in esp_sbus_probe_one()
Datp870u.c2737 shpnt->max_id = 16; in atp870u_probe()
2908 shpnt->max_id = 16; in atp870u_probe()
2994 shpnt->max_id = 16; in atp870u_probe()
2996 shpnt->max_id = 8; in atp870u_probe()
Ddc395x.c1096 if (cmd->device->id >= acb->scsi_host->max_id || in dc395x_queue_command_lck()
4431 host->max_id = 16; in adapter_init_scsi_host()
4432 if (host->max_id - 1 == eeprom->scsi_id) in adapter_init_scsi_host()
4433 host->max_id--; in adapter_init_scsi_host()
4638 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); in dc395x_show_info()
Discsi_tcp.c839 shost->max_id = 0; in iscsi_sw_tcp_session_create()
Deata_pio.c772 sh->max_id = 8; in register_pio_HBA()
Da100u2w.c1153 shost->max_id = host->max_targets; in inia100_probe_one()
Dxen-scsifront.c863 host->max_id = VSCSIIF_MAX_TARGET; in scsifront_probe()
D3w-9xxx.c2078 host->max_id = TW_MAX_UNITS_9650SE; in twa_probe()
2080 host->max_id = TW_MAX_UNITS; in twa_probe()
Dvirtio_scsi.c1005 shost->max_id = num_targets; in virtscsi_probe()
Dscsi_debug.c700 hpnt->max_id = scsi_debug_num_tgts + 1; in sdebug_max_tgts_luns()
702 hpnt->max_id = scsi_debug_num_tgts; in sdebug_max_tgts_luns()
5340 hpnt->max_id = scsi_debug_num_tgts + 1; in sdebug_driver_probe()
5342 hpnt->max_id = scsi_debug_num_tgts; in sdebug_driver_probe()
Dscsi_transport_spi.c607 return sprintf(buf, "%s\n", shost->max_id == 16 ? "wide" : "narrow"); in show_spi_host_width()
Dqlogicpti.c1314 host->max_id = MAX_TARGETS; in qpti_sbus_probe()
Dmegaraid.c286 adapter->host->max_id = 16; /* max targets per channel */ in mega_query_adapter()
1860 adapter->host->max_id, adapter->host->max_channel, in megaraid_info()
D3w-sas.c1630 host->max_id = TW_MAX_UNITS; in twl_probe()
Dscsi_transport_fc.c2134 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in fc_user_scan()
2148 tgthi = shost->max_id; in fc_user_scan()
Dgdth.c4783 shp->max_id = ha->tid_cnt; in gdth_isa_probe_one()
4914 shp->max_id = ha->tid_cnt; in gdth_eisa_probe_one()
5058 shp->max_id = ha->tid_cnt; in gdth_pci_probe_one()
D3w-xxxx.c2303 host->max_id = TW_MAX_UNITS; in tw_probe()
Dhptiop.c1404 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
D53c700.c369 host->max_id = 8; in NCR_700_detect()
Dinitio.c2926 shost->max_id = host->max_tar; in initio_probe_one()
Dmvumi.c2452 host->max_id = mhba->max_target_id; in mvumi_io_attach()
Dadvansys.c3186 atomic_read(&shost->host_busy), shost->max_id, in asc_prt_driver_conf()
11185 shost->max_id = ASC_MAX_TID + 1; in advansys_board_found()
11196 shost->max_id = ADV_MAX_TID + 1; in advansys_board_found()
DBusLogic.c2299 host->max_id = adapter->maxdev; in blogic_inithoststruct()
Ddpt_i2o.c2360 host->max_id = 16; in adpt_scsi_host_alloc()
Dqla1280.c4309 host->max_id = MAX_TARGETS; in qla1280_probe_one()
Dpmcraid.c5868 host->max_id = PMCRAID_MAX_NUM_TARGETS_PER_BUS; in pmcraid_probe()
Dipr.c9725 host->max_id = IPR_MAX_SIS64_TARGETS_PER_BUS; in ipr_init_ioa_cfg()
9733 host->max_id = IPR_MAX_NUM_TARGETS_PER_BUS; in ipr_init_ioa_cfg()
Dncr53c8xx.c8401 instance->max_id = np->maxwide ? 16 : 8;
Dips.c6736 sh->max_id = ha->ntargets; in ips_register_scsi()
Dhpsa.c5276 sh->max_id = HPSA_MAX_LUN; in hpsa_scsi_host_alloc()
/linux-4.4.14/drivers/scsi/aacraid/
Dlinit.c910 class_to_shost(device)->max_id); in aac_show_max_id()
1278 shost->max_id = aac->maximum_num_containers; in aac_probe_one()
1279 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one()
1280 shost->max_id = aac->maximum_num_physicals; in aac_probe_one()
1281 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one()
1282 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one()
1284 shost->this_id = shost->max_id; in aac_probe_one()
/linux-4.4.14/ipc/
Dutil.c186 int max_id = -1; in ipc_get_maxid() local
200 max_id = id; in ipc_get_maxid()
204 return max_id; in ipc_get_maxid()
Dmsg.c423 int max_id; in msgctl_nolock() local
453 max_id = ipc_get_maxid(&msg_ids(ns)); in msgctl_nolock()
457 return (max_id < 0) ? 0 : max_id; in msgctl_nolock()
Dsem.c1189 int max_id; in semctl_nolock() local
1212 max_id = ipc_get_maxid(&sem_ids(ns)); in semctl_nolock()
1216 return (max_id < 0) ? 0 : max_id; in semctl_nolock()
/linux-4.4.14/fs/
Dfs-writeback.c590 int max_id; in wbc_detach_inode() local
601 max_id = wbc->wb_id; in wbc_detach_inode()
604 max_id = wbc->wb_lcand_id; in wbc_detach_inode()
607 max_id = wbc->wb_tcand_id; in wbc_detach_inode()
640 if (wbc->wb_id != max_id) in wbc_detach_inode()
651 inode_switch_wbs(inode, max_id); in wbc_detach_inode()
658 inode->i_wb_frn_winner = max_id; in wbc_detach_inode()
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvscsi.c85 static int max_id = 64; variable
108 module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR);
109 MODULE_PARM_DESC(max_id, "Largest ID value for each channel [Default=64]");
2293 host->max_id = max_id; in ibmvscsi_probe()
2299 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
Dibmvfc.c4764 shost->max_id = max_targets; in ibmvfc_probe()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_disc.c95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req()
97 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
Dsnic_main.c536 shost->max_id = SNIC_MAX_TARGET; in snic_probe()
/linux-4.4.14/drivers/s390/char/
Dsclp_cmd.c488 u16 max_id; member
552 sclp_max_storage_id = sccb->max_id; in sclp_detect_standby_memory()
/linux-4.4.14/drivers/input/touchscreen/
Datmel_mxt_ts.c1551 u8 min_id, max_id; in mxt_get_object_table() local
1559 max_id = reportid - 1; in mxt_get_object_table()
1562 max_id = 0; in mxt_get_object_table()
1569 min_id, max_id); in mxt_get_object_table()
1597 data->T9_reportid_max = max_id; in mxt_get_object_table()
1610 data->T100_reportid_max = max_id; in mxt_get_object_table()
/linux-4.4.14/include/scsi/
Dscsi_host.h597 unsigned int max_id; member
/linux-4.4.14/drivers/staging/unisys/include/
Diochannel.h177 u32 max_id; /* maximum SCSI ID for devices attached to this member
/linux-4.4.14/drivers/usb/storage/
Dscsiglue.c432 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
Dusb.c1015 us_to_host(us)->max_id = 1; in usb_stor_probe2()
Duas.c925 shost->max_id = 1; in uas_probe()
/linux-4.4.14/include/uapi/linux/
Dbtrfs.h183 __u64 max_id; /* out */ member
/linux-4.4.14/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1111 scsihost->max_id = (unsigned)max.max_id; in visorhba_probe()
/linux-4.4.14/drivers/scsi/isci/
Dinit.c594 shost->max_id = ~0; in isci_host_alloc()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_scsi.c329 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
/linux-4.4.14/drivers/infiniband/ulp/iser/
Discsi_iser.c623 shost->max_id = 0; in iscsi_iser_session_create()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c406 host->max_id = ESAS2R_MAX_ID + 1; in esas2r_probe()
415 host->this_id = host->max_id + 1; in esas2r_probe()
/linux-4.4.14/drivers/staging/rts5208/
Drtsx.c955 host->max_id = 1; in rtsx_probe()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_mid.c495 host->max_id = ha->max_fibre_devices; in qla24xx_create_vhost()
Dqla_os.c2607 host->max_id = ha->max_fibre_devices; in qla2x00_probe_one()
2627 "max_lun=%llu transportt=%p, vendor_id=%llu.\n", host->max_id, in qla2x00_probe_one()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c462 shost->max_id = MVS_MAX_DEVICES; in mvs_prep_sas_ha_init()
/linux-4.4.14/drivers/message/fusion/
Dmptbase.c3232 int max_id; in GetPortFacts() local
3279 max_id = (ioc->bus_type == SAS) ? pfacts->PortSCSIID : in GetPortFacts()
3281 ioc->devices_per_bus = (max_id > 255) ? 256 : max_id; in GetPortFacts()
3282 ioc->number_of_buses = (ioc->devices_per_bus < 256) ? 1 : max_id/256; in GetPortFacts()
3291 ioc->number_of_buses = (max_id > 255) ? 255 : max_id; in GetPortFacts()
Dmptfc.c1259 sh->max_id = ioc->pfacts->MaxDevices; in mptfc_probe()
Dmptspi.c1450 sh->max_id = ioc->devices_per_bus; in mptspi_probe()
Dmptsas.c5210 sh->max_id = -1; in mptsas_probe()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_init.c635 shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, in csio_shost_init()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c405 sh->max_id = 2; in tcm_loop_driver_probe()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c338 unsigned int max_id, struct scsi_host_template *sht, in cxgbi_hbas_add() argument
358 shost->max_id = max_id; in cxgbi_hbas_add()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_init.c762 shost->max_id = ~0; in asd_pci_probe()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_main.c700 host->max_id = FNIC_MAX_FCP_TARGET; in fnic_probe()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_im.c549 im_port->shost->max_id = MAX_FCP_TARGET; in bfad_im_scsi_host_alloc()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c566 shost->max_id = PM8001_MAX_DEVICES; in pm8001_prep_sas_ha_init()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1366 shost->max_id = np->maxwide ? 16 : 8; in sym_attach()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c588 shost->max_id = BE2_MAX_SESSIONS; in beiscsi_hba_alloc()
5567 phba->shost->max_id = phba->params.cxns_per_ctrl; in beiscsi_eeh_resume()
5716 phba->shost->max_id = phba->params.cxns_per_ctrl; in beiscsi_dev_probe()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c796 shost->max_id = ISCSI_MAX_CONNS_PER_HBA; in bnx2i_alloc_hba()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1108 host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; in ahc_linux_register_host()
Daic7xxx_core.c7371 u_int max_id; in ahc_find_tmode_devs() local
7373 max_id = (ahc->features & AHC_WIDE) ? 16 : 8; in ahc_find_tmode_devs()
7374 if (ccb->ccb_h.target_id >= max_id) in ahc_find_tmode_devs()
Daic79xx_osm.c1244 host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; in ahd_linux_register_host()
Daic79xx_core.c10296 u_int max_id; in ahd_find_tmode_devs() local
10298 max_id = (ahd->features & AHD_WIDE) ? 16 : 8; in ahd_find_tmode_devs()
10299 if (ccb->ccb_h.target_id >= max_id) in ahd_find_tmode_devs()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c736 lport->host->max_id = FCOE_MAX_FCP_TARGET; in fcoe_shost_config()
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c2374 host->max_id = CXLFLASH_MAX_NUM_TARGETS_PER_BUS; in cxlflash_probe()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c687 shost->max_id = BNX2FC_MAX_FCP_TGT; in bnx2fc_shost_config()
/linux-4.4.14/fs/btrfs/
Dioctl.c2722 if (device->devid > fi_args->max_id) in btrfs_ioctl_fs_info()
2723 fi_args->max_id = device->devid; in btrfs_ioctl_fs_info()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_mbox.c654 host->max_id = adapter->max_target; in megaraid_io_attach()
Dmegaraid_sas_base.c5257 host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL; in megasas_io_attach()
/linux-4.4.14/drivers/ata/
Dlibata-scsi.c3685 shost->max_id = 16; in ata_scsi_add_hosts()
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c3206 target_host->max_id = 1; in srp_create_target()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_hba.c714 host->max_id = ARCMSR_MAX_TARGETID; /*16:8*/ in arcmsr_probe()
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c5578 host->max_id = UFSHCD_MAX_ID; in ufshcd_init()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.c4294 ioc->shost->max_id = -1; in _base_get_ioc_facts()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c8694 host->max_id = MAX_TARGETS; in qla4xxx_probe_adapter()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_init.c3310 shost->max_id = LPFC_MAX_TARGET; in lpfc_create_port()