#include <linux/sched.h>
#include <linux/slab.h>
#include "afs_fs.h"
#include "internal.h"
#include "protocol_afs.h"
#include "protocol_yfs.h"
static unsigned int afs_fs_probe_fast_poll_interval = …;
static unsigned int afs_fs_probe_slow_poll_interval = …;
struct afs_endpoint_state *afs_get_endpoint_state(struct afs_endpoint_state *estate,
enum afs_estate_trace where)
{ … }
static void afs_endpoint_state_rcu(struct rcu_head *rcu)
{ … }
void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where)
{ … }
static void afs_schedule_fs_probe(struct afs_net *net,
struct afs_server *server, bool fast)
{ … }
static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server,
struct afs_endpoint_state *estate)
{ … }
static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server,
struct afs_endpoint_state *estate)
{ … }
static void afs_fs_probe_not_done(struct afs_net *net,
struct afs_server *server,
struct afs_endpoint_state *estate,
int index)
{ … }
void afs_fileserver_probe_result(struct afs_call *call)
{ … }
void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server,
struct afs_addr_list *new_alist, struct key *key)
{ … }
int afs_wait_for_fs_probes(struct afs_operation *op, struct afs_server_state *states, bool intr)
{ … }
void afs_fs_probe_timer(struct timer_list *timer)
{ … }
static void afs_dispatch_fs_probe(struct afs_net *net, struct afs_server *server)
__releases(&net->fs_lock)
{ … }
void afs_probe_fileserver(struct afs_net *net, struct afs_server *server)
{ … }
void afs_fs_probe_dispatcher(struct work_struct *work)
{ … }
int afs_wait_for_one_fs_probe(struct afs_server *server, struct afs_endpoint_state *estate,
unsigned long exclude, bool is_intr)
{ … }
void afs_fs_probe_cleanup(struct afs_net *net)
{ … }