Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __LOCKD_NETNS_H__
 3#define __LOCKD_NETNS_H__
 4
 5#include <linux/fs.h>
 6#include <linux/filelock.h>
 7#include <net/netns/generic.h>
 8
 9struct lockd_net {
10	unsigned int nlmsvc_users;
11	unsigned long next_gc;
12	unsigned long nrhosts;
13
14	struct delayed_work grace_period_end;
15	struct lock_manager lockd_manager;
 
16
17	struct list_head nsm_handles;
 
 
18};
19
20extern unsigned int lockd_net_id;
21
22#endif
v3.15
 
 1#ifndef __LOCKD_NETNS_H__
 2#define __LOCKD_NETNS_H__
 3
 4#include <linux/fs.h>
 
 5#include <net/netns/generic.h>
 6
 7struct lockd_net {
 8	unsigned int nlmsvc_users;
 9	unsigned long next_gc;
10	unsigned long nrhosts;
11
12	struct delayed_work grace_period_end;
13	struct lock_manager lockd_manager;
14	struct list_head grace_list;
15
16	spinlock_t nsm_clnt_lock;
17	unsigned int nsm_users;
18	struct rpc_clnt *nsm_clnt;
19};
20
21extern int lockd_net_id;
22
23#endif