#define pr_fmt(fmt) …
#include <linux/slab.h>
#include <linux/ctype.h>
#include <linux/inet.h>
#include <linux/seq_file.h>
#include <keys/rxrpc-type.h>
#include "internal.h"
static inline struct afs_net *afs_seq2net_single(struct seq_file *m)
{ … }
static int afs_split_string(char **pbuf, char *strv[], unsigned int maxstrv)
{ … }
static int afs_parse_address(char *p, struct afs_addr_preference *pref)
{ … }
enum cmp_ret { … };
static enum cmp_ret afs_cmp_address_pref(const struct afs_addr_preference *a,
const struct afs_addr_preference *b)
{ … }
static int afs_insert_address_pref(struct afs_addr_preference_list **_preflist,
struct afs_addr_preference *pref,
int index)
{ … }
static int afs_add_address_pref(struct afs_net *net, struct afs_addr_preference_list **_preflist,
int argc, char **argv)
{ … }
static int afs_delete_address_pref(struct afs_addr_preference_list **_preflist,
int index)
{ … }
static int afs_del_address_pref(struct afs_net *net, struct afs_addr_preference_list **_preflist,
int argc, char **argv)
{ … }
int afs_proc_addr_prefs_write(struct file *file, char *buf, size_t size)
{ … }
void afs_get_address_preferences_rcu(struct afs_net *net, struct afs_addr_list *alist)
{ … }
void afs_get_address_preferences(struct afs_net *net, struct afs_addr_list *alist)
{ … }