Home
last modified time | relevance | path

Searched refs:neg (Results 1 - 25 of 136) sorted by relevance

123456

/kernel/linux/linux-5.10/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 in lkdtm_REFCOUNT_SUB_AND_TEST_ZERO() local
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/h8300/lib/
H A Dmoddivsi3.S32 neg.l A0P
43 neg.l A0P ; negate arg
49 neg.l A1P ; negate arg
62 neg.l A0P ; negate arg
68 neg.l A1P ; negate arg
H A Dmodsi3.S32 neg.l A0P
43 neg.l A0P ; negate arg
49 neg.l A1P ; negate arg
62 neg.l A0P ; negate arg
68 neg.l A1P ; negate arg
/kernel/linux/linux-5.10/arch/c6x/lib/
H A Ddivremi.S16 [A1] neg .l1 A4, A4
17 || [B2] neg .l2 B4, B4
25 neg .l1 A4, A4
H A Ddivi.S32 [A1] neg .l1 A4, A4
33 || [B1] neg .l2 B4, B4
37 neg .l1 A4, A4
H A Dremi.S34 [A1] neg .l1 A4, A4
35 || [B2] neg .l2 B4, B4
43 neg .l1 A4, A4
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/arm64/lib/
H A Dstrcmp.S86 neg tmp1, tmp1 /* Bits to alignment -64. */
104 neg tmp1, tmp1
107 neg tmp2, tmp2
145 neg pos, tmp3
H A Dmemcmp.S113 neg tmp1, tmp1/* Bits to alignment -64. */
130 neg tmp1, tmp1
133 neg tmp2, tmp2
177 neg pos, tmp3
H A Dstrncmp.S121 neg tmp3, tmp1, lsl #3 /* 64 - bits(bytes beyond align). */
148 neg tmp1, tmp1
151 neg tmp2, tmp2
199 neg pos, tmp3
/kernel/linux/linux-6.6/kernel/
H A Dsysctl.c331 * @neg: set to %TRUE if number is negative
342 unsigned long *val, bool *neg, in proc_get_long()
359 *neg = true; in proc_get_long()
362 *neg = false; in proc_get_long()
395 * @neg: sign of the number, %TRUE for negative
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, in __do_proc_dointvec()
341 proc_get_long(char **buf, size_t *size, unsigned long *val, bool *neg, const char *perm_tr, unsigned perm_tr_len, char *tr) proc_get_long() argument
566 bool neg; do_proc_douintvec_w() local
1059 bool neg; __do_proc_doulongvec_minmax() local
1400 bool neg; proc_do_large_bitmap() local
[all...]
/kernel/linux/linux-6.6/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() local
/kernel/linux/linux-6.6/arch/arm64/lib/
H A Dstrcmp.S114 neg shift, src2, lsl 3 /* Bits to alignment -64. */
135 neg shift, src2, lsl 3
174 neg shift, shift
/kernel/linux/linux-5.10/fs/dlm/
H A Drecoverd.c54 int error, neg = 0; in ls_recover() local
75 error = dlm_recover_members(ls, rv, &neg); in ls_recover()
131 if (neg || dlm_no_directory(ls)) { in ls_recover()
179 * Other lockspace members may be going through the "neg" steps in ls_recover()
/kernel/linux/linux-6.6/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()
184 * Other lockspace members may be going through the "neg" steps in ls_recover()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/kernel/
H A Dsysctl.c450 * @neg: set to %TRUE if number is negative
461 unsigned long *val, bool *neg, in proc_get_long()
478 *neg = true; in proc_get_long()
481 *neg = false; in proc_get_long()
514 * @neg: sign of the number, %TRUE for negative
519 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
524 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
624 bool neg; in __do_proc_dointvec() local
631 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
636 if (conv(&neg, in __do_proc_dointvec()
460 proc_get_long(char **buf, size_t *size, unsigned long *val, bool *neg, const char *perm_tr, unsigned perm_tr_len, char *tr) proc_get_long() argument
685 bool neg; do_proc_douintvec_w() local
1231 bool neg; __do_proc_doulongvec_minmax() local
1537 bool neg; proc_do_large_bitmap() local
[all...]

Completed in 17 milliseconds

123456