Lines Matching refs:intval
232 int token, intval, ret; in parse_fsopt_token() local
239 ret = match_int(&argstr[0], &intval); in parse_fsopt_token()
244 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
284 if (intval < (int)PAGE_SIZE || intval > CEPH_MAX_WRITE_SIZE) in parse_fsopt_token()
286 fsopt->wsize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
289 if (intval < (int)PAGE_SIZE || intval > CEPH_MAX_READ_SIZE) in parse_fsopt_token()
291 fsopt->rsize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
294 if (intval < 0) in parse_fsopt_token()
296 fsopt->rasize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
299 if (intval < 1) in parse_fsopt_token()
301 fsopt->caps_wanted_delay_min = intval; in parse_fsopt_token()
304 if (intval < 1) in parse_fsopt_token()
306 fsopt->caps_wanted_delay_max = intval; in parse_fsopt_token()
309 if (intval < 1) in parse_fsopt_token()
311 fsopt->max_readdir = intval; in parse_fsopt_token()
314 if (intval < (int)PAGE_SIZE && intval != 0) in parse_fsopt_token()
316 fsopt->max_readdir_bytes = intval; in parse_fsopt_token()
319 if (intval < 1024) /* at least 1M */ in parse_fsopt_token()
321 fsopt->congestion_kb = intval; in parse_fsopt_token()