Linux Audio

Check our new training course

Loading...
v5.14.15
 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 <net/netns/generic.h>
 7
 8struct lockd_net {
 9	unsigned int nlmsvc_users;
10	unsigned long next_gc;
11	unsigned long nrhosts;
12
13	struct delayed_work grace_period_end;
14	struct lock_manager lockd_manager;
15
16	struct list_head nsm_handles;
17};
18
19extern unsigned int lockd_net_id;
20
21#endif
v4.6
 
 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
15	struct list_head nsm_handles;
16};
17
18extern int lockd_net_id;
19
20#endif