Home
last modified time | relevance | path

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

12345

/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()
191 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_SUB_AND_TEST_ZERO() local
[all …]
/linux/kernel/
H A Dsysctl.c272 unsigned long *val, bool *neg, in proc_get_long() argument
289 *neg = true; in proc_get_long()
292 *neg = false; in proc_get_long()
330 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
335 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
608 bool neg; in do_proc_dointvec() local
615 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_dointvec()
620 if (conv(&neg, &lval, i, 1, table)) { in do_proc_dointvec()
625 if (conv(&neg, &lval, i, 0, table)) { in do_proc_dointvec()
631 proc_put_long(&buffer, &left, lval, neg); in do_proc_dointvec()
[all …]
/linux/tools/include/nolibc/
H A Dstdlib.h67 int neg = 0; in atol() local
70 neg = 1; in atol()
82 return neg ? -ret : ret; in atol()
443 unsigned char neg = 0, overflow = 0; in __strtox() local
458 neg = 1; in __strtox()
462 if (signed_ && neg) in __strtox()
509 return neg ? -val : val; in __strtox()
/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
/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
H A Dstrncmp.S167 neg tmp3, count, lsl #3 /* 64 - bits(bytes beyond align). */
200 neg count, count
236 neg neg_offset, offset
/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
H A Ddo_func.S110 bsr ld_mzero |if neg, load neg zero, return here
118 bne ld_mzero |if neg, load neg zero
311 bra ld_mzero |else neg load -0
461 bra ld_mzero |if neg then load -0
465 bra ld_minf |else neg load -inf
H A Dres_func.S471 bchgb #7,LOCAL_EX(%a0) |do neg
508 bne cu_dnd |load double neg zero
509 bra cu_dndr |load double neg zero w/lsb
523 bne cu_snd |load single neg zero
524 bra cu_sndr |load single neg zero w/lsb
706 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg)
745 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg)
810 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg)
819 bfexts ETEMP_EX(%a6){#1:#15},%d1 |get src exp (always neg)
985 bfexts FPTEMP_EX(%a6){#1:#15},%d1 |get dest exp (always neg)
[all …]
/linux/arch/xtensa/lib/
H A Ddivsi3.S45 neg a5, a2
51 neg a2, a6 /* if udivisor == 1, then return... */
H A Dmulsi3.S99 neg a3, a2
126 neg a3, a2
/linux/arch/sparc/lib/
H A Dffs.S76 neg %o0, %g1
82 neg %o0, %g1
H A Dashldi3.S23 neg %g2
H A Dlshrdi3.S16 neg %g2
/linux/lib/
H A Dtest_ubsan.c67 volatile int neg = -1, wrap = 4; in test_ubsan_shift_out_of_bounds() local
72 val1 <<= neg; in test_ubsan_shift_out_of_bounds()
/linux/arch/powerpc/lib/
H A Dmem_64.S23 neg r0,r3
33 neg r0,r3
H A Dstring_64.S58 neg r6,r3
150 neg r6,r3
/linux/tools/testing/selftests/powerpc/copyloops/
H A Dmem_64.S23 neg r0,r3
33 neg r0,r3
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcor-testbench.dtsi129 st,neg-edge;
147 st,neg-edge;
H A Dstm32mp15xx-dhcor-drc-compact.dtsi230 st,neg-edge;
246 st,neg-edge;
260 st,neg-edge;
H A Dstm32mp157c-osd32mp1-red.dts161 st,neg-edge;
175 st,neg-edge;
/linux/fs/dlm/
H A Dmember.c551 int i, error, neg = 0, low = -1; in dlm_recover_members() local
563 neg++; in dlm_recover_members()
591 neg++; in dlm_recover_members()
621 *neg_out = neg; in dlm_recover_members()

12345