Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/afs/
A Dproc.c439 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local
498 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write()
499 if (!sysnames) in afs_proc_sysname_write()
502 kill = sysnames; in afs_proc_sysname_write()
541 sysnames->subs[sysnames->nr] = sub; in afs_proc_sysname_write()
542 sysnames->nr++; in afs_proc_sysname_write()
546 sysnames->subs[0] = sysnames->blank; in afs_proc_sysname_write()
547 sysnames->nr++; in afs_proc_sysname_write()
552 net->sysnames = sysnames; in afs_proc_sysname_write()
569 if (sysnames && refcount_dec_and_test(&sysnames->usage)) { in afs_put_sysnames()
[all …]
A Dmain.c69 struct afs_sysnames *sysnames; in afs_net_init() local
106 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_net_init()
107 if (!sysnames) in afs_net_init()
109 sysnames->subs[0] = (char *)&afs_init_sysname; in afs_net_init()
110 sysnames->nr = 1; in afs_net_init()
111 refcount_set(&sysnames->usage, 1); in afs_net_init()
112 net->sysnames = sysnames; in afs_net_init()
141 afs_put_sysnames(net->sysnames); in afs_net_init()
160 afs_put_sysnames(net->sysnames); in afs_net_exit()
A Dinternal.h307 struct afs_sysnames *sysnames; member
1253 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
A Ddir.c938 subs = net->sysnames; in afs_lookup_atsys()

Completed in 23 milliseconds