Home
last modified time | relevance | path

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

/block/
Dblk-rq-qos.h122 struct rq_qos **cur; in rq_qos_del() local
131 for (cur = &q->rq_qos; *cur; cur = &(*cur)->next) { in rq_qos_del()
132 if (*cur == rqos) { in rq_qos_del()
133 *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-cgroup.c815 struct blkg_iostat cur, delta; in blkcg_rstat_flush() local
822 blkg_iostat_set(&cur, &bisc->cur); in blkcg_rstat_flush()
827 blkg_iostat_set(&delta, &cur); in blkcg_rstat_flush()
829 blkg_iostat_add(&blkg->iostat.cur, &delta); in blkcg_rstat_flush()
836 blkg_iostat_set(&delta, &blkg->iostat.cur); in blkcg_rstat_flush()
838 blkg_iostat_add(&parent->iostat.cur, &delta); in blkcg_rstat_flush()
894 blkg_iostat_set(&blkg->iostat.cur, &tmp); in blkcg_fill_root_iostats()
920 rbytes = bis->cur.bytes[BLKG_IOSTAT_READ]; in blkcg_print_one_stat()
921 wbytes = bis->cur.bytes[BLKG_IOSTAT_WRITE]; in blkcg_print_one_stat()
922 dbytes = bis->cur.bytes[BLKG_IOSTAT_DISCARD]; in blkcg_print_one_stat()
[all …]
Dblk-wbt.c87 const unsigned long cur = jiffies; in wb_timestamp() local
89 if (cur != *var) in wb_timestamp()
90 *var = cur; in wb_timestamp()