Home
last modified time | relevance | path

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

12345678910>>...27

/Linux-v6.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-v6.1/security/apparmor/
Dpolicy_unpack_test.c323 bool success; in policy_unpack_test_unpack_nameX_with_null_name() local
327 success = unpack_nameX(puf->e, AA_U32, NULL); in policy_unpack_test_unpack_nameX_with_null_name()
329 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_null_name()
337 bool success; in policy_unpack_test_unpack_nameX_with_wrong_code() local
341 success = unpack_nameX(puf->e, AA_BLOB, NULL); in policy_unpack_test_unpack_nameX_with_wrong_code()
343 KUNIT_EXPECT_FALSE(test, success); in policy_unpack_test_unpack_nameX_with_wrong_code()
352 bool success; in policy_unpack_test_unpack_nameX_with_name() local
356 success = unpack_nameX(puf->e, AA_U32, name); in policy_unpack_test_unpack_nameX_with_name()
358 KUNIT_EXPECT_TRUE(test, success); in policy_unpack_test_unpack_nameX_with_name()
367 bool success; in policy_unpack_test_unpack_nameX_with_wrong_name() local
[all …]
/Linux-v6.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-v6.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)
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) -c -x assembler -o /dev/null -)
44 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
50 $(error-if,$(success,test -z "$(as-info)"),Sorry$(comma) this assembler is not supported.)
[all …]
/Linux-v6.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-v6.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-v6.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-v6.1/lib/crypto/
Dblake2s-selftest.c554 bool success = true; in blake2s_selftest() local
572 success = false; in blake2s_selftest()
588 success = false; in blake2s_selftest()
611 success = false; in blake2s_selftest()
626 success = false; in blake2s_selftest()
631 return success; in blake2s_selftest()
/Linux-v6.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-v6.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-v6.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-v6.1/tools/testing/selftests/vm/
Dkhugepaged.c157 static void success(const char *msg) in success() function
393 success("OK"); in restore_settings()
425 success("OK"); in save_settings()
635 success("OK"); in alloc_hpage()
694 success("OK"); in file_setup_area()
711 success("OK"); in file_setup_area()
825 success("OK"); in __madvise_collapse()
881 success("OK"); in khugepaged_collapse()
894 success("OK"); in khugepaged_collapse()
928 success("OK"); in alloc_at_fault()
[all …]
Dmrelease_test.c98 bool success, retry; in main() local
168 success = (syscall(__NR_process_mrelease, pidfd, 0) == 0); in main()
169 if (!success) { in main()
194 if (!success) { in main()
/Linux-v6.1/arch/x86/kernel/fpu/
Dsignal.c340 bool success, fx_only = false; in __fpu_restore_sig() local
437 success = !os_xrstor_safe(fpu->fpstate, in __fpu_restore_sig()
440 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
443 if (likely(success)) in __fpu_restore_sig()
447 return success; in __fpu_restore_sig()
465 bool success = false; in fpu__restore_sig() local
492 success = !fpregs_soft_set(current, NULL, 0, in fpu__restore_sig()
496 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig()
500 if (unlikely(!success)) in fpu__restore_sig()
502 return success; in fpu__restore_sig()
/Linux-v6.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.h396 bool success; \
403 : CC_OUT(z) (success), \
409 if (unlikely(!success)) \
411 likely(success); })
415 bool success; \
422 : CC_OUT(z) (success), \
429 if (unlikely(!success)) \
431 likely(success); })
436 bool success; \
446 : CC_OUT(z) (success), \
[all …]
Dcmpxchg_32.h78 bool success; in __try_cmpxchg64() local
82 : CC_OUT(z) (success), in __try_cmpxchg64()
89 if (unlikely(!success)) in __try_cmpxchg64()
91 return success; in __try_cmpxchg64()
/Linux-v6.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-v6.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-v6.1/drivers/net/wireguard/selftest/
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-v6.1/Documentation/virt/kvm/x86/
Damd-memory-encryption.rst78 On output, ``error`` is zero on success, or an error code. Error codes
95 Returns: 0 on success, -negative on error
106 Returns: 0 on success, -negative on error
121 On success, the 'handle' field contains a new handle and on error, a negative value.
137 Returns: 0 on success, -negative on error
163 Returns: 0 on success, -negative on error
180 Returns: 0 on success, -negative on error
190 Returns: 0 on success, -negative on error
221 Returns: 0 on success, -negative on error
241 Returns: 0 on success, -negative on error
[all …]
/Linux-v6.1/arch/mips/kernel/
Dunaligned.c663 goto success; in emulate_load_store_microMIPS()
682 goto success; in emulate_load_store_microMIPS()
702 goto success; in emulate_load_store_microMIPS()
725 goto success; in emulate_load_store_microMIPS()
764 goto success; in emulate_load_store_microMIPS()
800 goto success; in emulate_load_store_microMIPS()
838 goto success; in emulate_load_store_microMIPS()
879 goto success; in emulate_load_store_microMIPS()
934 goto success; in emulate_load_store_microMIPS()
987 goto success; in emulate_load_store_microMIPS()
[all …]
/Linux-v6.1/include/linux/
Dmmap_lock.h22 bool success);
33 bool write, bool success) in __mmap_lock_trace_acquire_returned() argument
36 __mmap_lock_do_trace_acquire_returned(mm, write, success); in __mmap_lock_trace_acquire_returned()
53 bool write, bool success) in __mmap_lock_trace_acquire_returned() argument
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c427 goto success; in amdgpu_get_bios()
432 goto success; in amdgpu_get_bios()
437 goto success; in amdgpu_get_bios()
442 goto success; in amdgpu_get_bios()
447 goto success; in amdgpu_get_bios()
452 goto success; in amdgpu_get_bios()
457 goto success; in amdgpu_get_bios()
463 success: in amdgpu_get_bios()
/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c84 bool success; in grab_next_hostcore() local
97 success = cmpxchg64(&rm_core[core].rm_state.raw, in grab_next_hostcore()
99 if (success) { in grab_next_hostcore()
179 bool success; in icp_rm_try_update() local
185 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update()
186 if (!success) in icp_rm_try_update()
212 return success; in icp_rm_try_update()
243 bool success; in icp_rm_try_to_deliver() local
251 success = new_state.cppr > priority && in icp_rm_try_to_deliver()
259 if (success) { in icp_rm_try_to_deliver()
[all …]

12345678910>>...27