Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_log.c122 int64_t head_val = atomic64_read(head); in xlog_grant_sub_space() local
128 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
136 old = head_val; in xlog_grant_sub_space()
138 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
139 } while (head_val != old); in xlog_grant_sub_space()
148 int64_t head_val = atomic64_read(head); in xlog_grant_add_space() local
155 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
165 old = head_val; in xlog_grant_add_space()
167 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
168 } while (head_val != old); in xlog_grant_add_space()