Searched refs:cur (Results 1 – 4 of 4) sorted by relevance
122 struct rq_qos **cur; in rq_qos_del() local131 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()
11 unsigned int cur = atomic_read(v); in atomic_inc_below() local16 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()
815 struct blkg_iostat cur, delta; in blkcg_rstat_flush() local822 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 …]
87 const unsigned long cur = jiffies; in wb_timestamp() local89 if (cur != *var) in wb_timestamp()90 *var = cur; in wb_timestamp()