Home
last modified time | relevance | path

Searched refs:assert (Results 151 – 175 of 808) sorted by relevance

12345678910>>...33

/linux-6.15/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c124 assert(memcmp(buf, S32, strlen(S32)) == 0); in main()
126 assert(memcmp(buf, S64, strlen(S64)) == 0); in main()
128 assert(0); in main()
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Dia_css_device_access.c18 assert(env); in ia_css_device_access_init()
44 assert(0); in ia_css_device_load_uint64()
71 assert(0); in ia_css_device_store_uint64()
H A Dsh_css.c390 assert(pipe); in verify_copy_out_frame_format()
464 assert(stream); in sh_css_config_input_network_2400()
465 assert(pipe); in sh_css_config_input_network_2400()
1103 assert(pipe); in start_binary()
2184 assert(pipe); in load_copy_binary()
2344 assert(pipe); in load_preview_binaries()
2656 assert(pipe); in add_yuv_scaler_stage()
2657 assert(me); in add_yuv_scaler_stage()
2713 assert(pipe); in add_capture_pp_stage()
2714 assert(me); in add_capture_pp_stage()
[all …]
/linux-6.15/rust/pin-init/internal/src/
H A Dpinned_drop.rs10 assert!(!toks.is_empty()); in pinned_drop()
12 assert!(matches!(&toks[0], TokenTree::Ident(i) if i.to_string() == "impl")); in pinned_drop()
29 assert!( in pinned_drop()
/linux-6.15/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dgdc.c35 assert(ID < N_GDC_ID); in gdc_lut_store()
36 assert(HRT_GDC_LUT_COEFF_OFFSET <= (4 * sizeof(hrt_data))); in gdc_lut_store()
91 assert(ID < N_GDC_ID); in gdc_get_unity()
H A Ddma.c21 assert(ID < N_DMA_ID); in dma_set_max_burst_size()
22 assert(max_burst_size > 0); in dma_set_max_burst_size()
/linux-6.15/arch/mips/math-emu/
H A Ddp_add.c107 assert(xm & DP_HIDDEN_BIT); in ieee754dp_add()
108 assert(ym & DP_HIDDEN_BIT); in ieee754dp_add()
131 assert(xe == ye); in ieee754dp_add()
132 assert(xe <= DP_EMAX); in ieee754dp_add()
H A Ddp_sub.c114 assert(xm & DP_HIDDEN_BIT); in ieee754dp_sub()
115 assert(ym & DP_HIDDEN_BIT); in ieee754dp_sub()
137 assert(xe == ye); in ieee754dp_sub()
138 assert(xe <= DP_EMAX); in ieee754dp_sub()
H A Dsp_add.c107 assert(xm & SP_HIDDEN_BIT); in ieee754sp_add()
108 assert(ym & SP_HIDDEN_BIT); in ieee754sp_add()
131 assert(xe == ye); in ieee754sp_add()
132 assert(xe <= SP_EMAX); in ieee754sp_add()
H A Dsp_sub.c112 assert(xm & SP_HIDDEN_BIT); in ieee754sp_sub()
113 assert(ym & SP_HIDDEN_BIT); in ieee754sp_sub()
135 assert(xe == ye); in ieee754sp_sub()
136 assert(xe <= SP_EMAX); in ieee754sp_sub()
/linux-6.15/drivers/clk/stm32/
H A Dreset-stm32.c53 unsigned long id, bool assert) in stm32_reset_update() argument
67 if (!assert) in stm32_reset_update()
80 if (assert) in stm32_reset_update()
123 .assert = stm32_reset_assert,
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-pps17 What: /sys/class/pps/ppsX/assert
21 The /sys/class/pps/ppsX/assert file reports the assert events
22 and the assert sequence number of the X-th source in the form:
26 If the source has no assert events the content of this file
/linux-6.15/tools/perf/util/
H A Dbpf_counter.c58 assert(list_empty(&evsel->bpf_counter_list)); in bpf_program_profiler__destroy()
155 assert(skel != NULL); in bpf_program_profiler_load_one()
207 assert(counter->skel != NULL); in bpf_program_profiler__enable()
222 assert(counter->skel != NULL); in bpf_program_profiler__disable()
253 assert(skel != NULL); in bpf_program_profiler__read()
285 assert(skel != NULL); in bpf_program_profiler__install_pe()
430 assert(err == 0); in bperf_reload_leader_program()
433 assert(evsel->bperf_leader_link_fd >= 0); in bperf_reload_leader_program()
522 assert(diff_map_fd >= 0); in bperf__load()
656 assert(i == 0); in bperf__read()
[all …]
/linux-6.15/Documentation/devicetree/bindings/pps/
H A Dpps-gpio.yaml27 assert-falling-edge:
28 description: Indicates a falling edge assert, when present. Rising edge if absent.
46 assert-falling-edge;
/linux-6.15/tools/testing/selftests/kvm/lib/x86/
H A Dsev.c40 assert(vm->arch.sev_fd == -1); in sev_vm_init()
45 assert(vm->type == KVM_X86_SEV_VM); in sev_vm_init()
53 assert(vm->arch.sev_fd == -1); in sev_es_vm_init()
58 assert(vm->type == KVM_X86_SEV_ES_VM); in sev_es_vm_init()
/linux-6.15/lib/zstd/compress/
H A Dzstd_fast.c32 assert(dtlm == ZSTD_dtlm_full); in ZSTD_fillHashTableForCDict()
69 assert(dtlm == ZSTD_dtlm_fast); in ZSTD_fillHashTableForCCtx()
449 assert(ms->dictMatchState == NULL); in ZSTD_compressBlock_fast()
536 assert(offset_1 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
537 assert(offset_2 <= dictAndPrefixLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
540 assert(stepSize >= 1); in ZSTD_compressBlock_fast_dictMatchState_generic()
633 assert(mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
666 assert(ip0 == anchor); in ZSTD_compressBlock_fast_dictMatchState_generic()
690 assert(ms->dictMatchState != NULL); in ZSTD_compressBlock_fast_dictMatchState()
921 assert(matchEnd != 0); in ZSTD_compressBlock_fast_extDict_generic()
[all …]
/linux-6.15/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dibuf_ctrl_rmgr.c47 assert(start_addr); in ia_css_isys_ibuf_rmgr_acquire()
48 assert(size > 0); in ia_css_isys_ibuf_rmgr_acquire()
103 assert(start_addr); in ia_css_isys_ibuf_rmgr_release()
/linux-6.15/samples/bpf/
H A Dsock_example.c85 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in test_sock()
88 assert(bpf_map_lookup_elem(map_fd, &key, &udp_cnt) == 0); in test_sock()
91 assert(bpf_map_lookup_elem(map_fd, &key, &icmp_cnt) == 0); in test_sock()
/linux-6.15/drivers/reset/sti/
H A Dreset-syscfg.c51 unsigned long idx, int assert) in syscfg_reset_program_hw() argument
55 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
127 .assert = syscfg_reset_assert,
/linux-6.15/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dassert_support.h23 #define assert(cnd) \ macro
34 #define OP___assert(cnd) assert(cnd)
/linux-6.15/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Disys_dma.c20 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_set_max_burst_size()
21 assert((max_burst_size > 0x00) && (max_burst_size <= 0xFF)); in isys2401_dma_set_max_burst_size()
H A Dpixelgen_private.h27 assert(ID < N_PIXELGEN_ID); in pixelgen_ctrl_reg_load()
28 assert(PIXELGEN_CTRL_BASE[ID] != (hrt_address) - 1); in pixelgen_ctrl_reg_load()
42 assert(ID < N_PIXELGEN_ID); in pixelgen_ctrl_reg_store()
43 assert(PIXELGEN_CTRL_BASE[ID] != (hrt_address)-1); in pixelgen_ctrl_reg_store()
/linux-6.15/arch/arm/lib/
H A Dbitops.h10 strbne r1, [ip] @ assert word-aligned
35 strbne r1, [ip] @ assert word-aligned
73 strbne r1, [ip] @ assert word-aligned
100 strbne r1, [ip] @ assert word-aligned
/linux-6.15/tools/testing/scatterlist/
H A Dmain.c22 assert(num < MAX_PAGES); in set_pages()
103 assert(ret == test->alloc_ret); in main()
114 assert(ret == test->alloc_ret); in main()
130 assert(i == (sizeof(tests) / sizeof(tests[0])) - 1); in main()
/linux-6.15/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.c49 assert(flen > tlen); in feats_to_string()
130 assert(!td->sig_trig || td->triggered); in handle_signal_ok()
387 assert(current); in test_setup()
388 assert(td); in test_setup()
389 assert(td->name); in test_setup()
390 assert(td->run); in test_setup()

12345678910>>...33