Release 4.14 arch/um/drivers/cow_sys.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __COW_SYS_H__
#define __COW_SYS_H__
#include <kern_util.h>
#include <os.h>
#include <um_malloc.h>
static inline void *cow_malloc(int size)
{
return uml_kmalloc(size, UM_GFP_KERNEL);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 16 | 84.21% | 1 | 33.33% |
Jeff Dike | 3 | 15.79% | 2 | 66.67% |
Total | 19 | 100.00% | 3 | 100.00% |
static inline void cow_free(void *ptr)
{
kfree(ptr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
#define cow_printf printk
static inline char *cow_strdup(char *str)
{
return uml_strdup(str);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
static inline int cow_seek_file(int fd, __u64 offset)
{
return os_seek_file(fd, offset);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 21 | 100.00% | 2 | 100.00% |
Total | 21 | 100.00% | 2 | 100.00% |
static inline int cow_file_size(char *file, unsigned long long *size_out)
{
return os_file_size(file, size_out);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 25 | 100.00% | 2 | 100.00% |
Total | 25 | 100.00% | 2 | 100.00% |
static inline int cow_write_file(int fd, void *buf, int size)
{
return os_write_file(fd, buf, size);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 26 | 96.30% | 2 | 66.67% |
Jeff Dike | 1 | 3.70% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo 'Blaisorblade' Giarrusso | 140 | 94.59% | 4 | 44.44% |
Jeff Dike | 4 | 2.70% | 3 | 33.33% |
Al Viro | 3 | 2.03% | 1 | 11.11% |
Greg Kroah-Hartman | 1 | 0.68% | 1 | 11.11% |
Total | 148 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.