Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 646) sorted by relevance

12345678910>>...26

/linux/lib/crypto/
H A Dblake2s-selftest.c554 bool success = true; in blake2s_digest_test() local
572 success = false; in blake2s_digest_test()
588 success = false; in blake2s_digest_test()
592 return success; in blake2s_digest_test()
598 bool success = true; in blake2s_random_test() local
620 success = false; in blake2s_random_test()
635 success = false; in blake2s_random_test()
640 return success; in blake2s_random_test()
645 bool success; in blake2s_selftest() local
647 success in blake2s_selftest()
[all...]
/linux/arch/sparc/prom/
H A Dranges.c68 int success; in prom_ranges_init() local
77 success = prom_getproperty(obio_node, "ranges", in prom_ranges_init()
80 if (success != -1) in prom_ranges_init()
81 num_obio_ranges = (success / sizeof(struct linux_prom_ranges)); in prom_ranges_init()
91 int success; in prom_apply_generic_ranges() local
95 success = prom_getproperty(node, "ranges", in prom_apply_generic_ranges()
98 if (success != -1) { in prom_apply_generic_ranges()
99 num_ranges = (success / sizeof(struct linux_prom_ranges)); in prom_apply_generic_ranges()
104 success = prom_getproperty(parent, "ranges", in prom_apply_generic_ranges()
107 if (success ! in prom_apply_generic_ranges()
[all...]
/linux/security/apparmor/
H A Dpolicy_unpack_test.c329 bool success; in policy_unpack_test_unpack_nameX_with_null_name() local
333 success = aa_unpack_nameX(puf->e, AA_U32, NULL); in policy_unpack_test_unpack_nameX_with_null_name()
335 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_null_name()
343 bool success; in policy_unpack_test_unpack_nameX_with_wrong_code() local
347 success = aa_unpack_nameX(puf->e, AA_BLOB, NULL); in policy_unpack_test_unpack_nameX_with_wrong_code()
349 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
358 bool success; in policy_unpack_test_unpack_nameX_with_name() local
362 success = aa_unpack_nameX(puf->e, AA_U32, name); in policy_unpack_test_unpack_nameX_with_name()
364 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_name()
373 bool success; in policy_unpack_test_unpack_nameX_with_wrong_name() local
447 bool success; policy_unpack_test_unpack_u32_with_null_name() local
464 bool success; policy_unpack_test_unpack_u32_with_name() local
481 bool success; policy_unpack_test_unpack_u32_out_of_bounds() local
497 bool success; policy_unpack_test_unpack_u64_with_null_name() local
514 bool success; policy_unpack_test_unpack_u64_with_name() local
531 bool success; policy_unpack_test_unpack_u64_out_of_bounds() local
547 bool success = aa_unpack_X(puf->e, AA_NAME); policy_unpack_test_unpack_X_code_match() local
556 bool success = aa_unpack_X(puf->e, AA_STRING); policy_unpack_test_unpack_X_code_mismatch() local
565 bool success; policy_unpack_test_unpack_X_out_of_bounds() local
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dobj_name.c8 int success; in test_obj_name() member
40 CHECK((tests[i].success && fd < 0) || in test_obj_name()
41 (!tests[i].success && fd >= 0) || in test_obj_name()
42 (!tests[i].success && errno != tests[i].expected_errno), in test_obj_name()
45 fd, tests[i].success, errno, tests[i].expected_errno); in test_obj_name()
61 CHECK((tests[i].success && fd < 0) || in test_obj_name()
62 (!tests[i].success && fd >= 0) || in test_obj_name()
63 (!tests[i].success && errno != tests[i].expected_errno), in test_obj_name()
66 fd, tests[i].success, errno, tests[i].expected_errno); in test_obj_name()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr_smu_msg.c268 bool success; in dcn401_smu_set_idle_uclk_fclk_hardmin() local
275 success = dcn401_smu_send_msg_with_param(clk_mgr, in dcn401_smu_set_idle_uclk_fclk_hardmin()
279 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_idle_uclk_fclk_hardmin()
280 smu_print("SMU hard_min_done %d\n", success); in dcn401_smu_set_idle_uclk_fclk_hardmin()
282 return success; in dcn401_smu_set_idle_uclk_fclk_hardmin()
290 bool success; in dcn401_smu_set_active_uclk_fclk_hardmin() local
297 success = dcn401_smu_send_msg_with_param(clk_mgr, in dcn401_smu_set_active_uclk_fclk_hardmin()
301 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_active_uclk_fclk_hardmin()
302 smu_print("SMU hard_min_done %d\n", success); in dcn401_smu_set_active_uclk_fclk_hardmin()
304 return success; in dcn401_smu_set_active_uclk_fclk_hardmin()
312 bool success; dcn401_smu_set_subvp_uclk_fclk_hardmin() local
[all...]
/linux/scripts/
H A DKconfig.include14 # $(if-success,<command>,<then>,<else>)
16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)")
18 # $(success,<command>)
20 success = $(if-success,$(1),y,n) variable
24 failure = $(if-success,$(1),n,y)
28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) -c -x c /dev/null -o .tmp_$$/tmp.o)
32 ld-option = $(success,$(LD) -v $(1))
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -)
45 $(error-if,$(success,tes
[all...]
/linux/arch/alpha/include/asm/
H A Dspinlock.h100 int success; in arch_read_trylock() local
113 : "=m" (*lock), "=&r" (regx), "=&r" (success) in arch_read_trylock()
116 return success; in arch_read_trylock()
122 int success; in arch_write_trylock() local
135 : "=m" (*lock), "=&r" (regx), "=&r" (success) in arch_write_trylock()
138 return success; in arch_write_trylock()
/linux/arch/m68k/ifpsp060/
H A Dos.S84 | d1 - 0 = success, !0 = failure
94 clr.l %d1 | return success
101 clr.l %d1 | return success
115 | d1 - 0 = success, !0 = failure
127 clr.l %d1 | return success
134 clr.l %d1 | return success
147 | d1 - 0 = success, !0 = failure
152 clr.l %d1 | assume success
170 | d1 - 0 = success, !0 = failure
181 | d1 - 0 = success, !
[all...]
/linux/include/trace/events/
H A Dmmap_lock.h49 TP_PROTO(struct mm_struct *mm, bool write, bool success),
51 TP_ARGS(mm, write, success),
57 __field(bool, success)
64 __entry->success = success;
68 "mm=%p memcg_id=%llu write=%s success=%s",
72 __entry->success ? "true" : "false"
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c425 goto success; in amdgpu_get_bios_apu()
430 goto success; in amdgpu_get_bios_apu()
435 goto success; in amdgpu_get_bios_apu()
440 goto success; in amdgpu_get_bios_apu()
446 success: in amdgpu_get_bios_apu()
461 goto success; in amdgpu_get_bios_dgpu()
466 goto success; in amdgpu_get_bios_dgpu()
472 goto success; in amdgpu_get_bios_dgpu()
478 goto success; in amdgpu_get_bios_dgpu()
483 goto success; in amdgpu_get_bios_dgpu()
[all...]
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-trap.c59 bool success; variable
115 /* Go to 'success', i.e. instruction (6) */ in trap_signal_handler()
169 * 'success'. in trap_signal_handler()
217 " b %l[success] ;" /* (6) b [NA]; MSR.LE did not flip (ok)*/ in ping()
219 : : : : failure, success); in ping()
222 success = false; in ping()
225 success: in ping()
226 success = true; in ping()
322 if (success) { in tm_trap_test()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_fw.c97 static inline bool guc_load_done(struct intel_uncore *uncore, u32 *status, bool *success) in guc_load_done() argument
106 *success = true; in guc_load_done()
119 *success = false; in guc_load_done()
134 *success = false; in guc_load_done()
159 bool success; in guc_wait_ucode() local
191 ret = wait_for(guc_load_done(uncore, &status, &success), 1000); in guc_wait_ucode()
192 if (!ret || !success) in guc_wait_ucode()
203 if (ret || !success) { in guc_wait_ucode()
/linux/arch/x86/kernel/fpu/
H A Dsignal.c328 bool success, fx_only = false; in __fpu_restore_sig() local
421 success = !os_xrstor_safe(fpu->fpstate, in __fpu_restore_sig()
424 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
427 if (likely(success)) in __fpu_restore_sig()
431 return success; in __fpu_restore_sig()
449 bool success = false; in fpu__restore_sig() local
476 success = !fpregs_soft_set(current, NULL, 0, in fpu__restore_sig()
480 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig()
484 if (unlikely(!success)) in fpu__restore_sig()
486 return success; in fpu__restore_sig()
[all...]
/linux/lib/
H A Dglobtest.c22 bool success = match == expected; in test() local
32 if (!success) in test()
37 return success; in test()
40 return success; in test()
/linux/arch/x86/include/asm/
H A Dcmpxchg.h160 bool success; \
170 : CC_OUT(z) (success), \
182 : CC_OUT(z) (success), \
194 : CC_OUT(z) (success), \
206 : CC_OUT(z) (success), \
216 if (unlikely(!success)) \
218 likely(success); \
H A Duaccess.h105 * Return: zero on success, or -EFAULT on error.
128 * Return: zero on success, or -EFAULT on error.
206 * Return: zero on success, or -EFAULT on error.
228 * Return: zero on success, or -EFAULT on error.
374 bool success; \
381 : CC_OUT(z) (success), \
387 if (unlikely(!success)) \
389 likely(success); })
393 bool success; \
400 : CC_OUT(z) (success), \
[all...]
/linux/Documentation/driver-api/soundwire/
H A Dlocking.rst63 | return success/error | d. Return success/error
102 | return success/error | d. Return success/error
105 | return success/error | 3. Release bus lock
106 +-------------------------------> 4. Return success/error
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst91 | Returns 0 on success.
102 | Returns 0 on success,
113 | Returns 0 on success.
122 | Returns 0 on success.
131 | Returns 0 on success.
140 | Returns 0 on success.
156 | Returns 0 on success, -1 on error.
179 | Returns 0 on success.
188 | Returns 0 on success, -1 on error.
206 | Returns 0 on success,
[all...]
/linux/drivers/video/backlight/
H A Djornada720_lcd.c40 goto success; in jornada_lcd_get_contrast()
46 success: in jornada_lcd_get_contrast()
61 goto success; in jornada_lcd_set_contrast()
67 success: in jornada_lcd_set_contrast()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_trace.h52 __field(bool, success)
61 __entry->success = stat->success;
72 " success:%d aggr:%d ack_req:%d"
75 __entry->success, __entry->aggr, __entry->ack_req,
/linux/drivers/net/wireguard/selftest/
H A Dcounter.c11 bool success = true; in wg_packet_counter_selftest() local
29 success = false; \ in wg_packet_counter_selftest()
106 if (success) in wg_packet_counter_selftest()
109 return success; in wg_packet_counter_selftest()
/linux/tools/memory-model/Documentation/
H A Dherd-representation.txt50 | spin_is_locked | On success: RL |
101 | atomic_cmpxchg | On success: R*[MB] ->rmw W*[MB] |
105 | atomic_cmpxchg_relaxed | On success: R*[ONCE] ->rmw W*[ONCE] |
107 | atomic_cmpxchg_acquire | On success: R*[ACQUIRE] ->rmw W*[ACQUIRE] |
109 | atomic_cmpxchg_release | On success: R*[RELEASE] ->rmw W*[RELEASE] |
111 | spin_trylock | On success: LKR ->po LKW |
/linux/arch/mips/kernel/
H A Dunaligned.c705 goto success; in emulate_load_store_microMIPS()
724 goto success; in emulate_load_store_microMIPS()
744 goto success; in emulate_load_store_microMIPS()
767 goto success; in emulate_load_store_microMIPS()
806 goto success; in emulate_load_store_microMIPS()
842 goto success; in emulate_load_store_microMIPS()
880 goto success; in emulate_load_store_microMIPS()
921 goto success; in emulate_load_store_microMIPS()
976 goto success; in emulate_load_store_microMIPS()
1029 goto success; in emulate_load_store_microMIPS()
[all...]
/linux/tools/testing/selftests/mm/
H A Dmrelease_test.c80 bool success, retry; in main() local
150 success = (syscall(__NR_process_mrelease, pidfd, 0) == 0); in main()
151 if (!success) { in main()
173 if (!success) { in main()
/linux/rust/kernel/
H A Dmm.rs142 let success = unsafe { bindings::mmget_not_zero(self.as_raw()) }; in mmget_not_zero() localVariable
144 if success { in mmget_not_zero()
215 let success = unsafe { bindings::mmap_read_trylock(self.as_raw()) }; in mmap_read_trylock() localVariable
217 if success { in mmap_read_trylock()

12345678910>>...26