ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/include/linux/sunrpc
/
usr
src
kernels
5.14.0-427.31.1.el9_4.x86_64
include
linux
sunrpc
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
addr.h
4.94 MB
chmod
View
DL
Edit
Rename
Delete
auth.h
6.11 MB
chmod
View
DL
Edit
Rename
Delete
auth_gss.h
2.31 MB
chmod
View
DL
Edit
Rename
Delete
bc_xprt.h
2.78 MB
chmod
View
DL
Edit
Rename
Delete
cache.h
8.96 MB
chmod
View
DL
Edit
Rename
Delete
clnt.h
9.01 MB
chmod
View
DL
Edit
Rename
Delete
debug.h
2.76 MB
chmod
View
DL
Edit
Rename
Delete
gss_api.h
4.45 MB
chmod
View
DL
Edit
Rename
Delete
gss_asn1.h
3.11 MB
chmod
View
DL
Edit
Rename
Delete
gss_err.h
5.88 MB
chmod
View
DL
Edit
Rename
Delete
gss_krb5.h
6.32 MB
chmod
View
DL
Edit
Rename
Delete
metrics.h
3.68 MB
chmod
View
DL
Edit
Rename
Delete
msg_prot.h
6.21 MB
chmod
View
DL
Edit
Rename
Delete
rpc_pipe_fs.h
3.85 MB
chmod
View
DL
Edit
Rename
Delete
rpc_rdma.h
6.07 MB
chmod
View
DL
Edit
Rename
Delete
rpc_rdma_cid.h
622 B
chmod
View
DL
Edit
Rename
Delete
sched.h
9.91 MB
chmod
View
DL
Edit
Rename
Delete
stats.h
2 MB
chmod
View
DL
Edit
Rename
Delete
svc.h
18.39 MB
chmod
View
DL
Edit
Rename
Delete
svcauth.h
6.01 MB
chmod
View
DL
Edit
Rename
Delete
svcauth_gss.h
782 B
chmod
View
DL
Edit
Rename
Delete
svcsock.h
2.18 MB
chmod
View
DL
Edit
Rename
Delete
svc_rdma.h
7.63 MB
chmod
View
DL
Edit
Rename
Delete
svc_rdma_pcl.h
3.13 MB
chmod
View
DL
Edit
Rename
Delete
svc_xprt.h
7.33 MB
chmod
View
DL
Edit
Rename
Delete
timer.h
1.14 MB
chmod
View
DL
Edit
Rename
Delete
types.h
497 B
chmod
View
DL
Edit
Rename
Delete
xdr.h
22.31 MB
chmod
View
DL
Edit
Rename
Delete
xprt.h
16.56 MB
chmod
View
DL
Edit
Rename
Delete
xprtmultipath.h
2.41 MB
chmod
View
DL
Edit
Rename
Delete
xprtrdma.h
2.95 MB
chmod
View
DL
Edit
Rename
Delete
xprtsock.h
1.85 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/include/linux/sunrpc/metrics.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/sunrpc/metrics.h * * Declarations for RPC client per-operation metrics * * Copyright (C) 2005 Chuck Lever <cel@netapp.com> * * RPC client per-operation statistics provide latency and retry * information about each type of RPC procedure in a given RPC program. * These statistics are not for detailed problem diagnosis, but simply * to indicate whether the problem is local or remote. * * These counters are not meant to be human-readable, but are meant to be * integrated into system monitoring tools such as "sar" and "iostat". As * such, the counters are sampled by the tools over time, and are never * zeroed after a file system is mounted. Moving averages can be computed * by the tools by taking the difference between two instantaneous samples * and dividing that by the time between the samples. * * The counters are maintained in a single array per RPC client, indexed * by procedure number. There is no need to maintain separate counter * arrays per-CPU because these counters are always modified behind locks. */ #ifndef _LINUX_SUNRPC_METRICS_H #define _LINUX_SUNRPC_METRICS_H #include <linux/seq_file.h> #include <linux/ktime.h> #include <linux/spinlock.h> #define RPC_IOSTATS_VERS "1.1" struct rpc_iostats { spinlock_t om_lock; /* * These counters give an idea about how many request * transmissions are required, on average, to complete that * particular procedure. Some procedures may require more * than one transmission because the server is unresponsive, * the client is retransmitting too aggressively, or the * requests are large and the network is congested. */ unsigned long om_ops, /* count of operations */ om_ntrans, /* count of RPC transmissions */ om_timeouts; /* count of major timeouts */ /* * These count how many bytes are sent and received for a * given RPC procedure type. This indicates how much load a * particular procedure is putting on the network. These * counts include the RPC and ULP headers, and the request * payload. */ unsigned long long om_bytes_sent, /* count of bytes out */ om_bytes_recv; /* count of bytes in */ /* * The length of time an RPC request waits in queue before * transmission, the network + server latency of the request, * and the total time the request spent from init to release * are measured. */ ktime_t om_queue, /* queued for xmit */ om_rtt, /* RPC RTT */ om_execute; /* RPC execution */ /* * The count of operations that complete with tk_status < 0. * These statuses usually indicate error conditions. */ unsigned long om_error_status; } ____cacheline_aligned; struct rpc_task; struct rpc_clnt; /* * EXPORTed functions for managing rpc_iostats structures */ #ifdef CONFIG_PROC_FS struct rpc_iostats * rpc_alloc_iostats(struct rpc_clnt *); void rpc_count_iostats(const struct rpc_task *, struct rpc_iostats *); void rpc_count_iostats_metrics(const struct rpc_task *, struct rpc_iostats *); void rpc_clnt_show_stats(struct seq_file *, struct rpc_clnt *); void rpc_free_iostats(struct rpc_iostats *); #else /* CONFIG_PROC_FS */ static inline struct rpc_iostats *rpc_alloc_iostats(struct rpc_clnt *clnt) { return NULL; } static inline void rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats) {} static inline void rpc_count_iostats_metrics(const struct rpc_task *task, struct rpc_iostats *stats) { } static inline void rpc_clnt_show_stats(struct seq_file *seq, struct rpc_clnt *clnt) {} static inline void rpc_free_iostats(struct rpc_iostats *stats) {} #endif /* CONFIG_PROC_FS */ #endif /* _LINUX_SUNRPC_METRICS_H */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply