Release 4.11 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% |
#if BITS_PER_LONG == 32
static inline u32 bstat(char *name)
{
struct stat64 stat;
if (sys_stat64(name, &stat) != 0)
return 0;
if (!S_ISBLK(stat.st_mode))
return 0;
if (stat.st_rdev != (u32)stat.st_rdev)
return 0;
return stat.st_rdev;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Al Viro | 64 | 100.00% | 1 | 100.00% |
Total | 64 | 100.00% | 1 | 100.00% |
#else
static inline u32 bstat(char *name)
{
struct stat stat;
if (sys_newstat(name, &stat) != 0)
return 0;
if (!S_ISBLK(stat.st_mode))
return 0;
return stat.st_rdev;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Al Viro | 48 | 100.00% | 1 | 100.00% |
Total | 48 | 100.00% | 1 | 100.00% |
#endif
#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 | 56.91% | 3 | 33.33% |
Al Viro | 124 | 39.87% | 2 | 22.22% |
Neil Brown | 3 | 0.96% | 1 | 11.11% |
Andrew Morton | 3 | 0.96% | 1 | 11.11% |
Yaowei Bai | 3 | 0.96% | 1 | 11.11% |
Adrian Bunk | 1 | 0.32% | 1 | 11.11% |
Total | 311 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.