Searched refs:sysnames (Results 1 – 4 of 4) sorted by relevance
380 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local383 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() local439 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 …]
73 struct afs_sysnames *sysnames; in afs_net_init() local105 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()
270 struct afs_sysnames *sysnames; member902 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
789 subs = net->sysnames; in afs_lookup_atsys()