Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log.c100 int64_t head_val = atomic64_read(head); in xlog_grant_sub_space() local
106 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
114 old = head_val; in xlog_grant_sub_space()
116 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
117 } while (head_val != old); in xlog_grant_sub_space()
126 int64_t head_val = atomic64_read(head); in xlog_grant_add_space() local
133 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
143 old = head_val; in xlog_grant_add_space()
145 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
146 } while (head_val != old); in xlog_grant_add_space()