Home
last modified time | relevance | path

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

/Linux-v5.4/fs/afs/
Dproc.c430 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local
433 if (i < sysnames->nr) in afs_proc_sysname_show()
434 seq_printf(m, "%s\n", sysnames->subs[i]); in afs_proc_sysname_show()
446 names = net->sysnames; in afs_proc_sysname_start()
455 struct afs_sysnames *names = net->sysnames; in afs_proc_sysname_next()
483 struct afs_sysnames *sysnames, *kill; in afs_proc_sysname_write() local
489 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write()
490 if (!sysnames) in afs_proc_sysname_write()
492 refcount_set(&sysnames->usage, 1); in afs_proc_sysname_write()
493 kill = sysnames; in afs_proc_sysname_write()
[all …]
Dmain.c69 struct afs_sysnames *sysnames; in afs_net_init() local
101 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_net_init()
102 if (!sysnames) in afs_net_init()
104 sysnames->subs[0] = (char *)&afs_init_sysname; in afs_net_init()
105 sysnames->nr = 1; in afs_net_init()
106 refcount_set(&sysnames->usage, 1); in afs_net_init()
107 net->sysnames = sysnames; in afs_net_init()
135 afs_put_sysnames(net->sysnames); in afs_net_init()
153 afs_put_sysnames(net->sysnames); in afs_net_exit()
Dinternal.h321 struct afs_sysnames *sysnames; member
1097 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
Ddir.c873 subs = net->sysnames; in afs_lookup_atsys()