Home
last modified time | relevance | path

Searched refs:res (Results 6351 - 6375 of 13729) sorted by relevance

1...<<251252253254255256257258259260>>...550

/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp436 int32_t res = AssembleArp(ipAddr, macAddr, ifName, req); in AddStaticArp() local
437 if (res != NETMANAGER_SUCCESS) { in AddStaticArp()
439 return res; in AddStaticArp()
457 int32_t res = AssembleArp(ipAddr, macAddr, ifName, req); in DelStaticArp() local
458 if (res != NETMANAGER_SUCCESS) { in DelStaticArp()
460 return res; in DelStaticArp()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp321 napi_value res = nullptr; in JsonStringify() local
323 status = napi_call_function(env, json, stringify, 1, argv, &res); in JsonStringify()
325 return std::make_tuple(napi_ok, res); in JsonStringify()
348 napi_value res = nullptr; in JsonParse() local
350 PRE_CHECK_RETURN_CORE(napi_call_function(env, json, parse, 1, argv, &res) == napi_ok, PRE_REVT_NOTHING, nullptr); in JsonParse()
351 return res; in JsonParse()
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp28 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString() local
29 if (res == nullptr) { in MallocCString()
32 return std::char_traits<char>::copy(res, origin.c_str(), len); in MallocCString()
274 std::vector<NativeRdb::RdbStore::PRIKey> res = std::vector<NativeRdb::RdbStore::PRIKey>(); in CArrPRIKeyTypeToPRIKeyArray() local
276 res.push_back(RetPRIKeyTypeToVariant(cPrimaryKeys.head[i])); in CArrPRIKeyTypeToPRIKeyArray()
278 return res; in CArrPRIKeyTypeToPRIKeyArray()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dlistfile.cpp189 int32_t res = stat(stPath.c_str(), &info); in FilterFilesizeOver() local
190 if (res != 0) { in FilterFilesizeOver()
207 int32_t res = stat(stPath.c_str(), &info); in FilterLastModifyTime() local
208 if (res != 0) { in FilterLastModifyTime()
350 auto res = DoListFileVector2NV(env, string(path.get()), direntsRes, g_optionArgs.recursion); in Sync() local
352 return res; in Sync()
/foundation/window/window_manager/wmserver/src/
H A Davoid_area_controller.cpp146 bool res = UpdateAvoidAreaIfNeed(avoidArea, callingWindow, AvoidAreaType::TYPE_KEYBOARD); in AddOrRemoveKeyboard() local
147 if (res) { in AddOrRemoveKeyboard()
168 bool res = UpdateAvoidAreaIfNeed(GetAvoidAreaByType(appNode, type), appNode, type); in UpdateOverlayWindowIfNeed() local
169 if (type == AvoidAreaType::TYPE_KEYBOARD && res) { in UpdateOverlayWindowIfNeed()
183 bool res = UpdateAvoidAreaIfNeed(systemAvoidArea, node, static_cast<AvoidAreaType>(type)); in UpdateOverlayWindowIfNeed() local
184 if (res && type == static_cast<uint32_t>(AvoidAreaType::TYPE_KEYBOARD)) { in UpdateOverlayWindowIfNeed()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_agent_test.cpp395 auto res = 0; in HWTEST_F() local
398 ASSERT_EQ(0, res); in HWTEST_F()
402 ASSERT_EQ(0, res); in HWTEST_F()
412 auto res = 0; in HWTEST_F() local
415 ASSERT_EQ(0, res); in HWTEST_F()
420 ASSERT_EQ(0, res); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpptt.c83 * @local_level: passed res reflects this cache level
84 * @res: cache resource in the PPTT we want to walk
103 struct acpi_subtable_header *res, in acpi_pptt_walk_cache()
109 if (res->type != ACPI_PPTT_TYPE_CACHE) in acpi_pptt_walk_cache()
112 cache = (struct acpi_pptt_cache *) res; in acpi_pptt_walk_cache()
141 struct acpi_subtable_header *res; in acpi_find_cache_level() local
148 while ((res = acpi_get_pptt_resource(table_hdr, cpu_node, resource))) { in acpi_find_cache_level()
152 res, &ret, level, type); in acpi_find_cache_level()
101 acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, unsigned int local_level, struct acpi_subtable_header *res, struct acpi_pptt_cache **found, unsigned int level, int type) acpi_pptt_walk_cache() argument
/kernel/linux/linux-5.10/drivers/firmware/psci/
H A Dpsci.c116 struct arm_smccc_res res; in __invoke_psci_fn_hvc() local
118 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_hvc()
119 return res.a0; in __invoke_psci_fn_hvc()
126 struct arm_smccc_res res; in __invoke_psci_fn_smc() local
128 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_smc()
129 return res.a0; in __invoke_psci_fn_smc()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
H A Docteon-usb.c501 struct resource *res; in dwc3_octeon_device_init() local
519 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_octeon_device_init()
520 if (res == NULL) { in dwc3_octeon_device_init()
532 base = devm_ioremap_resource(&pdev->dev, res); in dwc3_octeon_device_init()
545 devm_release_mem_region(&pdev->dev, res->start, in dwc3_octeon_device_init()
546 resource_size(res)); in dwc3_octeon_device_init()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Datomic.h109 unsigned long res; in atomic_cmpxchg_relaxed() local
119 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in atomic_cmpxchg_relaxed()
122 } while (res); in atomic_cmpxchg_relaxed()
407 unsigned long res; in atomic64_cmpxchg_relaxed() local
418 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in atomic64_cmpxchg_relaxed()
421 } while (res); in atomic64_cmpxchg_relaxed()
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
H A Dsetup_tx4938.c336 struct resource res[] = { in tx4938_ata_init() local
369 res[0].start = ((ebccr >> 48) << 20) + 0x10000; in tx4938_ata_init()
370 res[0].end = res[0].start + 0x20000 - 1; in tx4938_ata_init()
373 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || in tx4938_ata_init()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dfsl_msi.c402 struct resource res, msiir; in fsl_of_msi_probe() local
438 err = of_address_to_resource(dev->dev.of_node, 0, &res); in fsl_of_msi_probe()
445 msi->msi_regs = ioremap(res.start, resource_size(&res)); in fsl_of_msi_probe()
453 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
461 (res.start & MSIIR_OFFSET_MASK); in fsl_of_msi_probe()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Datomic.h74 int res, t; \
81 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
85 return res; \
366 s64 res, t; \
373 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
377 return res; \
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/
H A Dcore.c116 bool *res = (bool *)__pa_nodebug(&dis_ucode_ldr); in check_loader_disabled_bsp() local
121 bool *res = &dis_ucode_ldr; in check_loader_disabled_bsp() local
130 return *res; in check_loader_disabled_bsp()
134 return *res; in check_loader_disabled_bsp()
138 *res = false; in check_loader_disabled_bsp()
140 return *res; in check_loader_disabled_bsp()
/kernel/linux/linux-5.10/crypto/
H A Dcrypto_user_base.c230 int res; in crypto_dump_report() local
240 res = crypto_report_alg(alg, &info); in crypto_dump_report()
241 if (res == -EMSGSIZE) in crypto_dump_report()
243 if (res) in crypto_dump_report()
249 res = skb->len; in crypto_dump_report()
252 return res; in crypto_dump_report()
/kernel/linux/linux-5.10/drivers/ata/
H A Dahci_tegra.c484 struct resource *res; in tegra_ahci_probe() local
500 res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in tegra_ahci_probe()
501 tegra->sata_regs = devm_ioremap_resource(&pdev->dev, res); in tegra_ahci_probe()
508 res = platform_get_resource(pdev, IORESOURCE_MEM, 2); in tegra_ahci_probe()
509 if (res) { in tegra_ahci_probe()
510 tegra->sata_aux_regs = devm_ioremap_resource(&pdev->dev, res); in tegra_ahci_probe()
H A Dpata_ftide010.c459 struct resource *res; in pata_ftide010_probe() local
473 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pata_ftide010_probe()
474 if (!res) in pata_ftide010_probe()
477 ftide->base = devm_ioremap_resource(dev, res); in pata_ftide010_probe()
501 (res->start == 0x63400000)); in pata_ftide010_probe()
529 readl(ftide->base + FTIDE010_IDE_DEVICE_ID), irq, res); in pata_ftide010_probe()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-lpc18xx.c210 struct resource res; in lpc18xx_gpio_pin_ic_probe() local
233 ret = of_address_to_resource(dev->of_node, index, &res); in lpc18xx_gpio_pin_ic_probe()
237 ic->base = devm_ioremap_resource(dev, &res); in lpc18xx_gpio_pin_ic_probe()
345 struct resource res; in lpc18xx_gpio_probe() local
347 ret = of_address_to_resource(dev->of_node, index, &res); in lpc18xx_gpio_probe()
351 gc->base = devm_ioremap_resource(dev, &res); in lpc18xx_gpio_probe()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dgpio.c292 struct resource *res; in gpio_nand_probe() local
305 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in gpio_nand_probe()
306 gpiomtd->io = devm_ioremap_resource(dev, res); in gpio_nand_probe()
310 res = gpio_nand_get_io_sync(pdev); in gpio_nand_probe()
311 if (res) { in gpio_nand_probe()
312 gpiomtd->io_sync = devm_ioremap_resource(dev, res); in gpio_nand_probe()
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Datomic.h109 unsigned long res; in arch_atomic_cmpxchg_relaxed() local
119 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in arch_atomic_cmpxchg_relaxed()
122 } while (res); in arch_atomic_cmpxchg_relaxed()
414 unsigned long res; in arch_atomic64_cmpxchg_relaxed() local
425 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in arch_atomic64_cmpxchg_relaxed()
428 } while (res); in arch_atomic64_cmpxchg_relaxed()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dfsl_msi.c397 struct resource res, msiir; in fsl_of_msi_probe() local
433 err = of_address_to_resource(dev->dev.of_node, 0, &res); in fsl_of_msi_probe()
440 msi->msi_regs = ioremap(res.start, resource_size(&res)); in fsl_of_msi_probe()
448 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
456 (res.start & MSIIR_OFFSET_MASK); in fsl_of_msi_probe()
/kernel/linux/linux-6.6/arch/mips/txx9/generic/
H A Dsetup_tx4938.c336 struct resource res[] = { in tx4938_ata_init() local
369 res[0].start = ((ebccr >> 48) << 20) + 0x10000; in tx4938_ata_init()
370 res[0].end = res[0].start + 0x20000 - 1; in tx4938_ata_init()
373 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || in tx4938_ata_init()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Duv.c191 int res; in expected_page_refs() local
193 res = page_mapcount(page); in expected_page_refs()
195 res++; in expected_page_refs()
197 res++; in expected_page_refs()
199 res++; in expected_page_refs()
201 return res; in expected_page_refs()
/kernel/linux/linux-5.10/drivers/leds/
H A Dled-class.c266 static void devm_led_release(struct device *dev, void *res) in devm_led_release() argument
268 struct led_classdev **p = res; in devm_led_release()
469 static void devm_led_classdev_release(struct device *dev, void *res) in devm_led_classdev_release() argument
471 led_classdev_unregister(*(struct led_classdev **)res); in devm_led_classdev_release()
505 static int devm_led_classdev_match(struct device *dev, void *res, void *data) in devm_led_classdev_match() argument
507 struct led_classdev **p = res; in devm_led_classdev_match()
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_i2c.c204 int i, trans_done, res = num; in netup_i2c_xfer() local
243 res = -EIO; in netup_i2c_xfer()
252 res = -EINVAL; in netup_i2c_xfer()
267 res = -ETIMEDOUT; in netup_i2c_xfer()
275 dev_dbg(i2c->adap.dev.parent, "%s(): result %d\n", __func__, res); in netup_i2c_xfer()
276 return res; in netup_i2c_xfer()

Completed in 24 milliseconds

1...<<251252253254255256257258259260>>...550