lib/raid/xor/arm/xor-neon-glue.c

Source file repositories/reference/linux-study-clean/lib/raid/xor/arm/xor-neon-glue.c

File Facts

System
Linux kernel
Corpus path
lib/raid/xor/arm/xor-neon-glue.c
Extension
.c
Size
411 bytes
Lines
20
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Copyright (C) 2001 Russell King
 */
#include "xor_impl.h"
#include "xor_arch.h"

static void xor_gen_neon(void *dest, void **srcs, unsigned int src_cnt,
		unsigned int bytes)
{
	kernel_neon_begin();
	xor_gen_neon_inner(dest, srcs, src_cnt, bytes);
	kernel_neon_end();
}

struct xor_block_template xor_block_neon = {
	.name		= "neon",
	.xor_gen	= xor_gen_neon,
};

Annotation

Implementation Notes