/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 52 struct ib_port_attr *tprops = NULL; in mthca_update_rate() local 55 tprops = kmalloc(sizeof *tprops, GFP_KERNEL); in mthca_update_rate() 56 if (!tprops) in mthca_update_rate() 59 ret = ib_query_port(&dev->ib_dev, port_num, tprops); in mthca_update_rate() 67 dev->rate[port_num - 1] = tprops->active_speed * in mthca_update_rate() 68 ib_width_enum_to_int(tprops->active_width); in mthca_update_rate() 71 kfree(tprops); in mthca_update_rate()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 52 struct ib_port_attr *tprops = NULL; in mthca_update_rate() local 55 tprops = kmalloc(sizeof *tprops, GFP_KERNEL); in mthca_update_rate() 56 if (!tprops) in mthca_update_rate() 59 ret = ib_query_port(&dev->ib_dev, port_num, tprops); in mthca_update_rate() 67 dev->rate[port_num - 1] = tprops->active_speed * in mthca_update_rate() 68 ib_width_enum_to_int(tprops->active_width); in mthca_update_rate() 71 kfree(tprops); in mthca_update_rate()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | cache.c | 1438 u32 port, struct ib_port_attr *tprops) in config_non_roce_gid_cache() 1450 for (i = 0; i < tprops->gid_tbl_len; ++i) { in config_non_roce_gid_cache() 1472 tprops->subnet_prefix = in config_non_roce_gid_cache() 1485 struct ib_port_attr *tprops = NULL; in ib_cache_update() local 1494 tprops = kmalloc(sizeof *tprops, GFP_KERNEL); in ib_cache_update() 1495 if (!tprops) in ib_cache_update() 1498 ret = ib_query_port(device, port, tprops); in ib_cache_update() 1506 tprops); in ib_cache_update() 1511 update_pkeys &= !!tprops in ib_cache_update() 1437 config_non_roce_gid_cache(struct ib_device *device, u32 port, struct ib_port_attr *tprops) config_non_roce_gid_cache() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | cache.c | 1478 struct ib_port_attr *tprops = NULL; in ib_cache_update() local 1486 tprops = kmalloc(sizeof *tprops, GFP_KERNEL); in ib_cache_update() 1487 if (!tprops) in ib_cache_update() 1490 ret = ib_query_port(device, port, tprops); in ib_cache_update() 1498 tprops->gid_tbl_len); in ib_cache_update() 1503 if (tprops->pkey_tbl_len) { in ib_cache_update() 1505 tprops->pkey_tbl_len), in ib_cache_update() 1512 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update() 1531 device->port_data[port].cache.lmc = tprops in ib_cache_update() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DecimalFormat.java | 2503 DecimalFormatProperties tprops = new DecimalFormatProperties().copyFrom(properties); in toPattern() 2504 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern() 2505 || tprops.getCurrencyPluralInfo() != null in toPattern() 2506 || tprops.getCurrencyUsage() != null in toPattern() 2507 || tprops.getCurrencyAsDecimal() in toPattern() 2508 || AffixUtils.hasCurrencySymbols(tprops.getPositivePrefixPattern()) in toPattern() 2509 || AffixUtils.hasCurrencySymbols(tprops.getPositiveSuffixPattern()) in toPattern() 2510 || AffixUtils.hasCurrencySymbols(tprops.getNegativePrefixPattern()) in toPattern() 2511 || AffixUtils.hasCurrencySymbols(tprops.getNegativeSuffixPattern())); in toPattern() 2513 tprops in toPattern() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DecimalFormat.java | 2277 DecimalFormatProperties tprops = new DecimalFormatProperties().copyFrom(properties); in toPattern() 2278 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern() 2279 || tprops.getCurrencyPluralInfo() != null in toPattern() 2280 || tprops.getCurrencyUsage() != null in toPattern() 2281 || AffixUtils.hasCurrencySymbols(tprops.getPositivePrefixPattern()) in toPattern() 2282 || AffixUtils.hasCurrencySymbols(tprops.getPositiveSuffixPattern()) in toPattern() 2283 || AffixUtils.hasCurrencySymbols(tprops.getNegativePrefixPattern()) in toPattern() 2284 || AffixUtils.hasCurrencySymbols(tprops.getNegativeSuffixPattern())); in toPattern() 2286 tprops.setMinimumFractionDigits(exportedProperties.getMinimumFractionDigits()); in toPattern() 2287 tprops in toPattern() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | decimfmt.cpp | 1320 DecimalFormatProperties tprops(fields->properties); in toPattern() 1322 !tprops.currency.isNull() || in toPattern() 1323 !tprops.currencyPluralInfo.fPtr.isNull() || in toPattern() 1324 !tprops.currencyUsage.isNull() || in toPattern() 1325 tprops.currencyAsDecimal || in toPattern() 1326 AffixUtils::hasCurrencySymbols(tprops.positivePrefixPattern, localStatus) || in toPattern() 1327 AffixUtils::hasCurrencySymbols(tprops.positiveSuffixPattern, localStatus) || in toPattern() 1328 AffixUtils::hasCurrencySymbols(tprops.negativePrefixPattern, localStatus) || in toPattern() 1329 AffixUtils::hasCurrencySymbols(tprops.negativeSuffixPattern, localStatus)); in toPattern() 1331 tprops in toPattern() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | decimfmt.cpp | 1320 DecimalFormatProperties tprops(fields->properties); in toPattern() 1322 !tprops.currency.isNull() || in toPattern() 1323 !tprops.currencyPluralInfo.fPtr.isNull() || in toPattern() 1324 !tprops.currencyUsage.isNull() || in toPattern() 1325 tprops.currencyAsDecimal || in toPattern() 1326 AffixUtils::hasCurrencySymbols(tprops.positivePrefixPattern, localStatus) || in toPattern() 1327 AffixUtils::hasCurrencySymbols(tprops.positiveSuffixPattern, localStatus) || in toPattern() 1328 AffixUtils::hasCurrencySymbols(tprops.negativePrefixPattern, localStatus) || in toPattern() 1329 AffixUtils::hasCurrencySymbols(tprops.negativeSuffixPattern, localStatus)); in toPattern() 1331 tprops in toPattern() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | decimfmt.cpp | 1316 DecimalFormatProperties tprops(fields->properties); in toPattern() 1318 !tprops.currency.isNull() || in toPattern() 1319 !tprops.currencyPluralInfo.fPtr.isNull() || in toPattern() 1320 !tprops.currencyUsage.isNull() || in toPattern() 1321 AffixUtils::hasCurrencySymbols(tprops.positivePrefixPattern, localStatus) || in toPattern() 1322 AffixUtils::hasCurrencySymbols(tprops.positiveSuffixPattern, localStatus) || in toPattern() 1323 AffixUtils::hasCurrencySymbols(tprops.negativePrefixPattern, localStatus) || in toPattern() 1324 AffixUtils::hasCurrencySymbols(tprops.negativeSuffixPattern, localStatus)); in toPattern() 1326 tprops.minimumFractionDigits = fields->exportedProperties.minimumFractionDigits; in toPattern() 1327 tprops in toPattern() [all...] |