Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 4 of 4) sorted by relevance

/block/
Dblk-rq-qos.h111 struct rq_qos **cur; in rq_qos_del() local
113 for (cur = &q->rq_qos; *cur; cur = &(*cur)->next) { in rq_qos_del()
114 if (*cur == rqos) { in rq_qos_del()
115 *cur = rqos->next; in rq_qos_del()
Dblk-rq-qos.c11 unsigned int cur = atomic_read(v); in atomic_inc_below() local
16 if (cur >= below) in atomic_inc_below()
18 old = atomic_cmpxchg(v, cur, cur + 1); in atomic_inc_below()
19 if (old == cur) in atomic_inc_below()
21 cur = old; in atomic_inc_below()
Dblk-wbt.c86 const unsigned long cur = jiffies; in wb_timestamp() local
88 if (cur != *var) in wb_timestamp()
89 *var = cur; in wb_timestamp()
Dblk-cgroup.c1658 u64 cur = atomic64_read(&blkg->delay_nsec); in blkcg_scale_delay() local
1675 if (unlikely(cur < sub)) { in blkcg_scale_delay()
1680 blkg->last_delay = cur - sub; in blkcg_scale_delay()