/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A 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("O in collapse_max_ptes_none() [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A 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 441 bool success; policy_unpack_test_unpack_u32_with_null_name() local 458 bool success; policy_unpack_test_unpack_u32_with_name() local 475 bool success; policy_unpack_test_unpack_u32_out_of_bounds() local 491 bool success; policy_unpack_test_unpack_u64_with_null_name() local 508 bool success; policy_unpack_test_unpack_u64_with_name() local 525 bool success; policy_unpack_test_unpack_u64_out_of_bounds() local 541 bool success = unpack_X(puf->e, AA_NAME); policy_unpack_test_unpack_X_code_match() local 550 bool success = unpack_X(puf->e, AA_STRING); policy_unpack_test_unpack_X_code_mismatch() local 559 bool success; policy_unpack_test_unpack_X_out_of_bounds() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/prom/ |
H A 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 ! in prom_apply_generic_ranges() [all...] |
/kernel/linux/linux-6.6/arch/sparc/prom/ |
H A 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 ! in prom_apply_generic_ranges() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A 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 >= 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()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | policy_unpack_test.c | 321 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 439 bool success; policy_unpack_test_unpack_u32_with_null_name() local 456 bool success; policy_unpack_test_unpack_u32_with_name() local 473 bool success; policy_unpack_test_unpack_u32_out_of_bounds() local 489 bool success; policy_unpack_test_unpack_u64_with_null_name() local 506 bool success; policy_unpack_test_unpack_u64_with_name() local 523 bool success; policy_unpack_test_unpack_u64_out_of_bounds() local 539 bool success = aa_unpack_X(puf->e, AA_NAME); policy_unpack_test_unpack_X_code_match() local 548 bool success = aa_unpack_X(puf->e, AA_STRING); policy_unpack_test_unpack_X_code_mismatch() local 557 bool success; policy_unpack_test_unpack_X_out_of_bounds() local [all...] |
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/ |
H A 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, ! [all...] |
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/ |
H A 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, ! [all...] |
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A 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()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | mmap_lock.h | 55 bool success), 57 TP_ARGS(mm, memcg_path, write, success), 63 __field(bool, success) 70 __entry->success = success; 74 "mm=%p memcg_path=%s write=%s success=%s", 78 __entry->success ? "true" : "false"
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/ |
H A D | tm-trap.c | 59 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() 321 if (success) { in tm_trap_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/ |
H A D | tm-trap.c | 59 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 97 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() 118 *success = false; in guc_load_done() 133 *success = false; in guc_load_done() 158 bool success; in guc_wait_ucode() local 190 ret = wait_for(guc_load_done(uncore, &status, &success), 1000); in guc_wait_ucode() 191 if (!ret || !success) in guc_wait_ucode() 202 if (ret || !success) { in guc_wait_ucode()
|
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | signal.c | 341 bool success, fx_only = false; in __fpu_restore_sig() local 434 success = !os_xrstor_safe(fpu->fpstate, in __fpu_restore_sig() 437 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig() 440 if (likely(success)) in __fpu_restore_sig() 444 return success; in __fpu_restore_sig() 462 bool success = false; in fpu__restore_sig() local 489 success = !fpregs_soft_set(current, NULL, 0, in fpu__restore_sig() 493 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig() 497 if (unlikely(!success)) in fpu__restore_sig() 499 return success; in fpu__restore_sig() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A 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()
|
/kernel/linux/linux-6.6/lib/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A 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); \
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A 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); \
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 148 static void success(const char *msg) in success() function 384 success("OK"); in restore_settings() 416 success("OK"); in save_settings() 626 success("OK"); in alloc_hpage() 685 success("OK"); in file_setup_area() 702 success("OK"); in file_setup_area() 816 success("OK"); in __madvise_collapse() 872 success("OK"); in khugepaged_collapse() 885 success("OK"); in khugepaged_collapse() 919 success("O in alloc_at_fault() [all...] |
/kernel/linux/common_modules/newip/examples/ |
H A D | nip_udp_client_demo.c | 47 int _recvfrom(int cfd, struct sockaddr_nin *si_server, int pkt_num, int *success) in _recvfrom() argument 70 *success += 1; in _recvfrom() 73 printf("Received --%s sock %d success:%6d/%6d/no=%6d\n", in _recvfrom() 74 buf, cfd, *success, pkt_num + 1, no); in _recvfrom() 86 int success = 0; in send_recv() local 94 if (_recvfrom(cfd, &si_server, i, &success) != 0) in send_recv()
|
H A D | nip_tcp_client_demo.c | 47 int _recv(int cfd, int pkt_num, int *success) in _recv() argument 69 *success += 1; in _recv() 75 printf("Received --%s sock %d success:%6d/%6d/no=%6d\n", in _recv() 76 buf, cfd, *success, pkt_num + 1, no); in _recv() 89 int success = 0; in send_recv() local 95 if (_recv(cfd, i, &success) != 0) in send_recv() 129 printf("connect success, addr=0x%02x%02x, port=%d\n", in main()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | notif.c | 28 bool success) in io_tx_ubuf_callback() 38 bool success) in io_tx_ubuf_callback_ext() 43 if (success && !nd->zc_used && skb) in io_tx_ubuf_callback_ext() 45 else if (!success && !nd->zc_copied) in io_tx_ubuf_callback_ext() 48 io_tx_ubuf_callback(skb, uarg, success); in io_tx_ubuf_callback_ext() 27 io_tx_ubuf_callback(struct sk_buff *skb, struct ubuf_info *uarg, bool success) io_tx_ubuf_callback() argument 37 io_tx_ubuf_callback_ext(struct sk_buff *skb, struct ubuf_info *uarg, bool success) io_tx_ubuf_callback_ext() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_trace.h | 52 __field(bool, success) 61 __entry->success = stat->success; 72 " success:%d aggr:%d ack_req:%d" 75 __entry->success, __entry->aggr, __entry->ack_req,
|