Searched refs:sysnames (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/afs/ |
H A D | proc.c | 439 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local 442 if (i < sysnames->nr) in afs_proc_sysname_show() 443 seq_printf(m, "%s\n", sysnames->subs[i]); in afs_proc_sysname_show() 455 names = net->sysnames; 464 struct afs_sysnames *names = net->sysnames; in afs_proc_sysname_next() 492 struct afs_sysnames *sysnames, *kill; in afs_proc_sysname_write() local 498 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write() 499 if (!sysnames) in afs_proc_sysname_write() 565 afs_put_sysnames(struct afs_sysnames *sysnames) afs_put_sysnames() argument [all...] |
H A D | main.c | 69 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() [all...] |
H A D | internal.h | 302 struct afs_sysnames *sysnames; member 1232 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
|
H A D | dir.c | 906 subs = net->sysnames; in afs_lookup_atsys() 926 * the cached dentry to hide changes to the sysnames list. in afs_lookup_atsys()
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | proc.c | 439 struct afs_sysnames *sysnames = net->sysnames; in afs_proc_sysname_show() local 442 if (i < sysnames->nr) in afs_proc_sysname_show() 443 seq_printf(m, "%s\n", sysnames->subs[i]); in afs_proc_sysname_show() 455 names = net->sysnames; 464 struct afs_sysnames *names = net->sysnames; in afs_proc_sysname_next() 492 struct afs_sysnames *sysnames, *kill; in afs_proc_sysname_write() local 498 sysnames = kzalloc(sizeof(*sysnames), GFP_KERNEL); in afs_proc_sysname_write() 499 if (!sysnames) in afs_proc_sysname_write() 565 afs_put_sysnames(struct afs_sysnames *sysnames) afs_put_sysnames() argument [all...] |
H A D | main.c | 69 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() [all...] |
H A D | internal.h | 307 struct afs_sysnames *sysnames; member 1258 static inline void afs_put_sysnames(struct afs_sysnames *sysnames) {} in afs_put_sysnames() argument
|
H A D | dir.c | 942 subs = net->sysnames; in afs_lookup_atsys() 962 * the cached dentry to hide changes to the sysnames list. in afs_lookup_atsys()
|
Completed in 15 milliseconds