Home
last modified time | relevance | path

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

12345

/Linux-v4.19/arch/powerpc/mm/
Dmmu_context_book3s64.c31 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/
Dpowergate-bpmp.c121 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/
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-v4.19/drivers/clk/tegra/
Dclk-bpmp.c326 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/
Dpasid.c24 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/
Dstex.c358 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 …]
Dvmw_pvscsi.c1342 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()
Djazz_esp.c146 host->max_id = 8; in esp_jazz_probe()
Dsun3x_esp.c209 host->max_id = 8; in esp_sun3x_probe()
Dscsi_scan.c1640 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()
Dstorvsc_drv.c1814 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()
Dps3rom.c394 host->max_id = 1; in ps3rom_probe()
/Linux-v4.19/include/soc/tegra/
Dbpmp-abi.h682 uint32_t max_id; member
960 uint32_t max_id; member
1290 uint32_t max_id; member
/Linux-v4.19/drivers/tee/
Dtee_core.c707 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/
Dbnxt_ulp.c418 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/
Dfs-writeback.c604 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/
Dlinit.c1370 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/
Dibmvscsi.c85 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/
Diochannel.h179 u32 max_id; member
/Linux-v4.19/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()
/Linux-v4.19/drivers/s390/char/
Dsclp_cmd.c465 u16 max_id; member
529 sclp_max_storage_id = sccb->max_id; in sclp_detect_standby_memory()
/Linux-v4.19/include/scsi/
Dscsi_host.h580 unsigned int max_id; member
/Linux-v4.19/drivers/usb/storage/
Dscsiglue.c484 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
/Linux-v4.19/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1080 scsihost->max_id = (unsigned int)max.max_id; in visorhba_probe()
/Linux-v4.19/arch/x86/kvm/
Dlapic.c170 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()

12345