/linux-master/tools/testing/selftests/net/hsr/ |
H A D | hsr_common.sh | 53 VAL="$(echo $OUT | cut -d' ' -f1-8)" 54 SED_VAL="$(echo ${VAL} | sed -r -e 's/([0-9]{2}).*([0-9]{2}).*[[:space:]]([0-9]+%).*/\1 transmitted \2 received \3 loss/')"
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_experimental.h | 231 #define __bpf_assert(LHS, op, cons, RHS, VAL) \ 235 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \ 238 #define __bpf_assert_op_sign(LHS, op, cons, RHS, VAL, supp_sign) \ 242 __bpf_assert(LHS, "s" #op, cons, RHS, VAL); \ 244 __bpf_assert(LHS, #op, cons, RHS, VAL); \ 247 #define __bpf_assert_op(LHS, op, RHS, VAL, supp_sign) \ 251 __bpf_assert_op_sign(LHS, op, "r", rhs_var, VAL, supp_sign); \ 253 __bpf_assert_op_sign(LHS, op, "i", RHS, VAL, supp_sign); \
|
/linux-master/kernel/sched/ |
H A D | core.c | 2766 * smp_cond_load_acquire(&p->on_cpu, !VAL), and we're in __schedule() 3890 smp_cond_load_acquire(&p->on_cpu, !VAL); 4171 * smp_cond_load_acquire(&X->on_cpu, !VAL); 4361 smp_cond_load_acquire(&p->on_cpu, !VAL); 4415 smp_cond_load_acquire(&p->on_cpu, !VAL);
|
/linux-master/kernel/locking/ |
H A D | qspinlock.c | 336 (VAL != _Q_PENDING_VAL) || !cnt--); 380 smp_cond_load_acquire(&lock->locked, !VAL); 511 val = atomic_cond_read_acquire(&lock->val, !(VAL & _Q_LOCKED_PENDING_MASK)); 551 next = smp_cond_load_relaxed(&node->next, (VAL));
|
H A D | osq_lock.c | 146 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() ||
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 313 atomic_cond_read_relaxed(l, !VAL);
|
/linux-master/include/linux/ |
H A D | netdevice.h | 5209 #define DEV_STATS_ADD(DEV, FIELD, VAL) \ 5210 atomic_long_add((VAL), &(DEV)->stats.__##FIELD)
|
/linux-master/arch/x86/kernel/ |
H A D | alternative.c | 2368 atomic_cond_read_acquire(&bp_desc.refs, !VAL);
|
/linux-master/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 60 #define READ_WB_REG_CASE(OFF, N, REG, VAL) \ 62 AARCH64_DBG_READ(N, REG, VAL); \ 65 #define WRITE_WB_REG_CASE(OFF, N, REG, VAL) \ 67 AARCH64_DBG_WRITE(N, REG, VAL); \ 70 #define GEN_READ_WB_REG_CASES(OFF, REG, VAL) \ 71 READ_WB_REG_CASE(OFF, 0, REG, VAL); \ 72 READ_WB_REG_CASE(OFF, 1, REG, VAL); \ 73 READ_WB_REG_CASE(OFF, 2, REG, VAL); \ 74 READ_WB_REG_CASE(OFF, 3, REG, VAL); \ 75 READ_WB_REG_CASE(OFF, 4, REG, VAL); \ [all...] |
/linux-master/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 48 #define READ_WB_REG_CASE(OP2, M, VAL) \ 50 ARM_DBG_READ(c0, c ## M, OP2, VAL); \ 53 #define WRITE_WB_REG_CASE(OP2, M, VAL) \ 55 ARM_DBG_WRITE(c0, c ## M, OP2, VAL); \ 58 #define GEN_READ_WB_REG_CASES(OP2, VAL) \ 59 READ_WB_REG_CASE(OP2, 0, VAL); \ 60 READ_WB_REG_CASE(OP2, 1, VAL); \ 61 READ_WB_REG_CASE(OP2, 2, VAL); \ 62 READ_WB_REG_CASE(OP2, 3, VAL); \ 63 READ_WB_REG_CASE(OP2, 4, VAL); \ [all...] |
/linux-master/include/asm-generic/ |
H A D | barrier.h | 243 * pre-named variable @VAL to be used in @cond. 248 __unqual_scalar_typeof(*ptr) VAL; \ 250 VAL = READ_ONCE(*__PTR); \ 255 (typeof(*ptr))VAL; \
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu.c | 441 return REGV_POLL_FLD(IVPU_MMU_REG_CR0ACK, VAL, val, IVPU_MMU_REG_TIMEOUT_US); 448 return REGV_POLL_FLD(IVPU_MMU_REG_IRQ_CTRLACK, VAL, val, IVPU_MMU_REG_TIMEOUT_US); 468 ret = REGV_POLL_FLD(IVPU_MMU_REG_CMDQ_CONS, VAL, cmdq->prod,
|
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 463 val = atomic_cond_read_relaxed(&cmdq->lock, VAL >= 0); 576 atomic_long_cond_read_relaxed(ptr, (VAL & mask) == valid); 648 smp_cond_load_relaxed(cmd, !VAL || (ret = queue_poll(&qp))); 815 atomic_cond_read_relaxed(&cmdq->owner_prod, VAL == llq.prod);
|
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 948 while ($val =~ s/\(([^\(]*?)\)/\&\&\&\&VAL\&\&\&\&/) { 952 $val =~ s/\&\&\&\&VAL\&\&\&\&/ 1 /; 954 $val =~ s/\&\&\&\&VAL\&\&\&\&/ 0 /;
|
/linux-master/drivers/watchdog/ |
H A D | it87_wdt.c | 40 #define VAL 0x2f macro 125 outb(0x02, VAL); 132 outb(ldn, VAL); 138 return inb(VAL); 144 outb(val, VAL); 152 val = inb(VAL) << 8; 154 val |= inb(VAL);
|
/linux-master/drivers/scsi/ |
H A D | sun_esp.c | 34 #define dma_write32(VAL, REG) \ 35 sbus_writel((VAL), esp->dma_regs + (REG))
|
H A D | sun3x_esp.c | 45 #define dma_write32(VAL, REG) \ 46 writel((VAL), esp->dma_regs + (REG)) 50 #define dma_write32(VAL, REG) \ 51 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
|
H A D | esp_scsi.c | 117 #define esp_write8(VAL,REG) esp->ops->esp_write8(esp, VAL, REG)
|
H A D | mac_esp.c | 50 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG)
|
/linux-master/arch/arm64/include/asm/ |
H A D | hw_breakpoint.h | 98 #define AARCH64_DBG_READ(N, REG, VAL) do {\ 99 VAL = read_sysreg(dbg##REG##N##_el1);\ 102 #define AARCH64_DBG_WRITE(N, REG, VAL) do {\ 103 write_sysreg(VAL, dbg##REG##N##_el1);\
|
/linux-master/kernel/rcu/ |
H A D | rcuscale.c | 776 smp_cond_load_relaxed(&rcu_lazy_test1_cb_called, VAL == 1);
|
/linux-master/drivers/hwmon/ |
H A D | smsc47m1.c | 44 #define VAL 0x2f /* The value to read/write */ macro 50 outb(val, VAL); 57 return inb(VAL);
|
/linux-master/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 128 VAL="" 132 VAL="60" 135 VAL="1" 138 VAL="314" 141 VAL="(none)" 144 VAL="" 149 echo -n $VAL > $TARGET
|
/linux-master/kernel/futex/ |
H A D | requeue.c | 184 (void)atomic_cond_read_relaxed(&q->requeue_state, VAL != Q_REQUEUE_PI_WAIT);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 367 VAL=${1#*=} 369 if [[ $VAL -eq 0 ]] 378 echo $VAL > $CPUFILE 428 VAL=${CMD#?} 429 case $VAL in 430 0) VAL=member 432 1) VAL=root 434 2) VAL=isolated 437 echo "Invalid partition state - $VAL" 441 COMM="echo $VAL > [all...] |