Release 4.14 arch/x86/boot/compressed/cmdline.c
// SPDX-License-Identifier: GPL-2.0
#include "misc.h"
#if CONFIG_EARLY_PRINTK || CONFIG_RANDOMIZE_BASE
static unsigned long fs;
static inline void set_fs(unsigned long seg)
{
fs = seg << 4; /* shift it back */
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
typedef unsigned long addr_t;
static inline char rdfs8(addr_t addr)
{
return *((char *)(fs + addr));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
#include "../cmdline.c"
unsigned long get_cmd_line_ptr(void)
{
unsigned long cmd_line_ptr = boot_params->hdr.cmd_line_ptr;
cmd_line_ptr |= (u64)boot_params->ext_cmd_line_ptr << 32;
return cmd_line_ptr;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 30 | 93.75% | 2 | 66.67% |
Kees Cook | 2 | 6.25% | 1 | 33.33% |
Total | 32 | 100.00% | 3 | 100.00% |
int cmdline_find_option(const char *option, char *buffer, int bufsize)
{
return __cmdline_find_option(get_cmd_line_ptr(), option, buffer, bufsize);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 30 | 100.00% | 2 | 100.00% |
Total | 30 | 100.00% | 2 | 100.00% |
int cmdline_find_option_bool(const char *option)
{
return __cmdline_find_option_bool(get_cmd_line_ptr(), option);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 19 | 100.00% | 2 | 100.00% |
Total | 19 | 100.00% | 2 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yinghai Lu | 137 | 93.20% | 3 | 42.86% |
Kees Cook | 6 | 4.08% | 2 | 28.57% |
Gokul Caushik | 3 | 2.04% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.68% | 1 | 14.29% |
Total | 147 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.