__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */ /* * RPC client multipathing definitions * * Copyright (c) 2015, 2016, Primary Data, Inc. All rights reserved. * * Trond Myklebust <[email protected]> */ #ifndef _NET_SUNRPC_XPRTMULTIPATH_H #define _NET_SUNRPC_XPRTMULTIPATH_H struct rpc_xprt_iter_ops; struct rpc_sysfs_xprt_switch; struct rpc_xprt_switch { spinlock_t xps_lock; struct kref xps_kref; unsigned int xps_id; unsigned int xps_nxprts; unsigned int xps_nactive; unsigned int xps_nunique_destaddr_xprts; atomic_long_t xps_queuelen; struct list_head xps_xprt_list; struct net * xps_net; const struct rpc_xprt_iter_ops *xps_iter_ops; struct rpc_sysfs_xprt_switch *xps_sysfs; struct rcu_head xps_rcu; }; struct rpc_xprt_iter { struct rpc_xprt_switch __rcu *xpi_xpswitch; struct rpc_xprt * xpi_cursor; const struct rpc_xprt_iter_ops *xpi_ops; }; struct rpc_xprt_iter_ops { void (*xpi_rewind)(struct rpc_xprt_iter *); struct rpc_xprt *(*xpi_xprt)(struct rpc_xprt_iter *); struct rpc_xprt *(*xpi_next)(struct rpc_xprt_iter *); }; extern struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, gfp_t gfp_flags); extern struct rpc_xprt_switch *xprt_switch_get(struct rpc_xprt_switch *xps); extern void xprt_switch_put(struct rpc_xprt_switch *xps); extern void rpc_xprt_switch_set_roundrobin(struct rpc_xprt_switch *xps); extern void rpc_xprt_switch_add_xprt(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt); extern void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, bool offline); extern void xprt_iter_init(struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *xps); extern void xprt_iter_init_listall(struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *xps); extern void xprt_iter_init_listoffline(struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *xps); extern void xprt_iter_destroy(struct rpc_xprt_iter *xpi); extern void xprt_iter_rewind(struct rpc_xprt_iter *xpi); extern struct rpc_xprt_switch *xprt_iter_xchg_switch( struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *newswitch); extern struct rpc_xprt *xprt_iter_xprt(struct rpc_xprt_iter *xpi); extern struct rpc_xprt *xprt_iter_get_next(struct rpc_xprt_iter *xpi); extern bool rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, const struct sockaddr *sap); extern void xprt_multipath_cleanup_ids(void); #endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| xdrgen | Folder | 0755 |
|
|
| addr.h | File | 4.94 KB | 0644 |
|
| auth.h | File | 6.11 KB | 0644 |
|
| auth_gss.h | File | 2.31 KB | 0644 |
|
| bc_xprt.h | File | 1.98 KB | 0644 |
|
| cache.h | File | 9.07 KB | 0644 |
|
| clnt.h | File | 9.04 KB | 0644 |
|
| debug.h | File | 2.76 KB | 0644 |
|
| gss_api.h | File | 4.45 KB | 0644 |
|
| gss_err.h | File | 5.88 KB | 0644 |
|
| gss_krb5.h | File | 6.29 KB | 0644 |
|
| metrics.h | File | 3.68 KB | 0644 |
|
| msg_prot.h | File | 6.21 KB | 0644 |
|
| rdma_rn.h | File | 709 B | 0644 |
|
| rpc_pipe_fs.h | File | 3.85 KB | 0644 |
|
| rpc_rdma.h | File | 6.07 KB | 0644 |
|
| rpc_rdma_cid.h | File | 622 B | 0644 |
|
| sched.h | File | 10 KB | 0644 |
|
| stats.h | File | 1.9 KB | 0644 |
|
| svc.h | File | 19.16 KB | 0644 |
|
| svc_rdma.h | File | 10.48 KB | 0644 |
|
| svc_rdma_pcl.h | File | 3.13 KB | 0644 |
|
| svc_xprt.h | File | 8.07 KB | 0644 |
|
| svcauth.h | File | 6.05 KB | 0644 |
|
| svcauth_gss.h | File | 782 B | 0644 |
|
| svcsock.h | File | 1.92 KB | 0644 |
|
| timer.h | File | 1.14 KB | 0644 |
|
| types.h | File | 497 B | 0644 |
|
| xdr.h | File | 22.89 KB | 0644 |
|
| xprt.h | File | 16.36 KB | 0644 |
|
| xprtmultipath.h | File | 2.34 KB | 0644 |
|
| xprtrdma.h | File | 2.95 KB | 0644 |
|
| xprtsock.h | File | 1.85 KB | 0644 |
|