Searched refs:head_val (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_log.c | 100 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 ! in xlog_grant_add_space() [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log.c | 150 int64_t head_val = atomic64_read(head); in xlog_grant_sub_space() local 156 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space() 164 old = head_val; in xlog_grant_sub_space() 166 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space() 167 } while (head_val != old); in xlog_grant_sub_space() 176 int64_t head_val = atomic64_read(head); in xlog_grant_add_space() local 183 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space() 193 old = head_val; in xlog_grant_add_space() 195 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space() 196 } while (head_val ! in xlog_grant_add_space() [all...] |
Completed in 4 milliseconds