/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/nvdimm/ |
H A D | claim.c | 19 if (!ndns) in __nd_detach_ndns() 25 ndns->claim = NULL; in __nd_detach_ndns() 27 put_device(&ndns->dev); in __nd_detach_ndns() 35 if (!ndns) in nd_detach_ndns() 37 get_device(&ndns->dev); in nd_detach_ndns() 38 nvdimm_bus_lock(&ndns->dev); in nd_detach_ndns() 41 put_device(&ndns->dev); in nd_detach_ndns() 160 ndns = *_ndns; in nd_namespace_store() 164 } else if (ndns) { in nd_namespace_store() 166 dev_name(&ndns->dev)); in nd_namespace_store() [all …]
|
H A D | btt_devs.c | 22 nd_detach_ndns(&nd_btt->dev, &nd_btt->ndns); in nd_btt_release() 100 rc = sprintf(buf, "%s\n", nd_btt->ndns in namespace_show() 101 ? dev_name(&nd_btt->ndns->dev) : ""); in namespace_show() 184 struct nd_namespace_common *ndns) in __nd_btt_create() argument 209 if (ndns && !__nd_attach_ndns(&nd_btt->dev, ndns, &nd_btt->ndns)) { in __nd_btt_create() 211 dev_name(ndns->claim)); in __nd_btt_create() 311 if (!btt_sb || !ndns || !nd_btt) in __nd_btt_probe() 338 if (ndns->force_raw) in nd_btt_probe() 341 switch (ndns->claim_class) { in nd_btt_probe() 350 nvdimm_bus_lock(&ndns->dev); in nd_btt_probe() [all …]
|
H A D | pfn_devs.c | 207 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show() local 233 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show() local 307 if (ndns && !__nd_attach_ndns(&nd_pfn->dev, ndns, &nd_pfn->ndns)) { in nd_pfn_devinit() 309 dev_name(ndns->claim)); in nd_pfn_devinit() 363 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors() local 454 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate() local 457 if (!pfn_sb || !ndns) in nd_pfn_validate() 585 dev_name(&ndns->dev)); in nd_pfn_validate() 621 if (ndns->force_raw) in nd_pfn_probe() 682 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn() local [all …]
|
H A D | dax_devs.c | 20 nd_detach_ndns(dev, &nd_pfn->ndns); in nd_dax_release() 87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe() argument 94 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe() 96 if (ndns->force_raw) in nd_dax_probe() 99 switch (ndns->claim_class) { in nd_dax_probe() 107 nvdimm_bus_lock(&ndns->dev); in nd_dax_probe() 110 dax_dev = nd_pfn_devinit(nd_pfn, ndns); in nd_dax_probe() 111 nvdimm_bus_unlock(&ndns->dev); in nd_dax_probe() 119 nd_detach_ndns(dax_dev, &nd_pfn->ndns); in nd_dax_probe()
|
H A D | pmem.c | 420 dev_name(&ndns->dev))) { in pmem_attach_disk() 519 struct nd_namespace_common *ndns; in nd_pmem_probe() local 522 if (IS_ERR(ndns)) in nd_pmem_probe() 523 return PTR_ERR(ndns); in nd_pmem_probe() 535 ret = nd_btt_probe(dev, ndns); in nd_pmem_probe() 550 ret = nd_pfn_probe(dev, ndns); in nd_pmem_probe() 556 ret = nd_dax_probe(dev, ndns); in nd_pmem_probe() 594 struct nd_namespace_common *ndns; in pmem_revalidate_poison() local 603 ndns = nd_btt->ndns; in pmem_revalidate_poison() 619 ndns = nd_pfn->ndns; in pmem_revalidate_poison() [all …]
|
H A D | namespace_devs.c | 120 if (ndns->force_raw) in pmem_should_map_pages() 162 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name() 165 if (is_namespace_pmem(&ndns->dev) || is_namespace_io(&ndns->dev)) { in nvdimm_namespace_disk_name() 1486 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show() 1703 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe() 1705 ndns = nd_pfn->ndns; in nvdimm_namespace_common_probe() 1707 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe() 1709 if (!ndns) in nvdimm_namespace_common_probe() 1723 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe() 1730 if (ndns->claim) { in nvdimm_namespace_common_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/nvdimm/ |
H A D | claim.c | 19 if (!ndns) in __nd_detach_ndns() 25 ndns->claim = NULL; in __nd_detach_ndns() 27 put_device(&ndns->dev); in __nd_detach_ndns() 35 if (!ndns) in nd_detach_ndns() 37 get_device(&ndns->dev); in nd_detach_ndns() 38 nvdimm_bus_lock(&ndns->dev); in nd_detach_ndns() 41 put_device(&ndns->dev); in nd_detach_ndns() 160 ndns = *_ndns; in nd_namespace_store() 164 } else if (ndns) { in nd_namespace_store() 166 dev_name(&ndns->dev)); in nd_namespace_store() [all …]
|
H A D | btt_devs.c | 22 nd_detach_ndns(&nd_btt->dev, &nd_btt->ndns); in nd_btt_release() 100 rc = sprintf(buf, "%s\n", nd_btt->ndns in namespace_show() 101 ? dev_name(&nd_btt->ndns->dev) : ""); in namespace_show() 184 struct nd_namespace_common *ndns) in __nd_btt_create() argument 209 if (ndns && !__nd_attach_ndns(&nd_btt->dev, ndns, &nd_btt->ndns)) { in __nd_btt_create() 211 dev_name(ndns->claim)); in __nd_btt_create() 311 if (!btt_sb || !ndns || !nd_btt) in __nd_btt_probe() 338 if (ndns->force_raw) in nd_btt_probe() 341 switch (ndns->claim_class) { in nd_btt_probe() 350 nvdimm_bus_lock(&ndns->dev); in nd_btt_probe() [all …]
|
H A D | pfn_devs.c | 207 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show() local 233 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show() local 307 if (ndns && !__nd_attach_ndns(&nd_pfn->dev, ndns, &nd_pfn->ndns)) { in nd_pfn_devinit() 309 dev_name(ndns->claim)); in nd_pfn_devinit() 363 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors() local 454 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate() local 457 if (!pfn_sb || !ndns) in nd_pfn_validate() 585 dev_name(&ndns->dev)); in nd_pfn_validate() 621 if (ndns->force_raw) in nd_pfn_probe() 682 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn() local [all …]
|
H A D | dax_devs.c | 20 nd_detach_ndns(dev, &nd_pfn->ndns); in nd_dax_release() 87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe() argument 94 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe() 96 if (ndns->force_raw) in nd_dax_probe() 99 switch (ndns->claim_class) { in nd_dax_probe() 107 nvdimm_bus_lock(&ndns->dev); in nd_dax_probe() 110 dax_dev = nd_pfn_devinit(nd_pfn, ndns); in nd_dax_probe() 111 nvdimm_bus_unlock(&ndns->dev); in nd_dax_probe() 119 nd_detach_ndns(dax_dev, &nd_pfn->ndns); in nd_dax_probe()
|
H A D | pmem.c | 420 dev_name(&ndns->dev))) { in pmem_attach_disk() 519 struct nd_namespace_common *ndns; in nd_pmem_probe() local 522 if (IS_ERR(ndns)) in nd_pmem_probe() 523 return PTR_ERR(ndns); in nd_pmem_probe() 535 ret = nd_btt_probe(dev, ndns); in nd_pmem_probe() 550 ret = nd_pfn_probe(dev, ndns); in nd_pmem_probe() 556 ret = nd_dax_probe(dev, ndns); in nd_pmem_probe() 594 struct nd_namespace_common *ndns; in pmem_revalidate_poison() local 603 ndns = nd_btt->ndns; in pmem_revalidate_poison() 619 ndns = nd_pfn->ndns; in pmem_revalidate_poison() [all …]
|
H A D | namespace_devs.c | 120 if (ndns->force_raw) in pmem_should_map_pages() 162 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name() 165 if (is_namespace_pmem(&ndns->dev) || is_namespace_io(&ndns->dev)) { in nvdimm_namespace_disk_name() 1486 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show() 1703 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe() 1705 ndns = nd_pfn->ndns; in nvdimm_namespace_common_probe() 1707 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe() 1709 if (!ndns) in nvdimm_namespace_common_probe() 1723 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe() 1730 if (ndns->claim) { in nvdimm_namespace_common_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/nvdimm/ |
H A D | claim.c | 19 if (!ndns) in __nd_detach_ndns() 25 ndns->claim = NULL; in __nd_detach_ndns() 27 put_device(&ndns->dev); in __nd_detach_ndns() 35 if (!ndns) in nd_detach_ndns() 37 get_device(&ndns->dev); in nd_detach_ndns() 38 nvdimm_bus_lock(&ndns->dev); in nd_detach_ndns() 41 put_device(&ndns->dev); in nd_detach_ndns() 160 ndns = *_ndns; in nd_namespace_store() 164 } else if (ndns) { in nd_namespace_store() 166 dev_name(&ndns->dev)); in nd_namespace_store() [all …]
|
H A D | btt_devs.c | 22 nd_detach_ndns(&nd_btt->dev, &nd_btt->ndns); in nd_btt_release() 100 rc = sprintf(buf, "%s\n", nd_btt->ndns in namespace_show() 101 ? dev_name(&nd_btt->ndns->dev) : ""); in namespace_show() 184 struct nd_namespace_common *ndns) in __nd_btt_create() argument 209 if (ndns && !__nd_attach_ndns(&nd_btt->dev, ndns, &nd_btt->ndns)) { in __nd_btt_create() 211 dev_name(ndns->claim)); in __nd_btt_create() 311 if (!btt_sb || !ndns || !nd_btt) in __nd_btt_probe() 338 if (ndns->force_raw) in nd_btt_probe() 341 switch (ndns->claim_class) { in nd_btt_probe() 350 nvdimm_bus_lock(&ndns->dev); in nd_btt_probe() [all …]
|
H A D | pfn_devs.c | 207 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show() local 233 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show() local 307 if (ndns && !__nd_attach_ndns(&nd_pfn->dev, ndns, &nd_pfn->ndns)) { in nd_pfn_devinit() 309 dev_name(ndns->claim)); in nd_pfn_devinit() 363 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors() local 454 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate() local 457 if (!pfn_sb || !ndns) in nd_pfn_validate() 585 dev_name(&ndns->dev)); in nd_pfn_validate() 621 if (ndns->force_raw) in nd_pfn_probe() 682 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn() local [all …]
|
H A D | dax_devs.c | 20 nd_detach_ndns(dev, &nd_pfn->ndns); in nd_dax_release() 87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe() argument 94 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe() 96 if (ndns->force_raw) in nd_dax_probe() 99 switch (ndns->claim_class) { in nd_dax_probe() 107 nvdimm_bus_lock(&ndns->dev); in nd_dax_probe() 110 dax_dev = nd_pfn_devinit(nd_pfn, ndns); in nd_dax_probe() 111 nvdimm_bus_unlock(&ndns->dev); in nd_dax_probe() 119 nd_detach_ndns(dax_dev, &nd_pfn->ndns); in nd_dax_probe()
|
H A D | pmem.c | 420 dev_name(&ndns->dev))) { in pmem_attach_disk() 519 struct nd_namespace_common *ndns; in nd_pmem_probe() local 522 if (IS_ERR(ndns)) in nd_pmem_probe() 523 return PTR_ERR(ndns); in nd_pmem_probe() 535 ret = nd_btt_probe(dev, ndns); in nd_pmem_probe() 550 ret = nd_pfn_probe(dev, ndns); in nd_pmem_probe() 556 ret = nd_dax_probe(dev, ndns); in nd_pmem_probe() 594 struct nd_namespace_common *ndns; in pmem_revalidate_poison() local 603 ndns = nd_btt->ndns; in pmem_revalidate_poison() 619 ndns = nd_pfn->ndns; in pmem_revalidate_poison() [all …]
|
H A D | namespace_devs.c | 120 if (ndns->force_raw) in pmem_should_map_pages() 162 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name() 165 if (is_namespace_pmem(&ndns->dev) || is_namespace_io(&ndns->dev)) { in nvdimm_namespace_disk_name() 1486 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show() 1703 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe() 1705 ndns = nd_pfn->ndns; in nvdimm_namespace_common_probe() 1707 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe() 1709 if (!ndns) in nvdimm_namespace_common_probe() 1723 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe() 1730 if (ndns->claim) { in nvdimm_namespace_common_probe() [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/hessian/analytic/ |
H A D | hess_cphf.F | 24 integer nbf2, ndns, ndip 260 do ndns = 1, ndens 264 & log_mb(k_act),ncent,nocc(ndns),(ndns-1)*n3xyz,ouhf) 615 do ndns = 1, ndens 619 bhi(1) = bhi(1) + nocc(ndns)*nvirt(ndns) 824 do ndns = 1, ndens 825 nmo = nocc(ndns) + nvirt(ndns) 907 do ndns = 1, ndens 1028 integer ndns, i 1036 ahi(3) = nocc(ndns) + nvirt(ndns) [all …]
|
H A D | hess_dipder.F | 213 do ndns = 1, ndens 214 ahi(2) = nocc(ndns) 215 ahi(3) = nocc(ndns) 216 bhi(2) = nocc(ndns) 217 bhi(3) = nocc(ndns) 271 do ndns = 1, ndens 273 if (ndns.ne.1) alo(1) = alo(1) + nocc(ndns-1)*nvirt(ndns-1) 274 ahi(1) = ahi(1) + nocc(ndns)*nvirt(ndns) 276 bhi(2) = nocc(ndns) 277 blo(3) = nocc(ndns) + 1 [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/hessian/analytic/ |
H A D | hess_cphf.F | 24 integer nbf2, ndns, ndip 260 do ndns = 1, ndens 264 & log_mb(k_act),ncent,nocc(ndns),(ndns-1)*n3xyz,ouhf) 615 do ndns = 1, ndens 619 bhi(1) = bhi(1) + nocc(ndns)*nvirt(ndns) 824 do ndns = 1, ndens 825 nmo = nocc(ndns) + nvirt(ndns) 907 do ndns = 1, ndens 1028 integer ndns, i 1036 ahi(3) = nocc(ndns) + nvirt(ndns) [all …]
|
H A D | hess_dipder.F | 213 do ndns = 1, ndens 214 ahi(2) = nocc(ndns) 215 ahi(3) = nocc(ndns) 216 bhi(2) = nocc(ndns) 217 bhi(3) = nocc(ndns) 271 do ndns = 1, ndens 273 if (ndns.ne.1) alo(1) = alo(1) + nocc(ndns-1)*nvirt(ndns-1) 274 ahi(1) = ahi(1) + nocc(ndns)*nvirt(ndns) 276 bhi(2) = nocc(ndns) 277 blo(3) = nocc(ndns) + 1 [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/dax/pmem/ |
H A D | core.c | 21 struct nd_namespace_common *ndns; in __dax_pmem_probe() local 26 ndns = nvdimm_namespace_common_probe(dev); in __dax_pmem_probe() 27 if (IS_ERR(ndns)) in __dax_pmem_probe() 28 return ERR_CAST(ndns); in __dax_pmem_probe() 31 rc = devm_namespace_enable(dev, ndns, nd_info_block_reserve()); in __dax_pmem_probe() 37 devm_namespace_disable(dev, ndns); in __dax_pmem_probe() 42 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe() 44 dev_name(&ndns->dev))) { in __dax_pmem_probe() 49 rc = sscanf(dev_name(&ndns->dev), "namespace%d.%d", ®ion_id, &id); in __dax_pmem_probe()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/dax/pmem/ |
H A D | core.c | 21 struct nd_namespace_common *ndns; in __dax_pmem_probe() local 26 ndns = nvdimm_namespace_common_probe(dev); in __dax_pmem_probe() 27 if (IS_ERR(ndns)) in __dax_pmem_probe() 28 return ERR_CAST(ndns); in __dax_pmem_probe() 31 rc = devm_namespace_enable(dev, ndns, nd_info_block_reserve()); in __dax_pmem_probe() 37 devm_namespace_disable(dev, ndns); in __dax_pmem_probe() 42 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe() 44 dev_name(&ndns->dev))) { in __dax_pmem_probe() 49 rc = sscanf(dev_name(&ndns->dev), "namespace%d.%d", ®ion_id, &id); in __dax_pmem_probe()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/dax/pmem/ |
H A D | core.c | 21 struct nd_namespace_common *ndns; in __dax_pmem_probe() local 26 ndns = nvdimm_namespace_common_probe(dev); in __dax_pmem_probe() 27 if (IS_ERR(ndns)) in __dax_pmem_probe() 28 return ERR_CAST(ndns); in __dax_pmem_probe() 31 rc = devm_namespace_enable(dev, ndns, nd_info_block_reserve()); in __dax_pmem_probe() 37 devm_namespace_disable(dev, ndns); in __dax_pmem_probe() 42 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe() 44 dev_name(&ndns->dev))) { in __dax_pmem_probe() 49 rc = sscanf(dev_name(&ndns->dev), "namespace%d.%d", ®ion_id, &id); in __dax_pmem_probe()
|