A brief file description. More...
#include "libts.h"
#include "P_Cache.h"
#include "I_Layout.h"
Go to the source code of this file.
Functions | |
int | initialize_store () |
int | get_int64 (int fd, int64_t &data) |
static unsigned int | try_alloc (Store &target, Span *source, unsigned int start_blocks, bool one_only=false) |
Variables | |
Store | theStore |
Ptr< ProxyMutex > | tmp_p |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file Store.cc.
int get_int64 | ( | int | fd, | |
int64_t & | data | |||
) | [inline] |
Definition at line 238 of file Store.cc.
References ink_file_fd_readline(), and PATH_NAME_MAX.
Referenced by Span::read().
int initialize_store | ( | ) |
static unsigned int try_alloc | ( | Store & | target, | |
Span * | source, | |||
unsigned int | start_blocks, | |||
bool | one_only = false | |||
) | [static] |
Definition at line 842 of file Store.cc.
References a, Store::add(), Span::blocks, Span::file_pathname, and Span::offset.
Referenced by Store::alloc(), and Store::spread_alloc().
Definition at line 41 of file Store.cc.
Referenced by cmd_check_internal(), and cmd_clear().