Searched refs:head_bytes (Results 1 – 2 of 2) sorted by relevance
376 int head_bytes, tail_bytes; in free_pagelist() local378 head_bytes = (g_cache_line_size - pagelist->offset) & in free_pagelist()383 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist()384 if (head_bytes > actual) in free_pagelist()385 head_bytes = actual; in free_pagelist()390 head_bytes); in free_pagelist()393 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist()
1323 int head_bytes; in xlog_space_left() local1325 xlog_crack_grant_head(head, &head_cycle, &head_bytes); in xlog_space_left()1328 if (tail_cycle == head_cycle && head_bytes >= tail_bytes) in xlog_space_left()1329 return log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()1339 return tail_bytes - head_bytes; in xlog_space_left()1350 head_cycle, head_bytes); in xlog_space_left()