fs/unicode/utf8data.c_shipped

Source file repositories/reference/linux-study-clean/fs/unicode/utf8data.c_shipped

File Facts

System
Linux kernel
Corpus path
fs/unicode/utf8data.c_shipped
Extension
.c_shipped
Size
331286 bytes
Lines
4125
Domain
Core OS
Bucket
VFS And Filesystem Core
Inferred role
Core OS: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <linux/module.h>
#include <linux/kernel.h>
#include "utf8n.h"

static const unsigned int utf8agetab[] = {
	0,
	0x10100,
	0x20000,
	0x20100,
	0x30000,
	0x30100,
	0x30200,
	0x40000,
	0x40100,
	0x50000,
	0x50100,
	0x50200,
	0x60000,
	0x60100,
	0x60200,
	0x60300,
	0x70000,
	0x80000,
	0x90000,
	0xa0000,
	0xb0000,
	0xc0000,
	0xc0100
};

static const struct utf8data utf8nfdicfdata[] = {
	{ 0, 0 },
	{ 0x10100, 0 },
	{ 0x20000, 0 },
	{ 0x20100, 0 },
	{ 0x30000, 0 },
	{ 0x30100, 0 },
	{ 0x30200, 1792 },
	{ 0x40000, 3200 },
	{ 0x40100, 3200 },
	{ 0x50000, 3200 },
	{ 0x50100, 3200 },
	{ 0x50200, 3200 },
	{ 0x60000, 3200 },
	{ 0x60100, 3200 },
	{ 0x60200, 3200 },
	{ 0x60300, 3200 },
	{ 0x70000, 3200 },
	{ 0x80000, 3200 },
	{ 0x90000, 3200 },
	{ 0xa0000, 3200 },
	{ 0xb0000, 3200 },
	{ 0xc0000, 3200 },
	{ 0xc0100, 3200 }
};

static const struct utf8data utf8nfdidata[] = {
	{ 0, 896 },
	{ 0x10100, 896 },
	{ 0x20000, 896 },
	{ 0x20100, 896 },
	{ 0x30000, 896 },
	{ 0x30100, 896 },
	{ 0x30200, 2496 },
	{ 0x40000, 20736 },
	{ 0x40100, 20736 },
	{ 0x50000, 20736 },
	{ 0x50100, 20736 },
	{ 0x50200, 20736 },
	{ 0x60000, 20736 },

Annotation

Implementation Notes