sysfs.h (cbecf716ca618fd44feda6bd9a64a8179d031fc5) | sysfs.h (d5082ace6c8ddefd19b8f7b7164580d972fdb103) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2019 Hammerspace Inc 4 */ 5 6#ifndef __NFS_SYSFS_H 7#define __NFS_SYSFS_H 8 9#define CONTAINER_ID_MAXLEN (64) 10 11struct nfs_netns_client { 12 struct kobject kobject; 13 struct net *net; 14 const char __rcu *identifier; 15}; 16 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2019 Hammerspace Inc 4 */ 5 6#ifndef __NFS_SYSFS_H 7#define __NFS_SYSFS_H 8 9#define CONTAINER_ID_MAXLEN (64) 10 11struct nfs_netns_client { 12 struct kobject kobject; 13 struct net *net; 14 const char __rcu *identifier; 15}; 16 |
17extern struct kobject *nfs_client_kobj; | 17extern struct kobject *nfs_net_kobj; |
18 19extern int nfs_sysfs_init(void); 20extern void nfs_sysfs_exit(void); 21 22void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net); 23void nfs_netns_sysfs_destroy(struct nfs_net *netns); 24 25#endif | 18 19extern int nfs_sysfs_init(void); 20extern void nfs_sysfs_exit(void); 21 22void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net); 23void nfs_netns_sysfs_destroy(struct nfs_net *netns); 24 25#endif |