Searched refs:head_bytes (Results 1 – 2 of 2) sorted by relevance
422 int head_bytes, tail_bytes; in free_pagelist() local424 head_bytes = (g_cache_line_size - pagelist->offset) & in free_pagelist()429 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist()430 if (head_bytes > actual) in free_pagelist()431 head_bytes = actual; in free_pagelist()436 head_bytes); in free_pagelist()438 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist()
1341 int head_bytes; in xlog_space_left() local1343 xlog_crack_grant_head(head, &head_cycle, &head_bytes); in xlog_space_left()1346 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()1347 return log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()1357 return tail_bytes - head_bytes; in xlog_space_left()1368 head_cycle, head_bytes); in xlog_space_left()