Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.12.1/lib/crypto/
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 = blake2s_digest_test(); in blake2s_selftest()
[all …]
/linux-6.12.1/arch/sparc/prom/
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 != -1) { in prom_apply_generic_ranges()
[all …]
/linux-6.12.1/security/apparmor/
Dpolicy_unpack_test.c321 bool success; in policy_unpack_test_unpack_nameX_with_null_name() local
325 success = aa_unpack_nameX(puf->e, AA_U32, NULL); in policy_unpack_test_unpack_nameX_with_null_name()
327 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_null_name()
335 bool success; in policy_unpack_test_unpack_nameX_with_wrong_code() local
339 success = aa_unpack_nameX(puf->e, AA_BLOB, NULL); in policy_unpack_test_unpack_nameX_with_wrong_code()
341 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
350 bool success; in policy_unpack_test_unpack_nameX_with_name() local
354 success = aa_unpack_nameX(puf->e, AA_U32, name); in policy_unpack_test_unpack_nameX_with_name()
356 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_name()
365 bool success; in policy_unpack_test_unpack_nameX_with_wrong_name() local
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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-6.12.1/scripts/
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) …
32 ld-option = $(success,$(LD) -v $(1))
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -…
45 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
51 $(error-if,$(success,test -z "$(as-info)"),Sorry$(comma) this assembler is not supported.)
[all …]
/linux-6.12.1/arch/alpha/include/asm/
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-6.12.1/arch/m68k/ifpsp060/
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, !0 = failure
[all …]
/linux-6.12.1/include/trace/events/
Dmmap_lock.h55 bool success),
57 TP_ARGS(mm, memcg_path, write, success),
63 __field(bool, success)
70 __entry->success = success;
78 __entry->success ? "true" : "false"
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
Ddcn401_clk_mgr_smu_msg.c260 bool success; in dcn401_smu_set_idle_uclk_fclk_hardmin() local
267 success = dcn401_smu_send_msg_with_param(clk_mgr, in dcn401_smu_set_idle_uclk_fclk_hardmin()
271 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_idle_uclk_fclk_hardmin()
272 smu_print("SMU hard_min_done %d\n", success); in dcn401_smu_set_idle_uclk_fclk_hardmin()
274 return success; in dcn401_smu_set_idle_uclk_fclk_hardmin()
282 bool success; in dcn401_smu_set_active_uclk_fclk_hardmin() local
289 success = dcn401_smu_send_msg_with_param(clk_mgr, in dcn401_smu_set_active_uclk_fclk_hardmin()
293 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_active_uclk_fclk_hardmin()
294 smu_print("SMU hard_min_done %d\n", success); in dcn401_smu_set_active_uclk_fclk_hardmin()
296 return success; in dcn401_smu_set_active_uclk_fclk_hardmin()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c415 goto success; in amdgpu_get_bios_apu()
420 goto success; in amdgpu_get_bios_apu()
425 goto success; in amdgpu_get_bios_apu()
430 goto success; in amdgpu_get_bios_apu()
436 success: in amdgpu_get_bios_apu()
444 goto success; in amdgpu_get_bios_dgpu()
449 goto success; in amdgpu_get_bios_dgpu()
455 goto success; in amdgpu_get_bios_dgpu()
460 goto success; in amdgpu_get_bios_dgpu()
465 goto success; in amdgpu_get_bios_dgpu()
[all …]
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_lpc_mec.c36 bool success; in cros_ec_lpc_mec_lock() local
43 success = ACPI_SUCCESS(acpi_acquire_mutex(aml_mutex, in cros_ec_lpc_mec_lock()
45 if (!success) in cros_ec_lpc_mec_lock()
58 bool success; in cros_ec_lpc_mec_unlock() local
65 success = ACPI_SUCCESS(acpi_release_mutex(aml_mutex, NULL)); in cros_ec_lpc_mec_unlock()
66 if (!success) in cros_ec_lpc_mec_unlock()
/linux-6.12.1/tools/testing/selftests/mm/
Dmremap_test.c158 bool success = false; in is_range_mapped() local
170 success = true; in is_range_mapped()
175 return success; in is_range_mapped()
242 bool success = false; in mremap_expand_merge() local
262 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge()
267 if (success) in mremap_expand_merge()
282 bool success = false; in mremap_expand_merge_offset() local
302 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge_offset()
307 if (success) in mremap_expand_merge_offset()
331 int i, success = 1; in mremap_move_within_range() local
[all …]
Dkhugepaged.c78 static void success(const char *msg) in success() function
101 success("OK"); in restore_settings_atexit()
119 success("OK"); in save_settings()
330 success("OK"); in alloc_hpage()
389 success("OK"); in file_setup_area()
406 success("OK"); in file_setup_area()
520 success("OK"); in __madvise_collapse()
576 success("OK"); in khugepaged_collapse()
589 success("OK"); in khugepaged_collapse()
628 success("OK"); in alloc_at_fault()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
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-6.12.1/tools/testing/selftests/powerpc/tm/
Dtm-trap.c59 bool success; variable
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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
Ddml_top_mcache.c30 bool success = false; in calculate_first_second_splitting() local
37 success = true; in calculate_first_second_splitting()
38 return success; in calculate_first_second_splitting()
69 success = true; in calculate_first_second_splitting()
75 success = true; in calculate_first_second_splitting()
79 return success; in calculate_first_second_splitting()
92 bool success = false; in find_shift_for_valid_cache_id_assignment() local
106 success = true; in find_shift_for_valid_cache_id_assignment()
110 success = false; in find_shift_for_valid_cache_id_assignment()
114 if (success) in find_shift_for_valid_cache_id_assignment()
[all …]
/linux-6.12.1/lib/
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-6.12.1/arch/x86/include/asm/
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); \
Duaccess.h374 bool success; \
381 : CC_OUT(z) (success), \
387 if (unlikely(!success)) \
389 likely(success); })
393 bool success; \
400 : CC_OUT(z) (success), \
407 if (unlikely(!success)) \
409 likely(success); })
414 bool success; \
424 : CC_OUT(z) (success), \
[all …]
/linux-6.12.1/Documentation/driver-api/soundwire/
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-6.12.1/arch/x86/kernel/fpu/
Dsignal.c358 bool success, fx_only = false; in __fpu_restore_sig() local
451 success = !os_xrstor_safe(fpu->fpstate, in __fpu_restore_sig()
454 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
457 if (likely(success)) in __fpu_restore_sig()
461 return success; in __fpu_restore_sig()
479 bool success = false; in fpu__restore_sig() local
506 success = !fpregs_soft_set(current, NULL, 0, in fpu__restore_sig()
510 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig()
514 if (unlikely(!success)) in fpu__restore_sig()
516 return success; in fpu__restore_sig()
/linux-6.12.1/Documentation/userspace-api/media/dvb/
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, -1 on clipping all pixel (no pixel
[all …]
/linux-6.12.1/drivers/video/backlight/
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-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76x02_trace.h52 __field(bool, success)
61 __entry->success = stat->success;
75 __entry->success, __entry->aggr, __entry->ack_req,
/linux-6.12.1/tools/memory-model/Documentation/
Dherd-representation.txt45 | spin_is_locked | On success: RL |
97 | atomic_cmpxchg | On success: F[mb] ->po R*[once] |
102 | atomic_cmpxchg_relaxed | On success: R*[once] ->rmw W*[once] |
104 | atomic_cmpxchg_acquire | On success: R*[acquire] ->rmw W*[once] |
106 | atomic_cmpxchg_release | On success: R*[once] ->rmw W*[release] |
108 | spin_trylock | On success: LKR ->po LKW |

12345678910>>...29