Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/
Dxfs_log.c133 int64_t head_val = atomic64_read(head); in xlog_grant_sub_space() local
139 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
147 old = head_val; in xlog_grant_sub_space()
149 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
150 } while (head_val != old); in xlog_grant_sub_space()
159 int64_t head_val = atomic64_read(head); in xlog_grant_add_space() local
166 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
176 old = head_val; in xlog_grant_add_space()
178 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
179 } while (head_val != old); in xlog_grant_add_space()