/Linux-v4.19/arch/powerpc/mm/ |
D | mmu_context_book3s64.c | 31 static int alloc_context_id(int min_id, int max_id) in alloc_context_id() argument 33 return ida_alloc_range(&mmu_context_ida, min_id, max_id, GFP_KERNEL); in alloc_context_id() 90 int index, max_id; in radix__init_new_context() local 92 max_id = (1 << mmu_pid_bits) - 1; in radix__init_new_context() 93 index = alloc_context_id(mmu_base_pid, max_id); in radix__init_new_context()
|
/Linux-v4.19/drivers/soc/tegra/ |
D | powergate-bpmp.c | 121 return response.get_max_id.max_id; in tegra_bpmp_powergate_get_max_id() 225 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_powergates() local 233 max_id = err; in tegra_bpmp_probe_powergates() 235 dev_dbg(bpmp->dev, "maximum powergate ID: %u\n", max_id); in tegra_bpmp_probe_powergates() 237 powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); in tegra_bpmp_probe_powergates() 241 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_powergates()
|
/Linux-v4.19/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-v4.19/drivers/clk/tegra/ |
D | clk-bpmp.c | 326 if (response.max_id > INT_MAX) in tegra_bpmp_clk_get_max_id() 329 return response.max_id; in tegra_bpmp_clk_get_max_id() 405 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_clocks() local 413 max_id = err; in tegra_bpmp_probe_clocks() 415 dev_dbg(bpmp->dev, "maximum clock ID: %u\n", max_id); in tegra_bpmp_probe_clocks() 417 clocks = kcalloc(max_id + 1, sizeof(*clocks), GFP_KERNEL); in tegra_bpmp_probe_clocks() 421 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_clocks()
|
/Linux-v4.19/drivers/misc/ocxl/ |
D | pasid.c | 24 static int range_alloc(struct list_head *head, u32 size, int max_id, in range_alloc() argument 47 if (new->end > max_id) { in range_alloc()
|
/Linux-v4.19/drivers/scsi/ |
D | stex.c | 358 unsigned int max_id; member 645 if (hba->cardtype == st_shasta || id == host->max_id - 1) { in stex_queuecommand_lck() 651 if (id == host->max_id - 1) { in stex_queuecommand_lck() 663 if (id != host->max_id - 1) in stex_queuecommand_lck() 684 ver.console_id = host->max_id - 1; in stex_queuecommand_lck() 1543 .max_id = 17, 1556 .max_id = 129, 1569 .max_id = 2, 1582 .max_id = 129, 1595 .max_id = 129, [all …]
|
D | vmw_pvscsi.c | 1342 u32 max_id; in pvscsi_probe() local 1406 max_id = pvscsi_get_max_targets(adapter); in pvscsi_probe() 1407 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); in pvscsi_probe() 1414 pvscsi_ring_pages = (max_id > 16) ? in pvscsi_probe() 1449 host->max_id = max_id; in pvscsi_probe()
|
D | jazz_esp.c | 146 host->max_id = 8; in esp_jazz_probe()
|
D | sun3x_esp.c | 209 host->max_id = 8; in esp_sun3x_probe()
|
D | scsi_scan.c | 1640 for (id = 0; id < shost->max_id; ++id) { in scsi_scan_channel() 1654 order_id = shost->max_id - id - 1; in scsi_scan_channel() 1674 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in scsi_scan_host_selected()
|
D | storvsc_drv.c | 1814 host->max_id = STORVSC_FC_MAX_TARGETS; in storvsc_probe() 1823 host->max_id = max_targets; in storvsc_probe() 1829 host->max_id = STORVSC_IDE_MAX_TARGETS; in storvsc_probe()
|
D | ps3rom.c | 394 host->max_id = 1; in ps3rom_probe()
|
/Linux-v4.19/include/soc/tegra/ |
D | bpmp-abi.h | 682 uint32_t max_id; member 960 uint32_t max_id; member 1290 uint32_t max_id; member
|
/Linux-v4.19/drivers/tee/ |
D | tee_core.c | 707 int rc, max_id; in tee_device_alloc() local 721 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc() 725 max_id = TEE_NUM_DEVICES; in tee_device_alloc() 729 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 730 if (teedev->id < max_id) in tee_device_alloc() 734 if (teedev->id >= max_id) { in tee_device_alloc()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 418 unsigned long *events_bmap, u16 max_id) in bnxt_register_async_events() argument 431 ulp->max_async_event_id = max_id; in bnxt_register_async_events() 432 bnxt_hwrm_func_rgtr_async_events(bp, events_bmap, max_id + 1); in bnxt_register_async_events()
|
/Linux-v4.19/fs/ |
D | fs-writeback.c | 604 int max_id; in wbc_detach_inode() local 615 max_id = wbc->wb_id; in wbc_detach_inode() 618 max_id = wbc->wb_lcand_id; in wbc_detach_inode() 621 max_id = wbc->wb_tcand_id; in wbc_detach_inode() 654 if (wbc->wb_id != max_id) in wbc_detach_inode() 665 inode_switch_wbs(inode, max_id); in wbc_detach_inode() 672 inode->i_wb_frn_winner = max_id; in wbc_detach_inode()
|
/Linux-v4.19/drivers/scsi/aacraid/ |
D | linit.c | 1370 class_to_shost(device)->max_id); in aac_show_max_id() 1778 shost->max_id = aac->maximum_num_containers; in aac_probe_one() 1779 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one() 1780 shost->max_id = aac->maximum_num_physicals; in aac_probe_one() 1781 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one() 1782 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one() 1784 shost->this_id = shost->max_id; in aac_probe_one()
|
/Linux-v4.19/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 85 static int max_id = 64; variable 109 module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR); 110 MODULE_PARM_DESC(max_id, "Largest ID value for each channel [Default=64]"); 2230 host->max_id = max_id; in ibmvscsi_probe() 2236 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
|
/Linux-v4.19/drivers/staging/unisys/include/ |
D | iochannel.h | 179 u32 max_id; member
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/s390/char/ |
D | sclp_cmd.c | 465 u16 max_id; member 529 sclp_max_storage_id = sccb->max_id; in sclp_detect_standby_memory()
|
/Linux-v4.19/include/scsi/ |
D | scsi_host.h | 580 unsigned int max_id; member
|
/Linux-v4.19/drivers/usb/storage/ |
D | scsiglue.c | 484 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
|
/Linux-v4.19/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 1080 scsihost->max_id = (unsigned int)max.max_id; in visorhba_probe()
|
/Linux-v4.19/arch/x86/kvm/ |
D | lapic.c | 170 u32 max_id = 255; /* enough space for any xAPIC ID */ in recalculate_apic_map() local 176 max_id = max(max_id, kvm_x2apic_id(vcpu->arch.apic)); in recalculate_apic_map() 179 sizeof(struct kvm_lapic *) * ((u64)max_id + 1), GFP_KERNEL); in recalculate_apic_map() 184 new->max_apic_id = max_id; in recalculate_apic_map()
|