Lines Matching refs:ext_cf
1278 struct extstore_conf ext_cf; member
1297 cf->ext_cf.page_size = settings.ext_page_size; in storage_init_config()
1298 cf->ext_cf.wbuf_size = settings.ext_wbuf_size; in storage_init_config()
1299 cf->ext_cf.io_threadcount = settings.ext_io_threadcount; in storage_init_config()
1300 cf->ext_cf.io_depth = 1; in storage_init_config()
1301 cf->ext_cf.page_buckets = PAGE_BUCKET_COUNT; in storage_init_config()
1302 cf->ext_cf.wbuf_count = cf->ext_cf.page_buckets; in storage_init_config()
1310 struct extstore_conf *ext_cf = &cf->ext_cf; in storage_read_config() local
1360 if (!safe_strtoul(subopts_value, &ext_cf->page_size)) { in storage_read_config()
1364 ext_cf->page_size *= 1024 * 1024; /* megabytes */ in storage_read_config()
1371 if (!safe_strtoul(subopts_value, &ext_cf->wbuf_size)) { in storage_read_config()
1375 ext_cf->wbuf_size *= 1024 * 1024; /* megabytes */ in storage_read_config()
1376 settings.ext_wbuf_size = ext_cf->wbuf_size; in storage_read_config()
1383 if (!safe_strtoul(subopts_value, &ext_cf->io_threadcount)) { in storage_read_config()
1393 if (!safe_strtoul(subopts_value, &ext_cf->io_depth)) { in storage_read_config()
1493 … struct extstore_conf_file *tmp = storage_conf_parse(subopts_value, ext_cf->page_size); in storage_read_config()
1517 struct extstore_conf *ext_cf = &cf->ext_cf; in storage_check_config() local
1520 if (settings.item_size_max > ext_cf->wbuf_size) { in storage_check_config()
1522 settings.item_size_max, ext_cf->wbuf_size); in storage_check_config()
1539 struct extstore_conf *ext_cf = &cf->ext_cf; in storage_init() local
1557 storage = extstore_init(cf->storage_file, ext_cf, &eres); in storage_init()