Lines Matching refs:new_size
47 static int extend_file_to(int fd, uint_t new_size);
119 uint_t new_block, new_size;
124 new_size = sizeof (kdb_hlog_t);
129 new_size += ulogentries * new_block;
131 if (new_size <= MAXLOGLEN) {
147 if (extend_file_to(ulogfd, new_size) < 0)
914 static int extend_file_to(int fd, uint_t new_size)
922 if (new_size > INT_MAX) {
926 while (current_offset < new_size) {
928 write_size = new_size - current_offset;
939 write_size = new_size - current_offset;