cregit-Linux how code gets into the kernel

Release 4.18 tools/perf/util/memswap.c

Directory: tools/perf/util
// SPDX-License-Identifier: GPL-2.0
#include <byteswap.h>
#include "memswap.h"
#include <linux/types.h>


void mem_bswap_32(void *src, int byte_size) { u32 *m = src; while (byte_size > 0) { *m = bswap_32(*m); byte_size -= sizeof(u32); ++m; } }

Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo45100.00%1100.00%
Total45100.00%1100.00%


void mem_bswap_64(void *src, int byte_size) { u64 *m = src; while (byte_size > 0) { *m = bswap_64(*m); byte_size -= sizeof(u64); ++m; } }

Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo45100.00%1100.00%
Total45100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo9999.00%150.00%
Greg Kroah-Hartman11.00%150.00%
Total100100.00%2100.00%
Directory: tools/perf/util
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.