Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/misc/lkdtm/
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()
/linux-6.6.21/kernel/
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 …]
/linux-6.6.21/arch/arm64/lib/
Dtishift.S24 neg w1, w3
46 neg w0, w3
68 neg w0, w3
Dstrcmp.S114 neg shift, src2, lsl 3 /* Bits to alignment -64. */
135 neg shift, src2, lsl 3
174 neg shift, shift
Dstrncmp.S167 neg tmp3, count, lsl #3 /* 64 - bits(bytes beyond align). */
200 neg count, count
236 neg neg_offset, offset
Dmemset.S71 neg tmp2, dst
168 neg tmp2, dst
/linux-6.6.21/arch/sh/lib/
Dudivsi3_i4i-Os.S97 neg r5,r5
101 neg r4,r4
110 neg r4,r4
126 neg r0,r0
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-6.6.21/arch/m68k/fpsp040/
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
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
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
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-6.6.21/lib/
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()
/linux-6.6.21/arch/xtensa/lib/
Ddivsi3.S45 neg a5, a2
51 neg a2, a6 /* if udivisor == 1, then return... */
Dmulsi3.S99 neg a3, a2
126 neg a3, a2
/linux-6.6.21/arch/sparc/lib/
Dffs.S76 neg %o0, %g1
82 neg %o0, %g1
Dashldi3.S23 neg %g2
Dlshrdi3.S16 neg %g2
/linux-6.6.21/fs/dlm/
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()
/linux-6.6.21/tools/include/nolibc/
Dstdlib.h45 int neg = 0; in atol() local
48 neg = 1; in atol()
60 return neg ? -ret : ret; in atol()
/linux-6.6.21/tools/testing/selftests/powerpc/copyloops/
Dmem_64.S23 neg r0,r3
33 neg r0,r3
/linux-6.6.21/arch/powerpc/lib/
Dstring_64.S58 neg r6,r3
150 neg r6,r3
Dmem_64.S23 neg r0,r3
33 neg r0,r3
/linux-6.6.21/arch/arm/boot/dts/st/
Dstm32mp15xx-dhcor-testbench.dtsi129 st,neg-edge;
147 st,neg-edge;
Dstm32mp15xx-dhcor-drc-compact.dtsi230 st,neg-edge;
246 st,neg-edge;
260 st,neg-edge;

12345