/linux-4.4.14/arch/powerpc/mm/ |
D | icswx_pid.c | 29 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/ |
D | pcpu.c | 361 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/ |
D | stex.c | 337 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 …]
|
D | eata.c | 667 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()
|
D | vmw_pvscsi.c | 1334 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()
|
D | jazz_esp.c | 146 host->max_id = 8; in esp_jazz_probe()
|
D | u14-34f.c | 957 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()
|
D | sun3x_esp.c | 209 host->max_id = 8; in esp_sun3x_probe()
|
D | storvsc_drv.c | 1613 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()
|
D | scsi_scan.c | 1628 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()
|
D | ps3rom.c | 394 host->max_id = 1; in ps3rom_probe()
|
D | mac_esp.c | 504 host->max_id = 8; in esp_mac_probe()
|
D | hosts.c | 418 shost->max_id = 8; in scsi_host_alloc()
|
D | am53c974.c | 492 shost->max_id = 8; in pci_esp_probe_one()
|
D | FlashPoint.c | 6204 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()
|
D | sun_esp.c | 503 host->max_id = (hme ? 16 : 8); in esp_sbus_probe_one()
|
D | atp870u.c | 2737 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()
|
D | dc395x.c | 1096 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()
|
D | iscsi_tcp.c | 839 shost->max_id = 0; in iscsi_sw_tcp_session_create()
|
D | eata_pio.c | 772 sh->max_id = 8; in register_pio_HBA()
|
D | a100u2w.c | 1153 shost->max_id = host->max_targets; in inia100_probe_one()
|
D | xen-scsifront.c | 863 host->max_id = VSCSIIF_MAX_TARGET; in scsifront_probe()
|
D | 3w-9xxx.c | 2078 host->max_id = TW_MAX_UNITS_9650SE; in twa_probe() 2080 host->max_id = TW_MAX_UNITS; in twa_probe()
|
D | virtio_scsi.c | 1005 shost->max_id = num_targets; in virtscsi_probe()
|
D | scsi_debug.c | 700 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()
|
D | scsi_transport_spi.c | 607 return sprintf(buf, "%s\n", shost->max_id == 16 ? "wide" : "narrow"); in show_spi_host_width()
|
D | qlogicpti.c | 1314 host->max_id = MAX_TARGETS; in qpti_sbus_probe()
|
D | megaraid.c | 286 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()
|
D | 3w-sas.c | 1630 host->max_id = TW_MAX_UNITS; in twl_probe()
|
D | scsi_transport_fc.c | 2134 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in fc_user_scan() 2148 tgthi = shost->max_id; in fc_user_scan()
|
D | gdth.c | 4783 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()
|
D | 3w-xxxx.c | 2303 host->max_id = TW_MAX_UNITS; in tw_probe()
|
D | hptiop.c | 1404 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
|
D | 53c700.c | 369 host->max_id = 8; in NCR_700_detect()
|
D | initio.c | 2926 shost->max_id = host->max_tar; in initio_probe_one()
|
D | mvumi.c | 2452 host->max_id = mhba->max_target_id; in mvumi_io_attach()
|
D | advansys.c | 3186 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()
|
D | BusLogic.c | 2299 host->max_id = adapter->maxdev; in blogic_inithoststruct()
|
D | dpt_i2o.c | 2360 host->max_id = 16; in adpt_scsi_host_alloc()
|
D | qla1280.c | 4309 host->max_id = MAX_TARGETS; in qla1280_probe_one()
|
D | pmcraid.c | 5868 host->max_id = PMCRAID_MAX_NUM_TARGETS_PER_BUS; in pmcraid_probe()
|
D | ipr.c | 9725 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()
|
D | ncr53c8xx.c | 8401 instance->max_id = np->maxwide ? 16 : 8;
|
D | ips.c | 6736 sh->max_id = ha->ntargets; in ips_register_scsi()
|
D | hpsa.c | 5276 sh->max_id = HPSA_MAX_LUN; in hpsa_scsi_host_alloc()
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | linit.c | 910 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/ |
D | util.c | 186 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()
|
D | msg.c | 423 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()
|
D | sem.c | 1189 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/ |
D | fs-writeback.c | 590 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/ |
D | ibmvscsi.c | 85 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()
|
D | ibmvfc.c | 4764 shost->max_id = max_targets; in ibmvfc_probe()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_disc.c | 95 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()
|
D | snic_main.c | 536 shost->max_id = SNIC_MAX_TARGET; in snic_probe()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_cmd.c | 488 u16 max_id; member 552 sclp_max_storage_id = sccb->max_id; in sclp_detect_standby_memory()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1551 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/ |
D | scsi_host.h | 597 unsigned int max_id; member
|
/linux-4.4.14/drivers/staging/unisys/include/ |
D | iochannel.h | 177 u32 max_id; /* maximum SCSI ID for devices attached to this member
|
/linux-4.4.14/drivers/usb/storage/ |
D | scsiglue.c | 432 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
|
D | usb.c | 1015 us_to_host(us)->max_id = 1; in usb_stor_probe2()
|
D | uas.c | 925 shost->max_id = 1; in uas_probe()
|
/linux-4.4.14/include/uapi/linux/ |
D | btrfs.h | 183 __u64 max_id; /* out */ member
|
/linux-4.4.14/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 1111 scsihost->max_id = (unsigned)max.max_id; in visorhba_probe()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | init.c | 594 shost->max_id = ~0; in isci_host_alloc()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_scsi.c | 329 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 623 shost->max_id = 0; in iscsi_iser_session_create()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_main.c | 406 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/ |
D | rtsx.c | 955 host->max_id = 1; in rtsx_probe()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 495 host->max_id = ha->max_fibre_devices; in qla24xx_create_vhost()
|
D | qla_os.c | 2607 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/ |
D | mv_init.c | 462 shost->max_id = MVS_MAX_DEVICES; in mvs_prep_sas_ha_init()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptbase.c | 3232 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()
|
D | mptfc.c | 1259 sh->max_id = ioc->pfacts->MaxDevices; in mptfc_probe()
|
D | mptspi.c | 1450 sh->max_id = ioc->devices_per_bus; in mptspi_probe()
|
D | mptsas.c | 5210 sh->max_id = -1; in mptsas_probe()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_init.c | 635 shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, in csio_shost_init()
|
/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 405 sh->max_id = 2; in tcm_loop_driver_probe()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 338 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/ |
D | aic94xx_init.c | 762 shost->max_id = ~0; in asd_pci_probe()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_main.c | 700 host->max_id = FNIC_MAX_FCP_TARGET; in fnic_probe()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 549 im_port->shost->max_id = MAX_FCP_TARGET; in bfad_im_scsi_host_alloc()
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_init.c | 566 shost->max_id = PM8001_MAX_DEVICES; in pm8001_prep_sas_ha_init()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1366 shost->max_id = np->maxwide ? 16 : 8; in sym_attach()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_main.c | 588 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/ |
D | bnx2i_iscsi.c | 796 shost->max_id = ISCSI_MAX_CONNS_PER_HBA; in bnx2i_alloc_hba()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1108 host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; in ahc_linux_register_host()
|
D | aic7xxx_core.c | 7371 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()
|
D | aic79xx_osm.c | 1244 host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; in ahd_linux_register_host()
|
D | aic79xx_core.c | 10296 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/ |
D | fcoe.c | 736 lport->host->max_id = FCOE_MAX_FCP_TARGET; in fcoe_shost_config()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | main.c | 2374 host->max_id = CXLFLASH_MAX_NUM_TARGETS_PER_BUS; in cxlflash_probe()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 687 shost->max_id = BNX2FC_MAX_FCP_TGT; in bnx2fc_shost_config()
|
/linux-4.4.14/fs/btrfs/ |
D | ioctl.c | 2722 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/ |
D | megaraid_mbox.c | 654 host->max_id = adapter->max_target; in megaraid_io_attach()
|
D | megaraid_sas_base.c | 5257 host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL; in megasas_io_attach()
|
/linux-4.4.14/drivers/ata/ |
D | libata-scsi.c | 3685 shost->max_id = 16; in ata_scsi_add_hosts()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 3206 target_host->max_id = 1; in srp_create_target()
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 714 host->max_id = ARCMSR_MAX_TARGETID; /*16:8*/ in arcmsr_probe()
|
/linux-4.4.14/drivers/scsi/ufs/ |
D | ufshcd.c | 5578 host->max_id = UFSHCD_MAX_ID; in ufshcd_init()
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 4294 ioc->shost->max_id = -1; in _base_get_ioc_facts()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 8694 host->max_id = MAX_TARGETS; in qla4xxx_probe_adapter()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_init.c | 3310 shost->max_id = LPFC_MAX_TARGET; in lpfc_create_port()
|