Home
last modified time | relevance | path

Searched refs:res (Results 5176 - 5200 of 14097) sorted by relevance

1...<<201202203204205206207208209210>>...564

/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-iop3xx.c397 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in iop3xx_i2c_remove() local
408 release_mem_region(res->start, IOP3XX_I2C_IO_SIZE); in iop3xx_i2c_remove()
416 struct resource *res; in iop3xx_i2c_probe() local
448 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in iop3xx_i2c_probe()
449 if (!res) { in iop3xx_i2c_probe()
454 if (!request_mem_region(res->start, IOP3XX_I2C_IO_SIZE, pdev->name)) { in iop3xx_i2c_probe()
462 adapter_data->ioaddr = ioremap(res->start, IOP3XX_I2C_IO_SIZE); in iop3xx_i2c_probe()
509 release_mem_region(res->start, IOP3XX_I2C_IO_SIZE); in iop3xx_i2c_probe()
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Dhwspinlock_core.c554 static void devm_hwspin_lock_unreg(struct device *dev, void *res) in devm_hwspin_lock_unreg() argument
556 hwspin_lock_unregister(*(struct hwspinlock_device **)res); in devm_hwspin_lock_unreg()
559 static int devm_hwspin_lock_device_match(struct device *dev, void *res, in devm_hwspin_lock_device_match() argument
562 struct hwspinlock_device **bank = res; in devm_hwspin_lock_device_match()
842 static int devm_hwspin_lock_match(struct device *dev, void *res, void *data) in devm_hwspin_lock_match() argument
844 struct hwspinlock **hwlock = res; in devm_hwspin_lock_match()
852 static void devm_hwspin_lock_release(struct device *dev, void *res) in devm_hwspin_lock_release() argument
854 hwspin_lock_free(*(struct hwspinlock **)res); in devm_hwspin_lock_release()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrlfs.c557 char *res; in check_resctrlfs_support() local
563 res = fgrep(inf, "nodev\tresctrl\n"); in check_resctrlfs_support()
565 if (res) { in check_resctrlfs_support()
567 free(res); in check_resctrlfs_support()
620 char *res; in validate_resctrl_feature_request() local
644 res = fgrep(inf, feature); in validate_resctrl_feature_request()
645 free(res); in validate_resctrl_feature_request()
648 return !!res; in validate_resctrl_feature_request()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dsigreturn.c614 greg_t req = requested_regs[i], res = resulting_regs[i]; in test_valid_sigreturn() local
635 if (res == req) in test_valid_sigreturn()
638 if (cs_bits != 64 && ((res ^ req) & 0xFFFFFFFF) == 0) { in test_valid_sigreturn()
641 (unsigned long long)res); in test_valid_sigreturn()
679 if (i == REG_CX && req != res) { in test_valid_sigreturn()
682 (unsigned long long)res); in test_valid_sigreturn()
687 if (req != res && !ignore_reg) { in test_valid_sigreturn()
690 (unsigned long long)res); in test_valid_sigreturn()
/kernel/linux/linux-6.6/lib/
H A Dstring_helpers.c669 int i, res; in kstrdup_quotable_cmdline() local
675 res = get_cmdline(task, buffer, PAGE_SIZE - 1); in kstrdup_quotable_cmdline()
676 buffer[res] = '\0'; in kstrdup_quotable_cmdline()
678 /* Collapse trailing NULLs, leave res pointing to last non-NULL. */ in kstrdup_quotable_cmdline()
679 while (--res >= 0 && buffer[res] == '\0') in kstrdup_quotable_cmdline()
683 for (i = 0; i <= res; i++) in kstrdup_quotable_cmdline()
798 static void devm_kfree_strarray(struct device *dev, void *res) in devm_kfree_strarray() argument
800 struct strarray *array = res; in devm_kfree_strarray()
/kernel/linux/linux-6.6/net/core/
H A Dgen_stats.c227 int res; in ___gnet_stats_copy_basic() local
232 res = gnet_stats_copy(d, type, &sb, sizeof(sb), TCA_STATS_PAD); in ___gnet_stats_copy_basic()
233 if (res < 0 || sb.packets == bstats_packets) in ___gnet_stats_copy_basic()
234 return res; in ___gnet_stats_copy_basic()
313 int res; in gnet_stats_copy_rate_est() local
327 res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est), in gnet_stats_copy_rate_est()
329 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
330 return res; in gnet_stats_copy_rate_est()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dringbuf.c277 int64_t err, res = 0; in ring_buffer__consume() local
286 res += err; in ring_buffer__consume()
288 if (res > INT_MAX) in ring_buffer__consume()
290 return res; in ring_buffer__consume()
300 int64_t err, res = 0; in ring_buffer__poll() local
313 res += err; in ring_buffer__poll()
315 if (res > INT_MAX) in ring_buffer__poll()
317 return res; in ring_buffer__poll()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
H A Dpthread_test_004.cpp96 void *res = NULL; in ThreadFunc5() local
115 ret = pthread_join(newPthread, &res); in ThreadFunc5()
229 void *res = NULL; in threadFunc() local
273 ret = pthread_join(newPthread, &res); in threadFunc()
297 ret = pthread_join(newPthread, &res); in threadFunc()
316 void *res = NULL; in PthreadTest004() local
355 ret = pthread_join(newPthread, &res); in PthreadTest004()
375 ret = pthread_join(newPthread1, &res); in PthreadTest004()
/third_party/ffmpeg/libavfilter/
H A Df_select.c332 double res; in select_frame() local
366 select->select = res = av_expr_eval(select->expr, select->var_values, NULL); in select_frame()
389 if (res == 0) { in select_frame()
391 } else if (isnan(res) || res < 0) { in select_frame()
394 select->select_out = FFMIN(ceilf(res)-1, select->nb_outputs-1); /* other outputs */ in select_frame()
397 av_log(inlink->dst, AV_LOG_DEBUG, " -> select:%f select_out:%d\n", res, select->select_out); in select_frame()
399 if (res) { in select_frame()
H A Dvf_chromakey_cuda.c345 .res.pitch2D.format = CU_AD_FORMAT_UNSIGNED_INT8, in cudachromakey_process_internal()
346 .res.pitch2D.numChannels = s->in_plane_channels[i], in cudachromakey_process_internal()
347 .res.pitch2D.pitchInBytes = in->linesize[i], in cudachromakey_process_internal()
348 .res.pitch2D.devPtr = (CUdeviceptr)in->data[i], in cudachromakey_process_internal()
353 res_desc.res.pitch2D.width = AV_CEIL_RSHIFT(in->width, s->in_desc->log2_chroma_w); in cudachromakey_process_internal()
354 res_desc.res.pitch2D.height = AV_CEIL_RSHIFT(in->height, s->in_desc->log2_chroma_h); in cudachromakey_process_internal()
358 res_desc.res.pitch2D.width = in->width; in cudachromakey_process_internal()
359 res_desc.res.pitch2D.height = in->height; in cudachromakey_process_internal()
H A Dvf_crop.c133 double res; in config_input() local
160 av_expr_parse_and_eval(&res, (expr = s->w_expr), in config_input()
163 s->var_values[VAR_OUT_W] = s->var_values[VAR_OW] = res; in config_input()
164 if ((ret = av_expr_parse_and_eval(&res, (expr = s->h_expr), in config_input()
168 s->var_values[VAR_OUT_H] = s->var_values[VAR_OH] = res; in config_input()
170 if ((ret = av_expr_parse_and_eval(&res, (expr = s->w_expr), in config_input()
175 s->var_values[VAR_OUT_W] = s->var_values[VAR_OW] = res; in config_input()
319 char *res, int res_len, int flags) in process_command()
318 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument
H A Dvf_yadif_cuda.c87 .res.pitch2D.format = format, in call_kernel()
88 .res.pitch2D.numChannels = channels, in call_kernel()
89 .res.pitch2D.width = src_width, in call_kernel()
90 .res.pitch2D.height = src_height, in call_kernel()
91 .res.pitch2D.pitchInBytes = src_pitch, in call_kernel()
94 res_desc.res.pitch2D.devPtr = (CUdeviceptr)prev; in call_kernel()
99 res_desc.res.pitch2D.devPtr = (CUdeviceptr)cur; in call_kernel()
104 res_desc.res.pitch2D.devPtr = (CUdeviceptr)next; in call_kernel()
/third_party/icu/icu4c/source/i18n/
H A Dtzrule.cpp28 int32_t res = l < r ? -1 : (l == r ? 0 : 1); in compareDates() local
29 return res; in compareDates()
462 bool res = true;
465 res = false;
469 return res;
510 UBool res = true;
513 res = false;
517 return res;
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zDecode.cpp163 const HRESULT res = _glob->Stream->Read(data, size, &realProcessedSize);
168 return res;
201 const HRESULT res = _glob->Stream->Read(data, size, &realProcessedSize);
206 return res;
412 HRESULT res = setDecoderProperties->SetDecoderProperties2((const Byte *)props, size32);
413 if (res == E_INVALIDARG)
414 res = E_NOTIMPL;
415 RINOK(res)
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/
H A DLzmaSpec.cpp180 UInt32 res = 0; in DecodeDirectBits() local
192 res <<= 1; in DecodeDirectBits()
193 res += t + 1; in DecodeDirectBits()
196 return res; in DecodeDirectBits()
663 int res = lzmaDecoder.Decode(unpackSizeDefined, unpackSize); in main2() local
668 if (res == LZMA_RES_ERROR) in main2()
670 else if (res == LZMA_RES_FINISHED_WITHOUT_MARKER) in main2()
672 else if (res == LZMA_RES_FINISHED_WITH_MARKER) in main2()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_builtin_builder.h57 nir_nan_check2(nir_builder *b, nir_ssa_def *x, nir_ssa_def *y, nir_ssa_def *res) in nir_nan_check2() argument
59 return nir_bcsel(b, nir_fneu(b, x, x), x, nir_bcsel(b, nir_fneu(b, y, y), y, res)); in nir_nan_check2()
66 nir_ssa_def *res = nir_channel(b, abs, 0); in nir_fmax_abs_vec_comp() local
68 res = nir_fmax(b, res, nir_channel(b, abs, i)); in nir_fmax_abs_vec_comp()
69 return res; in nir_fmax_abs_vec_comp()
151 nir_ssa_def *res = nir_fsub(b, x, y); in nir_fdim() local
155 return nir_nan_check2(b, x, y, nir_bcsel(b, cond, res, zero)); in nir_fdim()
H A Dnir_lower_bit_size.c167 nir_ssa_def *res = &new_intrin->dest.ssa; in lower_intrinsic_instr() local
178 res = nir_imin(b, res, nir_imm_intN_t(b, int_max, bit_size)); in lower_intrinsic_instr()
183 res = nir_imax(b, res, nir_imm_intN_t(b, int_min, bit_size)); in lower_intrinsic_instr()
193 res = nir_u2u(b, res, old_bit_size); in lower_intrinsic_instr()
195 nir_ssa_def_rewrite_uses(&intrin->dest.ssa, res); in lower_intrinsic_instr()
/third_party/ltp/lib/
H A Dtst_rtnetlink.c363 struct tst_rtnl_context *ctx, struct tst_rtnl_message *res) in tst_rtnl_check_acks()
374 while (res->header && res->header->nlmsg_seq != msg->nlmsg_seq) in tst_rtnl_check_acks()
375 res++; in tst_rtnl_check_acks()
377 if (!res->err || res->header->nlmsg_seq != msg->nlmsg_seq) { in tst_rtnl_check_acks()
384 if (res->err->error) { in tst_rtnl_check_acks()
385 tst_rtnl_errno = -res->err->error; in tst_rtnl_check_acks()
362 tst_rtnl_check_acks(const char *file, const int lineno, struct tst_rtnl_context *ctx, struct tst_rtnl_message *res) tst_rtnl_check_acks() argument
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsck.c335 VCN res; in get_last_vcn() local
340 res = LCN_EINVAL; in get_last_vcn()
345 res = rl->vcn; in get_last_vcn()
347 res = rl->vcn + rl->length; in get_last_vcn()
351 return res; in get_last_vcn()
726 int res; in verify_mft_preliminary() local
760 if ((res = mft_bitmap_load(rawvol))) in verify_mft_preliminary()
761 return res; in verify_mft_preliminary()
/third_party/node/deps/icu-small/source/i18n/
H A Dtzrule.cpp28 int32_t res = l < r ? -1 : (l == r ? 0 : 1); in compareDates() local
29 return res; in compareDates()
462 bool res = true;
465 res = false;
469 return res;
510 UBool res = true;
513 res = false;
517 return res;
/third_party/ltp/testcases/lib/
H A Dtst_test.sh108 *) tst_brk TBROK "Invalid res type '$1'";;
114 local res=$1
117 _tst_inc_res "$res"
120 tst_print_colored $res "$res: " >&2
126 local res=$1
134 tst_res "$res" "$@"
496 local res=$(_tst_resstr)
498 if [ "$1" = "$res" ]; then
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir_aos.c230 LLVMValueRef res; in emit_load_ubo() local
232 res = bld->bld_base.base.undef; in emit_load_ubo()
251 res = LLVMBuildInsertElement(builder, res, scalar, swizzle, ""); in emit_load_ubo()
266 res = LLVMBuildShuffleVector(builder, res, bld->bld_base.base.undef, in emit_load_ubo()
272 swizzle_aos(bld_base, res, 0, 1, 2, 3); in emit_load_ubo()
274 result[0] = res; in emit_load_ubo()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_surface.cpp90 struct d3d12_resource *res = d3d12_resource(pres); in initialize_dsv() local
147 screen->dev->CreateDepthStencilView(d3d12_resource_resource(res), &desc, in initialize_dsv()
158 struct d3d12_resource *res = d3d12_resource(pres); in initialize_rtv() local
197 desc.Texture2D.PlaneSlice = res->plane_slice; in initialize_rtv()
226 screen->dev->CreateRenderTargetView(d3d12_resource_resource(res), &desc, in initialize_rtv()
311 struct d3d12_resource *res = d3d12_resource(surface->base.texture); in d3d12_surface_update_pre_draw() local
344 res = d3d12_resource(surface->rgba_texture); in d3d12_surface_update_pre_draw()
348 initialize_rtv(surface->base.context, &res->base.b, &surface->base, in d3d12_surface_update_pre_draw()
/third_party/openssl/test/
H A Dcmp_client_test.c128 X509 *res = OSSL_CMP_exec_certreq(ctx, fixture->req_type, NULL); in execute_exec_certrequest_ses_test() local
137 return TEST_ptr_null(res); in execute_exec_certrequest_ses_test()
139 if (!TEST_ptr(res) || !TEST_int_eq(X509_cmp(res, client_cert), 0)) in execute_exec_certrequest_ses_test()
440 int res = in execute_exchange_certConf_test() local
444 return TEST_int_eq(fixture->expected, res); in execute_exchange_certConf_test()
449 int res = in execute_exchange_error_test() local
455 return TEST_int_eq(fixture->expected, res); in execute_exchange_error_test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiPhysicalDeviceFormatPropertiesMaint5Tests.cpp148 VkResult res = VK_ERROR_FORMAT_NOT_SUPPORTED; in iterate() local
203 res = inst.getPhysicalDeviceImageFormatProperties(dev, format, imageType, tiling, usage, createFlags, &imageProps1); in iterate()
210 res = inst.getPhysicalDeviceImageFormatProperties2(dev, &imageFormatInfo, &imageProps2); in iterate()
231 return (VK_ERROR_FORMAT_NOT_SUPPORTED == res && std::all_of(verdicts.begin(), verdicts.end(), [](bool x){ return x; })) in iterate()
240 VkResult res = VK_ERROR_FORMAT_NOT_SUPPORTED; in iterate() local
279 res = inst.getPhysicalDeviceImageFormatProperties(dev, format, imageType, tiling, usage, createFlags, &imageProps1); in iterate()
286 res = inst.getPhysicalDeviceImageFormatProperties2(dev, &imageFormatInfo, &imageProps2); in iterate()
313 return (VK_ERROR_FORMAT_NOT_SUPPORTED == res && std::all_of(verdicts.begin(), verdicts.end(), [](bool x){ return x; })) in iterate()

Completed in 23 milliseconds

1...<<201202203204205206207208209210>>...564