/drivers/comedi/ |
D | range.c | 110 int chan, range_len, i; in comedi_check_chanlist() local 116 range_len = s->range_table->length; in comedi_check_chanlist() 118 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist() 120 range_len = 0; in comedi_check_chanlist() 122 CR_RANGE(chanspec) >= range_len) { in comedi_check_chanlist() 125 i, chanspec, chan, range_len); in comedi_check_chanlist()
|
/drivers/dax/ |
D | kmem.c | 83 total_len += range_len(&range); in dev_dax_kmem_probe() 116 res = request_mem_region(range.start, range_len(&range), data->res_name); in dev_dax_kmem_probe() 144 range_len(&range), kmem_name, MHP_NID_IS_MGID); in dev_dax_kmem_probe() 196 rc = remove_memory(range.start, range_len(&range)); in dev_dax_kmem_remove()
|
D | bus.c | 186 size += range_len(&dev_dax->ranges[i].range); in dev_dax_size() 424 __release_region(&dax_region->res, range->start, range_len(range)); in trim_dev_dax_range() 618 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region() 846 pgoff += PHYS_PFN(range_len(&ranges[i].range)); in alloc_dev_dax_range() 939 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink() 940 if (shrink >= range_len(range)) { in dev_dax_shrink() 960 return adjust_dev_dax_range(dev_dax, adjust, range_len(range) in dev_dax_shrink() 1147 to_alloc = range_len(&r); in mapping_store() 1171 size_t len = range_len(&dev_dax->ranges[i].range); in dev_dax_validate_align() 1421 if (dev_dax->nr_range && range_len(&dev_dax->ranges[0].range)) { in devm_create_dev_dax()
|
D | cxl.c | 28 .size = range_len(&cxlr_dax->hpa_range), in cxl_dax_region_probe()
|
D | pmem.c | 65 .size = range_len(&range), in __dax_pmem_probe()
|
D | device.c | 65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys() 437 range_len(range), dev_name(dev))) { in dev_dax_probe()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 522 u32 range_len, void *ptr) in iwl_dump_prph() argument 538 for (i = 0; i < range_len; i++) { in iwl_dump_prph() 601 u32 range_len, void *ptr) in iwl_fw_get_prph_len() argument 609 for (i = 0; i < range_len; i++) { in iwl_fw_get_prph_len() 626 u32 range_len; in iwl_fw_prph_handler() local 629 range_len = ARRAY_SIZE(iwl_prph_dump_addr_ax210); in iwl_fw_prph_handler() 630 handler(fwrt, iwl_prph_dump_addr_ax210, range_len, ptr); in iwl_fw_prph_handler() 633 range_len = ARRAY_SIZE(iwl_prph_dump_addr_22000); in iwl_fw_prph_handler() 634 handler(fwrt, iwl_prph_dump_addr_22000, range_len, ptr); in iwl_fw_prph_handler() 636 range_len = ARRAY_SIZE(iwl_prph_dump_addr_comm); in iwl_fw_prph_handler() [all …]
|
/drivers/nvdimm/ |
D | badrange.c | 237 len = range->start + range_len(range) in badblocks_populate() 252 len = range_len(range); in badblocks_populate()
|
D | pmem.c | 515 range_len(&pmem->pgmap.range); in pmem_attach_disk()
|
D | pfn_devs.c | 711 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
|
/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev_test.c | 137 KUNIT_EXPECT_EQ(test, range_len(&phys_contig_mem_regions.regions[num - 1]), in ne_misc_dev_test_merge_phys_contig_memory_regions()
|
D | ne_misc_dev.c | 1006 u64 phys_region_size = range_len(&phys_contig_mem_regions.regions[i]); in ne_set_user_memory_region_ioctl() 1024 slot_add_mem_req.size = range_len(&phys_contig_mem_regions.regions[i]); in ne_set_user_memory_region_ioctl()
|
/drivers/dax/hmem/ |
D | hmem.c | 38 .size = region_idle ? 0 : range_len(&mri->range), in dax_hmem_probe()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 299 release_mem_region(chunk->pagemap.range.start, range_len(&chunk->pagemap.range)); in nouveau_dmem_chunk_alloc() 376 unsigned long i, npages = range_len(&chunk->pagemap.range) >> PAGE_SHIFT; in nouveau_dmem_evict_chunk() 434 range_len(&chunk->pagemap.range)); in nouveau_dmem_fini()
|
/drivers/cxl/core/ |
D | hdm.c | 683 size = range_len(&cxld->hpa_range); in cxl_decoder_commit() 781 len = range_len(&info->dvsec_range[which]); in cxl_setup_hdm_decoder_from_dvsec()
|
D | port.c | 109 return sysfs_emit(buf, "%#llx\n", range_len(&cxld->hpa_range)); in size_show()
|
D | region.c | 2984 *res = DEFINE_RES_MEM_NAMED(hpa->start, range_len(hpa), in construct_region()
|
/drivers/pci/ |
D | p2pdma.c | 341 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
|