Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 25 of 194) sorted by relevance

12345678

/openbmc/u-boot/arch/arc/lib/
H A Dlibgcc2.c107 int neg = 0; in __divsi3() local
112 neg = !neg; in __divsi3()
117 neg = !neg; in __divsi3()
122 if (neg) in __divsi3()
131 int neg = 0; in __modsi3() local
136 neg = 1; in __modsi3()
144 if (neg) in __modsi3()
/openbmc/linux/drivers/misc/lkdtm/
H A Drefcount.c147 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_NEGATIVE() local
150 refcount_dec(&neg); in lkdtm_REFCOUNT_DEC_NEGATIVE()
152 check_negative(&neg, 0); in lkdtm_REFCOUNT_DEC_NEGATIVE()
161 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE() local
164 if (refcount_dec_and_test(&neg)) in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
167 check_negative(&neg, 0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
176 refcount_t neg = REFCOUNT_INIT(3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE() local
179 if (refcount_sub_and_test(5, &neg)) in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
182 check_negative(&neg, 3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
/openbmc/qemu/tests/qemu-iotests/
H A D083.out87 === Check disconnect before neg-classic ===
91 === Check disconnect 8 neg-classic ===
95 === Check disconnect 16 neg-classic ===
99 === Check disconnect 24 neg-classic ===
103 === Check disconnect 28 neg-classic ===
107 === Check disconnect after neg-classic ===
196 === Check disconnect before neg-classic ===
200 === Check disconnect 8 neg-classic ===
204 === Check disconnect 16 neg-classic ===
208 === Check disconnect 24 neg-classic ===
[all …]
/openbmc/qemu/accel/tcg/
H A Dtcg-accel-ops-icount.c114 g_assert(cpu->neg.icount_decr.u16.low == 0); in icount_prepare_for_run()
121 cpu->neg.icount_decr.u16.low = insns_left; in icount_prepare_for_run()
141 cpu->neg.icount_decr.u16.low = 0; in icount_process_data()
156 !cpu->neg.can_do_io in icount_handle_interrupt()
H A Dcputlb.c138 uintptr_t size_mask = cpu->neg.tlb.f[mmu_idx].mask >> CPU_TLB_ENTRY_BITS; in tlb_index()
147 return &cpu->neg.tlb.f[mmu_idx].table[tlb_index(cpu, mmu_idx, addr)]; in tlb_entry()
300 CPUTLBDesc *desc = &cpu->neg.tlb.d[mmu_idx]; in tlb_flush_one_mmuidx_locked()
301 CPUTLBDescFast *fast = &cpu->neg.tlb.f[mmu_idx]; in tlb_flush_one_mmuidx_locked()
321 cpu->neg.tlb.d[mmu_idx].n_used_entries++; in tlb_n_used_entries_inc()
326 cpu->neg.tlb.d[mmu_idx].n_used_entries--; in tlb_n_used_entries_dec()
334 qemu_spin_init(&cpu->neg.tlb.c.lock); in tlb_init()
337 cpu->neg.tlb.c.dirty = 0; in tlb_init()
340 tlb_mmu_init(&cpu->neg.tlb.d[i], &cpu->neg.tlb.f[i], now); in tlb_init()
348 qemu_spin_destroy(&cpu->neg.tlb.c.lock); in tlb_destroy()
[all …]
H A Dcpu-exec.c74 cpu_icount = cpu->icount_extra + cpu->neg.icount_decr.u16.low; in align_clocks()
125 = cpu->icount_extra + cpu->neg.icount_decr.u16.low; in init_delay_params()
416 cpu->neg.can_do_io = true; in HELPER()
459 cpu->neg.can_do_io = true; in cpu_tb_exec()
716 && cpu->neg.icount_decr.u16.low + cpu->icount_extra == 0) { in cpu_handle_exception()
784 return cpu->neg.icount_decr.u16.low + cpu->icount_extra == 0; in icount_exit_request()
804 qatomic_set_mb(&cpu->neg.icount_decr.u16.high, 0); in cpu_handle_interrupt()
933 cpu->neg.icount_decr.u16.low = insns_left; in cpu_loop_exec_tb()
H A Dmonitor.c135 full += qatomic_read(&cpu->neg.tlb.c.full_flush_count); in tlb_flush_counts()
136 part += qatomic_read(&cpu->neg.tlb.c.part_flush_count); in tlb_flush_counts()
137 elide += qatomic_read(&cpu->neg.tlb.c.elide_flush_count); in tlb_flush_counts()
/openbmc/u-boot/arch/nios2/lib/
H A Dlibgcc.c487 word_type neg = 0; in __divsi3() local
493 neg = !neg; in __divsi3()
499 neg = !neg; in __divsi3()
504 if (neg) in __divsi3()
521 word_type neg = 0; in __modsi3() local
527 neg = 1; in __modsi3()
535 if (neg) in __modsi3()
/openbmc/linux/kernel/
H A Dsysctl.c342 unsigned long *val, bool *neg, in proc_get_long() argument
359 *neg = true; in proc_get_long()
362 *neg = false; in proc_get_long()
400 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
405 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
505 bool neg; in __do_proc_dointvec() local
512 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
517 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
522 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
528 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
[all …]
/openbmc/linux/arch/sh/lib/
H A Dudivsi3_i4i-Os.S97 neg r5,r5
101 neg r4,r4
110 neg r4,r4
126 neg r0,r0
H A Dudivsi3_i4i.S91 neg r4,r0
170 neg r5,r5
173 neg r4,r4
232 neg r0,r0
238 neg r4,r4
274 neg r1,r0
/openbmc/u-boot/arch/sh/lib/
H A Dudivsi3_i4i-Os.S97 neg r5,r5
101 neg r4,r4
110 neg r4,r4
126 neg r0,r0
H A Dudivsi3_i4i.S90 neg r4,r0
168 neg r5,r5
171 neg r4,r4
230 neg r0,r0
236 neg r4,r4
272 neg r1,r0
/openbmc/linux/arch/arm64/lib/
H A Dtishift.S24 neg w1, w3
46 neg w0, w3
68 neg w0, w3
H A Dstrcmp.S114 neg shift, src2, lsl 3 /* Bits to alignment -64. */
135 neg shift, src2, lsl 3
174 neg shift, shift
/openbmc/qemu/target/arm/tcg/
H A Dsme_helper.c910 uint32_t neg = simd_data(desc) << 31; in HELPER() local
927 uint32_t n = *(uint32_t *)(vzn + H1_4(row)) ^ neg; in HELPER()
952 uint64_t neg = (uint64_t)simd_data(desc) << 63; in HELPER() local
962 uint64_t n = zn[row] ^ neg; in HELPER()
978 static inline uint32_t f16mop_adj_pair(uint32_t pair, uint32_t pg, uint32_t neg) in f16mop_adj_pair() argument
984 pair ^= neg; in f16mop_adj_pair()
1036 uint32_t neg = simd_data(desc) * 0x80008000u; in HELPER() local
1059 n = f16mop_adj_pair(n, prow, neg); in HELPER()
1086 uint32_t neg = simd_data(desc) * 0x80008000u; in HELPER() local
1097 n = f16mop_adj_pair(n, prow, neg); in HELPER()
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_fp0_sqrt.S17 neg.s \h2, \t1
28 neg.s \y, \h
34 neg.s \t1, \h
/openbmc/linux/arch/m68k/fpsp040/
H A Dx_ovfl.S23 | RM For pos overflow, the largest pos number. For neg overflow,
25 | RP For pos overflow, +infinity. For neg overflow, the largest
26 | neg number
H A Dkernel_ex.S67 bsetb #neg_bit,FPSR_CC(%a6) |set neg bit in FPSR
79 btstb #sign_bit,ETEMP_EX(%a6) |check sign for neg or pos
84 bsetb #neg_bit,FPSR_CC(%a6) |set neg bit in FPSR
95 btstb #sign_bit,ETEMP_EX(%a6) |check sign for neg or pos
97 bsetb #neg_bit,FPSR_CC(%a6) |set neg bit in FPSR
/openbmc/linux/lib/
H A Dtest_ubsan.c25 volatile int neg = -1, wrap = 4; in test_ubsan_shift_out_of_bounds() local
30 val1 <<= neg; in test_ubsan_shift_out_of_bounds()
/openbmc/linux/arch/xtensa/lib/
H A Ddivsi3.S45 neg a5, a2
51 neg a2, a6 /* if udivisor == 1, then return... */
/openbmc/linux/arch/sparc/lib/
H A Dffs.S76 neg %o0, %g1
82 neg %o0, %g1
/openbmc/linux/fs/dlm/
H A Drecoverd.c54 int error, neg = 0; in ls_recover() local
79 error = dlm_recover_members(ls, rv, &neg); in ls_recover()
136 if (neg || dlm_no_directory(ls)) { in ls_recover()
/openbmc/qemu/hw/core/
H A Dcpu-common.c89 qatomic_set(&cpu->neg.icount_decr.u16.high, -1); in cpu_exit()
133 qatomic_set(&cpu->neg.icount_decr.u32, 0); in cpu_common_reset_hold()
134 cpu->neg.can_do_io = true; in cpu_common_reset_hold()
/openbmc/linux/tools/include/nolibc/
H A Dstdlib.h45 int neg = 0; in atol() local
48 neg = 1; in atol()
60 return neg ? -ret : ret; in atol()

12345678