Home
last modified time | relevance | path

Searched refs:sysnames (Results 1 – 4 of 4) sorted by relevance

/linux/fs/afs/
H A Dproc.c516 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local
519 if (i < sysnames->nr) in afs_proc_sysname_show()
520 seq_printf(m, "%s\n", sysnames->subs[i]); in afs_proc_sysname_show()
532 names = net->sysnames; in afs_proc_sysname_start()
541 struct afs_sysnames *names = net->sysnames; in afs_proc_sysname_next()
569 struct afs_sysnames *sysnames, *kill; in afs_proc_sysname_write() local
575 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write()
576 if (!sysnames) in afs_proc_sysname_write()
578 refcount_set(&sysnames->usage, 1); in afs_proc_sysname_write()
579 kill = sysnames; in afs_proc_sysname_write()
[all …]
H A Dmain.c67 struct afs_sysnames *sysnames; in afs_net_init() local
96 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_net_init()
97 if (!sysnames) in afs_net_init()
99 sysnames->subs[0] = (char *)&afs_init_sysname; in afs_net_init()
100 sysnames->nr = 1; in afs_net_init()
101 refcount_set(&sysnames->usage, 1); in afs_net_init()
102 net->sysnames = sysnames; in afs_net_init()
131 afs_put_sysnames(net->sysnames); in afs_net_init()
151 afs_put_sysnames(net->sysnames); in afs_net_exit()
H A Dinternal.h323 struct afs_sysnames *sysnames; member
1363 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
H A Ddir.c933 subs = net->sysnames; in afs_lookup_atsys()