Lines Matching refs:new_offset_buffer
207 char *ptr,new_offset_buffer [80]; in set_offset() local
214 ptr=parse_word (command_line,new_offset_buffer); in set_offset()
221 ptr=parse_word (ptr,new_offset_buffer); in set_offset()
223 if (strcmp (new_offset_buffer,"block")==0) { in set_offset()
225 ptr=parse_word (ptr,new_offset_buffer); in set_offset()
228 if (strcmp (new_offset_buffer,"type")==0) { in set_offset()
235 ptr=parse_word (ptr,new_offset_buffer); in set_offset()
238 if (*new_offset_buffer==0) { in set_offset()
243 if (new_offset_buffer [0]=='+') { in set_offset()
248 new_offset=device_offset+atol (new_offset_buffer+1)*mult; in set_offset()
251 else if (new_offset_buffer [0]=='-') { in set_offset()
256 new_offset=device_offset-atol (new_offset_buffer+1)*mult; in set_offset()
261 new_offset=atol (new_offset_buffer)*mult; in set_offset()