Home
last modified time | relevance | path

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

12

/arch/sparc/prom/
A 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 …]
/arch/alpha/include/asm/
A 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()
/arch/m68k/ifpsp060/
A Dos.S84 | d1 - 0 = success, !0 = failure
94 clr.l %d1 | return success
101 clr.l %d1 | return success
127 clr.l %d1 | return success
134 clr.l %d1 | return success
152 clr.l %d1 | assume success
187 clr.l %d1 | assume success
223 clr.l %d1 | assume success
245 clr.l %d1 | assume success
267 clr.l %d1 | assume success
[all …]
/arch/x86/kernel/fpu/
A Dsignal.c328 bool success, fx_only = false; in __fpu_restore_sig() local
421 success = !os_xrstor_safe(fpu->fpstate, in __fpu_restore_sig()
424 success = !fxrstor_safe(&fpregs->fxsave); in __fpu_restore_sig()
427 if (likely(success)) in __fpu_restore_sig()
431 return success; in __fpu_restore_sig()
449 bool success = false; in fpu__restore_sig() local
476 success = !fpregs_soft_set(current, NULL, 0, in fpu__restore_sig()
480 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig()
484 if (unlikely(!success)) in fpu__restore_sig()
486 return success; in fpu__restore_sig()
/arch/x86/include/asm/
A 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); \
A 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; \
432 if (unlikely(!success)) \
[all …]
A Dpercpu.h305 bool success; \
313 : CC_OUT(z) (success), \
318 if (unlikely(!success)) \
321 likely(success); \
355 bool success; \
371 : ALT_OUTPUT_SP(CC_OUT(z) (success), \
377 if (unlikely(!success)) \
380 likely(success); \
424 bool success; \
446 if (unlikely(!success)) \
[all …]
/arch/mips/kernel/
A Dunaligned.c705 goto success; in emulate_load_store_microMIPS()
724 goto success; in emulate_load_store_microMIPS()
1095 goto success; in emulate_load_store_microMIPS()
1105 goto success; in emulate_load_store_microMIPS()
1115 goto success; in emulate_load_store_microMIPS()
1133 goto success; in emulate_load_store_microMIPS()
1155 goto success; in emulate_load_store_microMIPS()
1169 goto success; in emulate_load_store_microMIPS()
1179 goto success; in emulate_load_store_microMIPS()
1197 goto success; in emulate_load_store_microMIPS()
[all …]
A Dr2300_fpu.S68 li v0, 0 # assume success
102 li v0, 0 # assume success
/arch/powerpc/kvm/
A 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 …]
A Dbook3s_xics.c276 bool success; in icp_try_update() local
282 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_try_update()
283 if (!success) in icp_try_update()
315 return success; in icp_try_update()
340 bool success; in icp_try_to_deliver() local
351 success = new_state.cppr > priority && in icp_try_to_deliver()
359 if (success) { in icp_try_to_deliver()
374 return success; in icp_try_to_deliver()
/arch/loongarch/kernel/
A Dlbt.S90 li.w a0, 0 # success
111 li.w a0, 0 # success
122 li.w a0, 0 # success
153 li.w a0, 0 # success
A Dfpu.S458 li.w a0, 0 # success
472 li.w a0, 0 # success
486 li.w a0, 0 # success
500 li.w a0, 0 # success
514 li.w a0, 0 # success
528 li.w a0, 0 # success
/arch/x86/platform/olpc/
A Dolpc.c206 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()
A Dolpc_dt.c93 int success; in olpc_dt_nextprop() local
94 void *res[] = { &success }; in olpc_dt_nextprop()
101 if (olpc_ofw("nextprop", args, res) || success != 1) in olpc_dt_nextprop()
/arch/x86/mm/pat/
A Dmemtype_interval.c61 goto success; in memtype_check_conflict()
76 success: in memtype_check_conflict()
/arch/powerpc/platforms/powernv/
A Dsmp.c378 bool success = true; in pnv_cause_nmi_ipi() local
396 success = false; in pnv_cause_nmi_ipi()
402 if (success) in pnv_cause_nmi_ipi()
/arch/xtensa/lib/
A Dusercopy.S82 movi a2, 0 # return success for len==0
134 movi a2, 0 # return success for len bytes copied
194 movi a2, 0 # return success for len bytes copied
282 movi a2, 0 # return success for len bytes copied
/arch/alpha/kernel/
A Dperf_event.c161 goto success; in ev67_check_constraints()
171 goto success; in ev67_check_constraints()
181 goto success; in ev67_check_constraints()
191 goto success; in ev67_check_constraints()
198 success: in ev67_check_constraints()
/arch/x86/platform/intel/
A Diosf_mbi.c331 goto success; in iosf_mbi_block_punit_i2c_access()
360 goto success; in iosf_mbi_block_punit_i2c_access()
372 success: in iosf_mbi_block_punit_i2c_access()
/arch/powerpc/kernel/
A Dsetup_64.c588 bool success = true; in parse_cache_info() local
610 success = false; in parse_cache_info()
625 return success; in parse_cache_info()
/arch/x86/xen/
A Dmmu_pv.c2332 int success; in xen_exchange_memory() local
2353 success = (exchange.nr_exchanged == extents_in); in xen_exchange_memory()
2355 BUG_ON(!success && ((exchange.nr_exchanged != 0) || (rc == 0))); in xen_exchange_memory()
2356 BUG_ON(success && (rc != 0)); in xen_exchange_memory()
2358 return success; in xen_exchange_memory()
2367 int success; in xen_create_contiguous_region() local
2389 success = xen_exchange_memory(1UL << order, 0, in_frames, in xen_create_contiguous_region()
2394 if (success) in xen_create_contiguous_region()
2402 return success ? 0 : -ENOMEM; in xen_create_contiguous_region()
2409 int success; in xen_destroy_contiguous_region() local
[all …]
/arch/x86/coco/tdx/
A Dtdx.c697 bool success; in handle_in() local
704 success = !__tdx_hypercall(&args); in handle_in()
708 if (success) in handle_in()
711 return success; in handle_in()
/arch/um/kernel/
A Dtrap.c119 goto success; in um_lock_mm_and_find_vma()
127 success: in um_lock_mm_and_find_vma()
/arch/s390/kvm/
A Dgaccess.c1023 u8 access_key, bool *success) in cmpxchg_guest_abs_with_key() argument
1056 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key()
1064 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key()
1072 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key()
1080 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key()
1088 *success = !ret && old == *old_addr; in cmpxchg_guest_abs_with_key()
1095 if (*success) in cmpxchg_guest_abs_with_key()

Completed in 60 milliseconds

12