xref: /kernel/linux/linux-5.10/tools/perf/util/memswap.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/perf/util/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef PERF_MEMSWAP_H_
38c2ecf20Sopenharmony_ci#define PERF_MEMSWAP_H_
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/types.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciunion u64_swap {
88c2ecf20Sopenharmony_ci	u64 val64;
98c2ecf20Sopenharmony_ci	u32 val32[2];
108c2ecf20Sopenharmony_ci};
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_civoid mem_bswap_64(void *src, int byte_size);
138c2ecf20Sopenharmony_civoid mem_bswap_32(void *src, int byte_size);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* PERF_MEMSWAP_H_ */
16

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