| /linux/tools/testing/selftests/mm/ |
| H A D | mremap_test.c | 162 bool success = false; in is_range_mapped() local 174 success = true; in is_range_mapped() 180 return success; in is_range_mapped() 256 bool success = false; in mremap_expand_merge() local 276 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge() 281 if (success) in mremap_expand_merge() 296 bool success = false; in mremap_expand_merge_offset() local 316 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge_offset() 321 if (success) in mremap_expand_merge_offset() 345 unsigned int i, success = 1; in mremap_move_within_range() local [all …]
|
| H A D | khugepaged.c | 78 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() 574 success("OK"); in khugepaged_collapse() 587 success("OK"); in khugepaged_collapse() 626 success("OK"); in alloc_at_fault() [all …]
|
| H A D | mrelease_test.c | 80 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/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 != -1) { in prom_apply_generic_ranges() [all …]
|
| /linux/security/apparmor/ |
| H A D | policy_unpack_test.c | 329 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 [all …]
|
| /linux/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()
|
| /linux/scripts/ |
| H A 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) 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/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, !0 = failure [all …]
|
| /linux/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()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | listns_permissions_test.c | 149 bool success; in TEST() local 162 bool success; in TEST() local 205 success = (ret >= min_expected); in TEST() 207 write(pipefd[1], &success, sizeof(success)); in TEST() 216 success = false; in TEST() 218 read(pipefd[0], &success, sizeof(success)); in TEST() 226 ASSERT_TRUE(success); in TEST() 378 bool success; in TEST() local 397 bool success; in TEST() local 421 success = (ret >= 3); /* At least user, net, uts */ in TEST() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_lpc_mec.c | 36 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/tools/testing/selftests/powerpc/tm/ |
| H A 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() 322 if (success) { in tm_trap_test()
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg.h | 160 bool success; \ 169 : "=@ccz" (success), \ 180 : "=@ccz" (success), \ 191 : "=@ccz" (success), \ 202 : "=@ccz" (success), \ 212 if (unlikely(!success)) \ 214 likely(success); \
|
| /linux/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()
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | legacy_dvb_osd.rst | 91 | 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/Documentation/driver-api/soundwire/ |
| H A 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/drivers/video/backlight/ |
| H A 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/tools/memory-model/Documentation/ |
| H A D | herd-representation.txt | 50 | 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/drivers/net/wireguard/selftest/ |
| H A 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()
|
| /linux/arch/mips/kernel/ |
| H A D | unaligned.c | 705 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/Documentation/virt/kvm/x86/ |
| H A D | amd-memory-encryption.rst | 73 On output, ``error`` is zero on success, or an error code. Error codes 91 Returns: 0 on success, -negative on error 138 Returns: 0 on success, -negative on error 153 On success, the 'handle' field contains a new handle and on error, a negative value. 169 Returns: 0 on success, -negative on error 195 Returns: 0 on success, -negative on error 212 Returns: 0 on success, -negative on error 222 Returns: 0 on success, -negative on error 253 Returns: 0 on success, -negative on error 273 Returns: 0 on success, -negative on error [all …]
|
| /linux/arch/powerpc/kvm/ |
| H A 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() 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 …]
|
| /linux/Documentation/bpf/ |
| H A D | map_queue_stack.rst | 42 make room for ``value`` to be added. Returns ``0`` on success, or 53 removing it. Returns ``0`` on success, or negative error in case of 64 stack. Returns ``0`` on success, or negative error in case of failure. 81 success, or negative error in case of failure. 92 set to ``NULL``. Returns ``0`` on success, or negative error in case of 104 must be set to ``NULL``. Returns ``0`` on success, or negative error in case of
|
| /linux/rust/kernel/ |
| H A D | mm.rs | 143 let success = unsafe { bindings::mmget_not_zero(self.as_raw()) }; in mmget_not_zero() localVariable 145 if success { in mmget_not_zero() 216 let success = unsafe { bindings::mmap_read_trylock(self.as_raw()) }; in mmap_read_trylock() localVariable 218 if success { in mmap_read_trylock()
|
| /linux/include/trace/events/ |
| H A D | timer.h | 428 TP_PROTO(int success, int dependency), 430 TP_ARGS(success, dependency), 433 __field( int , success ) 438 __entry->success = success; 442 TP_printk("success=%d dependency=%s", __entry->success, \
|