Home
last modified time | relevance | path

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

/linux-4.19.296/fs/afs/
Dproc.c380 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local
383 if (i < sysnames->nr) in afs_proc_sysname_show()
384 seq_printf(m, "%s\n", sysnames->subs[i]); in afs_proc_sysname_show()
396 names = net->sysnames; in afs_proc_sysname_start()
405 struct afs_sysnames *names = net->sysnames; in afs_proc_sysname_next()
433 struct afs_sysnames *sysnames, *kill; in afs_proc_sysname_write() local
439 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write()
440 if (!sysnames) in afs_proc_sysname_write()
442 refcount_set(&sysnames->usage, 1); in afs_proc_sysname_write()
443 kill = sysnames; in afs_proc_sysname_write()
[all …]
Dmain.c73 struct afs_sysnames *sysnames; in afs_net_init() local
105 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_net_init()
106 if (!sysnames) in afs_net_init()
108 sysnames->subs[0] = (char *)&afs_init_sysname; in afs_net_init()
109 sysnames->nr = 1; in afs_net_init()
110 refcount_set(&sysnames->usage, 1); in afs_net_init()
111 net->sysnames = sysnames; in afs_net_init()
139 afs_put_sysnames(net->sysnames); in afs_net_init()
157 afs_put_sysnames(net->sysnames); in afs_net_exit()
Dinternal.h270 struct afs_sysnames *sysnames; member
902 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
Ddir.c789 subs = net->sysnames; in afs_lookup_atsys()