2021-06-08 15:59:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
2021-06-23 23:28:49 -04:00
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-21 10:46:45 +01:00
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-02-14 04:21:24 +00:00
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-02-21 16:37:42 -08:00
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
2025-02-07 15:42:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
2021-10-28 15:17:41 -04:00
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
|
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
|
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
|
|
|
|
|
2021-10-28 15:17:41 -04:00
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
|
|
|
|
|
2021-10-28 15:17:41 -04:00
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:52 -04:00
|
|
|
|
2021-07-29 16:46:05 -04:00
|
|
|
|
2021-06-23 23:28:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2021-07-29 16:46:05 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
2022-03-24 17:19:59 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:25 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-27 14:37:16 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
2021-08-27 14:37:16 -04:00
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
2022-03-25 10:37:31 -04:00
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-06-03 09:36:52 +08:00
|
|
|
|
2025-02-07 15:42:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-05-13 17:28:59 +08:00
|
|
|
|
2025-02-07 15:42:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-07 09:59:15 -04:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-12 19:33:59 +08:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-02-21 16:37:42 -08:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
2022-08-10 23:29:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
|
|
|
|
|
2021-09-09 12:32:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-25 09:32:21 -04:00
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
2022-07-25 09:32:21 -04:00
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2022-07-25 09:32:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:53 -04:00
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:25 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
2026-04-01 12:15:58 +02:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
2025-02-07 15:42:25 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
2021-07-29 16:45:23 -04:00
|
|
|
|
2025-02-07 15:42:22 -05:00
|
|
|
|
sunrpc: provide transport info in the sysfs directory
Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-08 15:59:20 -04:00
|
|
|
|
2021-06-08 15:59:22 -04:00
|
|
|
|
2025-02-07 15:42:25 -05:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
|
|
|
|
|
2021-12-28 15:48:23 +01:00
|
|
|
|
2021-06-08 15:59:19 -04:00
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:24 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
2025-02-07 15:42:24 -05:00
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
|
|
|
|
|
2021-12-28 15:48:23 +01:00
|
|
|
|
2021-06-08 15:59:21 -04:00
|
|
|
|
2023-02-14 04:21:24 +00:00
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2025-02-07 15:42:23 -05:00
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-02-14 04:21:24 +00:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
2021-12-28 15:48:23 +01:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-02-14 04:21:24 +00:00
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
2021-12-28 15:48:23 +01:00
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:11 -04:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
2021-06-08 15:59:10 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-02-21 16:37:42 -08:00
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
treewide: Replace kmalloc with kmalloc_obj for non-scalar types
This is the result of running the Coccinelle script from
scripts/coccinelle/api/kmalloc_objs.cocci. The script is designed to
avoid scalar types (which need careful case-by-case checking), and
instead replace kmalloc-family calls that allocate struct or union
object instances:
Single allocations: kmalloc(sizeof(TYPE), ...)
are replaced with: kmalloc_obj(TYPE, ...)
Array allocations: kmalloc_array(COUNT, sizeof(TYPE), ...)
are replaced with: kmalloc_objs(TYPE, COUNT, ...)
Flex array allocations: kmalloc(struct_size(PTR, FAM, COUNT), ...)
are replaced with: kmalloc_flex(*PTR, FAM, COUNT, ...)
(where TYPE may also be *VAR)
The resulting allocations no longer return "void *", instead returning
"TYPE *".
Signed-off-by: Kees Cook <kees@kernel.org>
2026-02-20 23:49:23 -08:00
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
treewide: Replace kmalloc with kmalloc_obj for non-scalar types
This is the result of running the Coccinelle script from
scripts/coccinelle/api/kmalloc_objs.cocci. The script is designed to
avoid scalar types (which need careful case-by-case checking), and
instead replace kmalloc-family calls that allocate struct or union
object instances:
Single allocations: kmalloc(sizeof(TYPE), ...)
are replaced with: kmalloc_obj(TYPE, ...)
Array allocations: kmalloc_array(COUNT, sizeof(TYPE), ...)
are replaced with: kmalloc_objs(TYPE, COUNT, ...)
Flex array allocations: kmalloc(struct_size(PTR, FAM, COUNT), ...)
are replaced with: kmalloc_flex(*PTR, FAM, COUNT, ...)
(where TYPE may also be *VAR)
The resulting allocations no longer return "void *", instead returning
"TYPE *".
Signed-off-by: Kees Cook <kees@kernel.org>
2026-02-20 23:49:23 -08:00
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
2022-10-20 11:42:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-20 11:42:17 +08:00
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-20 11:42:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 23:28:50 -04:00
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 15:59:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|