Lines Matching refs:len
1007 cache_round (int fd, off_t len) in cache_round() argument
1012 if (len) in cache_round()
1015 if (ckd_add (&c_pending, *pending, len)) in cache_round()
1019 len = c_pending - *pending; in cache_round()
1021 len = 0; in cache_round()
1024 len = *pending; in cache_round()
1026 return len; in cache_round()
1034 invalidate_cache (int fd, off_t len) in invalidate_cache() argument
1041 off_t clen = cache_round (fd, len); in invalidate_cache()
1042 if (len && !clen) in invalidate_cache()
1044 else if (! len && ! clen && ! nocache_eof) in invalidate_cache()
1046 off_t pending = len ? cache_round (fd, 0) : 0; in invalidate_cache()
1066 else if (len) in invalidate_cache()
1075 if (! len && clen && nocache_eof) in invalidate_cache()