Release 4.13 init/do_mounts.h
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/syscalls.h>
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/mount.h>
#include <linux/major.h>
#include <linux/root_dev.h>
void change_floppy(char *fmt, ...);
void mount_block_root(char *name, int flags);
void mount_root(void);
extern int root_mountflags;
static inline int create_dev(char *name, dev_t dev)
{
sys_unlink(name);
return sys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 31 | 91.18% | 1 | 33.33% |
Al Viro | 3 | 8.82% | 2 | 66.67% |
Total | 34 | 100.00% | 3 | 100.00% |
static inline u32 bstat(char *name)
{
struct kstat stat;
if (vfs_stat(name, &stat) != 0)
return 0;
if (!S_ISBLK(stat.mode))
return 0;
return stat.rdev;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Al Viro | 44 | 91.67% | 1 | 50.00% |
Arnd Bergmann | 4 | 8.33% | 1 | 50.00% |
Total | 48 | 100.00% | 2 | 100.00% |
#ifdef CONFIG_BLK_DEV_RAM
int __init rd_load_disk(int n);
int __init rd_load_image(char *from);
#else
static inline int rd_load_disk(int n) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
static inline int rd_load_image(char *from) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
#endif
#ifdef CONFIG_BLK_DEV_INITRD
bool __init initrd_load(void);
#else
static inline bool initrd_load(void) { return false; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 10 | 83.33% | 1 | 50.00% |
Yaowei Bai | 2 | 16.67% | 1 | 50.00% |
Total | 12 | 100.00% | 2 | 100.00% |
#endif
#ifdef CONFIG_BLK_DEV_MD
void md_run_setup(void);
#else
static inline void md_run_setup(void) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kai Germaschewski | 177 | 74.37% | 3 | 30.00% |
Al Viro | 47 | 19.75% | 2 | 20.00% |
Arnd Bergmann | 4 | 1.68% | 1 | 10.00% |
Neil Brown | 3 | 1.26% | 1 | 10.00% |
Yaowei Bai | 3 | 1.26% | 1 | 10.00% |
Andrew Morton | 3 | 1.26% | 1 | 10.00% |
Adrian Bunk | 1 | 0.42% | 1 | 10.00% |
Total | 238 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.