xref: /kernel/linux/linux-5.10/fs/lockd/netns.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/fs/lockd/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __LOCKD_NETNS_H__
38c2ecf20Sopenharmony_ci#define __LOCKD_NETNS_H__
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/fs.h>
68c2ecf20Sopenharmony_ci#include <net/netns/generic.h>
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cistruct lockd_net {
98c2ecf20Sopenharmony_ci	unsigned int nlmsvc_users;
108c2ecf20Sopenharmony_ci	unsigned long next_gc;
118c2ecf20Sopenharmony_ci	unsigned long nrhosts;
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	struct delayed_work grace_period_end;
148c2ecf20Sopenharmony_ci	struct lock_manager lockd_manager;
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	struct list_head nsm_handles;
178c2ecf20Sopenharmony_ci};
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciextern unsigned int lockd_net_id;
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024