/Linux-v5.10/tools/testing/selftests/vm/ |
D | khugepaged.c | 112 static void success(const char *msg) in success() function 292 success("OK"); in restore_settings() 321 success("OK"); in save_settings() 334 success("OK"); in adjust_settings() 520 success("OK"); in alloc_at_fault() 529 success("OK"); in alloc_at_fault() 544 success("OK"); in collapse_full() 561 success("OK"); in collapse_empty() 574 success("OK"); in collapse_single_pte_entry() 598 success("OK"); in collapse_max_ptes_none() [all …]
|
/Linux-v5.10/arch/sparc/prom/ |
D | ranges.c | 68 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-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | obj_name.c | 8 int success; in test_obj_name() member 40 CHECK((tests[i].success && fd < 0) || in test_obj_name() 41 (!tests[i].success && fd != -1) || 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 != -1) || 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-v5.10/security/apparmor/ |
D | policy_unpack_test.c | 323 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-v5.10/scripts/ |
D | Kconfig.include | 14 # $(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,mkdir .tmp_$$$$; trap "rm -rf .tmp_$$$$" EXIT; $(CC) -Werror $(CLANG_FLAGS) $… 32 ld-option = $(success,$(LD) -v $(1)) 36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -) 43 $(error-if,$(success, $(LD) -v | grep -q gold), gold linker '$(LD)' not supported) 48 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
|
/Linux-v5.10/lib/crypto/ |
D | blake2s-selftest.c | 572 bool success = true; in blake2s_selftest() local 590 success = false; in blake2s_selftest() 606 success = false; in blake2s_selftest() 610 if (success) { in blake2s_selftest() 612 success &= !memcmp(hash, blake2s_hmac_testvecs[0], BLAKE2S_HASH_SIZE); in blake2s_selftest() 615 success &= !memcmp(hash, blake2s_hmac_testvecs[1], BLAKE2S_HASH_SIZE); in blake2s_selftest() 617 if (!success) in blake2s_selftest() 621 return success; in blake2s_selftest()
|
/Linux-v5.10/arch/alpha/include/asm/ |
D | spinlock.h | 100 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-v5.10/arch/m68k/ifpsp060/ |
D | os.S | 84 | 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-v5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-trap.c | 59 bool success; variable 219 : : : : failure, success); in ping() 222 success = false; in ping() 225 success: in ping() 226 success = true; in ping() 321 if (success) { in tm_trap_test()
|
/Linux-v5.10/lib/ |
D | globtest.c | 22 bool success = match == expected; in test() local 32 if (!success) in test() 37 return success; in test() 40 return success; in test()
|
/Linux-v5.10/Documentation/driver-api/soundwire/ |
D | locking.rst | 63 | 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-v5.10/drivers/video/backlight/ |
D | jornada720_lcd.c | 40 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-v5.10/arch/x86/include/asm/ |
D | cmpxchg.h | 160 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); \
|
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_trace.h | 52 __field(bool, success) 61 __entry->success = stat->success; 75 __entry->success, __entry->aggr, __entry->ack_req,
|
/Linux-v5.10/drivers/net/wireguard/selftest/ |
D | counter.c | 11 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()
|
D | ratelimiter.c | 121 bool success = false; in wg_ratelimiter_selftest() local 205 success = true; in wg_ratelimiter_selftest() 219 if (success) in wg_ratelimiter_selftest() 224 return success; in wg_ratelimiter_selftest()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bios.c | 422 goto success; in amdgpu_get_bios() 427 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() 458 success: in amdgpu_get_bios()
|
/Linux-v5.10/arch/mips/kernel/ |
D | unaligned.c | 704 goto success; in emulate_load_store_microMIPS() 723 goto success; in emulate_load_store_microMIPS() 743 goto success; in emulate_load_store_microMIPS() 766 goto success; in emulate_load_store_microMIPS() 805 goto success; in emulate_load_store_microMIPS() 841 goto success; in emulate_load_store_microMIPS() 879 goto success; in emulate_load_store_microMIPS() 920 goto success; in emulate_load_store_microMIPS() 975 goto success; in emulate_load_store_microMIPS() 1028 goto success; in emulate_load_store_microMIPS() [all …]
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 84 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() 186 bool success; in icp_rm_try_update() local 192 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update() 193 if (!success) in icp_rm_try_update() 219 return success; in icp_rm_try_update() 250 bool success; in icp_rm_try_to_deliver() local 258 success = new_state.cppr > priority && in icp_rm_try_to_deliver() 266 if (success) { in icp_rm_try_to_deliver() [all …]
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | amd-memory-encryption.rst | 76 On output, ``error`` is zero on success, or an error code. Error codes 88 Returns: 0 on success, -negative on error 99 Returns: 0 on success, -negative on error 114 On success, the 'handle' field contains a new handle and on error, a negative value. 130 Returns: 0 on success, -negative on error 153 Returns: 0 on success, -negative on error 170 Returns: 0 on success, -negative on error 180 Returns: 0 on success, -negative on error 211 Returns: 0 on success, -negative on error 231 Returns: 0 on success, -negative on error [all …]
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | tsc200x-core.c | 263 bool success = true; in tsc200x_selftest_show() local 276 success = false; in tsc200x_selftest_show() 285 success = false; in tsc200x_selftest_show() 293 success = false; in tsc200x_selftest_show() 300 success = false; in tsc200x_selftest_show() 306 if (!success) in tsc200x_selftest_show() 314 success = false; in tsc200x_selftest_show() 321 success = false; in tsc200x_selftest_show() 328 return sprintf(buf, "%d\n", success); in tsc200x_selftest_show()
|
/Linux-v5.10/include/trace/events/ |
D | timer.h | 400 TP_PROTO(int success, int dependency), 402 TP_ARGS(success, dependency), 405 __field( int , success ) 410 __entry->success = success; 414 TP_printk("success=%d dependency=%s", __entry->success, \
|
/Linux-v5.10/arch/x86/platform/olpc/ |
D | olpc.c | 206 bool success; in platform_detect() local 211 success = check_ofw_architecture(root); in platform_detect() 212 if (success) { in platform_detect() 222 return success; in platform_detect()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_ddc.c | 155 bool success = true; in read() local 162 success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle, in read() 167 if (!success) in read() 174 success = hdcp->config.ddc.funcs.read_i2c( in read() 182 return success ? MOD_HDCP_STATUS_SUCCESS : MOD_HDCP_STATUS_DDC_FAILURE; in read() 214 bool success = true; in write() local 221 success = hdcp->config.ddc.funcs.write_dpcd( in write() 227 if (!success) in write() 236 success = hdcp->config.ddc.funcs.write_i2c( in write() 243 return success ? MOD_HDCP_STATUS_SUCCESS : MOD_HDCP_STATUS_DDC_FAILURE; in write()
|
/Linux-v5.10/fs/jbd2/ |
D | recovery.c | 461 int err, success = 0; in do_one_pass() local 626 success = err; in do_one_pass() 654 success = -EFSBADCRC; in do_one_pass() 875 if (!success) in do_one_pass() 876 success = -EIO; in do_one_pass() 883 success = err; in do_one_pass() 886 if (block_error && success == 0) in do_one_pass() 887 success = -EIO; in do_one_pass() 888 return success; in do_one_pass()
|