Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_log.c144 int64_t head_val = atomic64_read(head); in xlog_grant_sub_space() local
150 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
158 old = head_val; in xlog_grant_sub_space()
160 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
161 } while (head_val != old); in xlog_grant_sub_space()
170 int64_t head_val = atomic64_read(head); in xlog_grant_add_space() local
177 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
187 old = head_val; in xlog_grant_add_space()
189 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
190 } while (head_val != old); in xlog_grant_add_space()