plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | c | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/tests/ex/c.c | 28 | utf_8 | 920d4a39448ab01a02130545d745563d |
int c(void)
{
return 0;
}
|
google | android | e | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/tests/ex/arch/e.c | 28 | utf_8 | 116343aca37943871ca53c2b247c29a0 |
int e(void)
{
return 0;
}
|
google | android | f | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/tests/ex/arch/f.c | 28 | utf_8 | c86f457a848e30989b8b8e37c258ed9d |
int f(void)
{
return 0;
}
|
google | android | test-compile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-compile.c | 30 | utf_8 | 67213abd3ece33e9459639fd20adbec1 | int main(void)
{
return 0;
}
|
google | android | test-gtk2-infobar | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-gtk2-infobar.c | 221 | utf_8 | 0899b3b39da106d7643608da22a2bfbb | #pragma GCC diagnostic ignored "-Wstrict-prototypes"
#include <gtk/gtk.h>
#pragma GCC diagnostic error "-Wstrict-prototypes"
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);
gtk_info_bar_new();
return 0;
}
|
google | android | test-libpython-version | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libpython-version.c | 100 | utf_8 | 28ad888feed6fc83443c2a3daba84c0c | #include <Python.h>
#if PY_VERSION_HEX >= 0x03000000
#error
#endif
int main(void)
{
return 0;
}
|
google | android | test-backtrace | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-backtrace.c | 208 | utf_8 | b78839db0b303edebf94a3f806212de1 | #include <execinfo.h>
#include <stdio.h>
int main(void)
{
void *backtrace_fns[10];
size_t entries;
entries = backtrace(backtrace_fns, 10);
backtrace_symbols_fd(backtrace_fns, entries, 1);
return 0;
}
|
google | android | test-libelf-getphdrnum | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libelf-getphdrnum.c | 87 | utf_8 | efb4c325c17e2ad17239ddfb13fc545e | #include <libelf.h>
int main(void)
{
size_t dst;
return elf_getphdrnum(0, &dst);
}
|
google | android | test-glibc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-glibc.c | 325 | utf_8 | 793295adfb181e614b89ea4220a8728c | #include <stdlib.h>
#if !defined(__UCLIBC__)
#include <gnu/libc-version.h>
#else
#define XSTR(s) STR(s)
#define STR(s) #s
#endif
int main(void)
{
#if !defined(__UCLIBC__)
const char *version = gnu_get_libc_version();
#else
const char *version = XSTR(__GLIBC__) "." XSTR(__GLIBC_MINOR__);
#endif
return (long)versio... |
google | android | test-lzma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-lzma.c | 175 | utf_8 | 25c62d46f10915347e8cea88db2c863b | #include <lzma.h>
int main(void)
{
lzma_stream strm = LZMA_STREAM_INIT;
int ret;
ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED);
return ret ? -1 : 0;
}
|
google | android | test-bionic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-bionic.c | 76 | utf_8 | efb51d9dc10af2cc5bf5f8f76acd57f5 | #include <android/api-level.h>
int main(void)
{
return __ANDROID_API__;
}
|
google | android | test-dwarf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-dwarf.c | 161 | utf_8 | 805c03411e17f6e6290ff2bc5fbdcb53 | #include <dwarf.h>
#include <elfutils/libdw.h>
#include <elfutils/version.h>
int main(void)
{
Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
return (long)dbg;
}
|
google | android | test-libnuma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libnuma.c | 89 | utf_8 | 8c738b9e809fd09cd88f185f7a316089 | #include <numa.h>
#include <numaif.h>
int main(void)
{
numa_available();
return 0;
}
|
google | android | test-libperl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libperl.c | 85 | utf_8 | fd84caa783bc561ed3e2e11865425720 | #include <EXTERN.h>
#include <perl.h>
int main(void)
{
perl_alloc();
return 0;
}
|
google | android | test-libpython | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libpython.c | 70 | utf_8 | 534f7c56788c74bb90ba1187dfb9d539 | #include <Python.h>
int main(void)
{
Py_Initialize();
return 0;
}
|
google | android | test-libelf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libelf.c | 101 | utf_8 | fa26c1eb90fb279712d8abf3882e5b8c | #include <libelf.h>
int main(void)
{
Elf *elf = elf_begin(0, ELF_C_READ, 0);
return (long)elf;
}
|
google | android | test-gtk2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-gtk2.c | 207 | utf_8 | bdaa78392f3d6c22fc2f33b206066671 | #pragma GCC diagnostic ignored "-Wstrict-prototypes"
#include <gtk/gtk.h>
#pragma GCC diagnostic error "-Wstrict-prototypes"
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);
return 0;
}
|
google | android | test-bpf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-bpf.c | 272 | utf_8 | 913810aecec82432eac4060c2690f6a0 | #include <linux/bpf.h>
int main(void)
{
union bpf_attr attr;
attr.prog_type = BPF_PROG_TYPE_KPROBE;
attr.insn_cnt = 0;
attr.insns = 0;
attr.log_buf = 0;
attr.log_size = 0;
attr.log_level = 0;
attr.kern_version = 0;
attr = attr;
return 0;
} |
google | android | test-libbabeltrace | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libbabeltrace.c | 176 | utf_8 | 88707a66be14a6fa0eedc18d2aa563af |
#include <babeltrace/ctf-writer/writer.h>
#include <babeltrace/ctf-ir/stream-class.h>
int main(void)
{
bt_ctf_stream_class_get_packet_context_type((void *) 0);
return 0;
}
|
google | android | test-get_cpuid | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-get_cpuid.c | 140 | utf_8 | d866f7943324404ab1ac009f62a8e02c | #include <cpuid.h>
int main(void)
{
unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0;
return __get_cpuid(0x15, &eax, &ebx, &ecx, &edx);
}
|
google | android | test-fortify-source | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-fortify-source.c | 59 | utf_8 | f46fe8df9f528e4563f561dd9fa19186 | #include <stdio.h>
int main(void)
{
return puts("hi");
}
|
google | android | test-libdw-dwarf-unwind | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libdw-dwarf-unwind.c | 273 | utf_8 | 94ce29732bc08a123f4eda0d06e71a77 |
#include <elfutils/libdwfl.h>
int main(void)
{
/*
* This function is guarded via: __nonnull_attribute__ (1, 2).
* Passing '1' as arguments value. This code is never executed,
* only compiled.
*/
dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
return 0;
}
|
google | android | test-zlib | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-zlib.c | 83 | utf_8 | de690c1bdebecc627376be79dced03cd | #include <zlib.h>
int main(void)
{
z_stream zs;
inflateInit(&zs);
return 0;
}
|
google | android | test-hello | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-hello.c | 59 | utf_8 | f46fe8df9f528e4563f561dd9fa19186 | #include <stdio.h>
int main(void)
{
return puts("hi");
}
|
google | android | test-libunwind | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libunwind.c | 711 | utf_8 | 5675e429df8190d4081f0cc4e94b895e | #include <libunwind.h>
#include <stdlib.h>
extern int UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
unw_word_t ip,
unw_dyn_info_t *di,
unw_proc_info_t *pi,
... |
google | android | test-libslang | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libslang.c | 65 | utf_8 | e7f962d34e643618a1af56e6d7755e40 | #include <slang.h>
int main(void)
{
return SLsmg_init_smg();
}
|
google | android | test-libelf-mmap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libelf-mmap.c | 106 | utf_8 | 51c7ce81d4d206fa7f3bb4d1f8902440 | #include <libelf.h>
int main(void)
{
Elf *elf = elf_begin(0, ELF_C_READ_MMAP, 0);
return (long)elf;
}
|
google | android | test-stackprotector-all | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-stackprotector-all.c | 59 | utf_8 | f46fe8df9f528e4563f561dd9fa19186 | #include <stdio.h>
int main(void)
{
return puts("hi");
}
|
google | android | test-libunwind-debug-frame | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libunwind-debug-frame.c | 379 | utf_8 | 7a90cf49c9c926c11593cf0c9c2ff619 | #include <libunwind.h>
#include <stdlib.h>
extern int
UNW_OBJ(dwarf_find_debug_frame) (int found, unw_dyn_info_t *di_debug,
unw_word_t ip, unw_word_t segbase,
const char *obj_name, unw_word_t start,
unw_word_t end);
#define dwarf_find_debug_frame UNW_OBJ(dwarf_find_debug_frame)
int main(void)
{
dwarf... |
google | android | test-all | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-all.c | 3,337 | utf_8 | c632ba99f83ceec4e57067087a763245 | /*
* test-all.c: Try to build all the main testcases at once.
*
* A well-configured system will have all the prereqs installed, so we can speed
* up auto-detection on such systems.
*/
/*
* Quirk: Python and Perl headers cannot be in arbitrary places, so keep
* these 3 testcases at the top:
*/
#define main main... |
google | android | test-numa_num_possible_cpus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-numa_num_possible_cpus.c | 72 | utf_8 | 7b0824f365b1d9334a1f158683759d2b | #include <numa.h>
int main(void)
{
return numa_num_possible_cpus();
}
|
google | android | test-libaudit | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libaudit.c | 166 | utf_8 | 93a496eddc3e0f08985903922c16233b | #include <libaudit.h>
extern int printf(const char *format, ...);
int main(void)
{
printf("error message: %s\n", audit_errno_to_name(0));
return audit_open();
}
|
google | android | test-pthread-attr-setaffinity-np | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-pthread-attr-setaffinity-np.c | 271 | utf_8 | 37a131f69a0df7dd83af802c994c9ed8 | #include <stdint.h>
#include <pthread.h>
#include <sched.h>
int main(void)
{
int ret = 0;
pthread_attr_t thread_attr;
cpu_set_t cs;
pthread_attr_init(&thread_attr);
CPU_ZERO(&cs);
ret = pthread_attr_setaffinity_np(&thread_attr, sizeof(cs), &cs);
return ret;
}
|
google | android | test-libbfd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-libbfd.c | 233 | utf_8 | 69a1f0f03f255e1a81dcf77e91710edb | #include <bfd.h>
extern int printf(const char *format, ...);
int main(void)
{
char symbol[4096] = "FieldName__9ClassNameFd";
char *tmp;
tmp = bfd_demangle(0, symbol, 0);
printf("demangled symbol: {%s}\n", tmp);
return 0;
}
|
google | android | test-sync-compare-and-swap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-sync-compare-and-swap.c | 251 | utf_8 | 0f1f2e17a5ef4e88e3c0c221e7e103f1 | #include <stdint.h>
volatile uint64_t x;
int main(int argc, char *argv[])
{
uint64_t old, new = argc;
argv = argv;
do {
old = __sync_val_compare_and_swap(&x, 0, 0);
} while (!__sync_bool_compare_and_swap(&x, old, new));
return old == new;
}
|
google | android | test-timerfd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-timerfd.c | 299 | utf_8 | 68bbe1c4cb279b5754c4e95125b24687 | /*
* test for timerfd functions used by perf-kvm-stat-live
*/
#include <sys/timerfd.h>
int main(void)
{
struct itimerspec new_value;
int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK);
if (fd < 0)
return 1;
if (timerfd_settime(fd, 0, &new_value, NULL) != 0)
return 1;
return 0;
}
|
google | android | test-cplus-demangle | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/build/feature/test-cplus-demangle.c | 262 | utf_8 | c3ffad484627cbf1c4085d468e7b7c0d | extern int printf(const char *format, ...);
extern char *cplus_demangle(const char *, int);
int main(void)
{
char symbol[4096] = "FieldName__9ClassNameFd";
char *tmp;
tmp = cplus_demangle(symbol, 0);
printf("demangled symbol: {%s}\n", tmp);
return 0;
}
|
google | android | tui | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/thermal/tmon/tui.c | 16,964 | utf_8 | e6130b9937912669b00b1334c0bc1d68 | /*
* tui.c ncurses text user interface for TMON program
*
*
*/
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <ncurses.h>
#include <time.h>
#include <syslog.h>
#include <panel.h>
#include <pthread.h>
#include <signal.h>
#include "tmon.h"
#define min(x, y)... |
google | android | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/thermal/tmon/sysfs.c | 14,926 | utf_8 | 47fbe3bfeabcfdf30a8909e12dd56f90 | /*
* sysfs.c sysfs ABI access functions for TMON program
*
*
*/
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <dirent.h>
#include <libintl.h>
#include <ctype.h>
#include <time.h>
#include <syslog.h>
#include <sys/time.h>
#include <errno.h>
#include "tmon... |
google | android | tmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/thermal/tmon/tmon.c | 9,053 | utf_8 | 58ea2995264f6b29fe69b498fd8effc5 | /*
* tmon.c Thermal Monitor (TMON) main function and entry point
*
*
*/
#include <getopt.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ncurses.h>
#include <ctype.h>
#include <time.h>
#include <signal.h>
#include <limits.h>
#i... |
google | android | pid | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/tools/thermal/tmon/pid.c | 3,365 | utf_8 | fc9806482bf829f671ebe251b4b42425 | /*
* pid.c PID controller for testing cooling devices
*
*
*
*
*/
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <sys/types.h>
#include <dirent.h>
#include <libintl.h>
#include <ctype.h>
#include <assert.h>
#include <time.h>
#include <limits.h>
#include ... |
google | android | ihex2fw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/firmware/ihex2fw.c | 6,742 | utf_8 | 9166a5568451f4b46a66e629d2ad4c3a | /*
* Parser/loader for IHEX formatted data.
*
*/
#include <stdint.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#define _GNU_SOURCE
#include <getopt.h>
s... |
google | android | gup | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/gup.c | 41,023 | utf_8 | 9887d587466f15e67d3c6e7dce5417bd | #include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/rmap.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/sched.h>
#include <linux/rwsem.h>
#include <linux/hugetlb.h>
#include <asm/pgt... |
google | android | debug-pagealloc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/debug-pagealloc.c | 2,711 | utf_8 | c64692bff59b54dff8b87e05efe5506e | #include <linux/kernel.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/page_ext.h>
#include <linux/poison.h>
#include <linux/ratelimit.h>
static bool page_poisoning_enabled __read_mostly;
static bool need_page_poisoning(void)
{
if (!debug_pagealloc_enabled())
return fals... |
google | android | swapfile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/swapfile.c | 79,523 | utf_8 | b41632433aabfdd778dc51bd27c9086b | /*
* linux/mm/swapfile.c
*
* Swap reorganised 29.12.95, Stephen Tweedie
*/
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/mman.h>
#include <linux/slab.h>
#include <linux/kernel_stat.h>
#include <linux/swap.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/namei.h>
#include... |
google | android | frontswap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/frontswap.c | 14,595 | utf_8 | 732542a3d038f0dc8f5e073c7b7fd985 | /*
* Frontswap frontend
*
* This code provides the generic "frontend" layer to call a matching
* "backend" driver implementation of frontswap. See
* Documentation/vm/frontswap.txt for more information.
*
*/
#include <linux/mman.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/security.h>
#i... |
google | android | list_lru | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/list_lru.c | 12,767 | utf_8 | e83c152c59c1b189c23950b91d485d08 | /*
* Authors: David Chinner and Glauber Costa
*
* Generic LRU infrastructure
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/list_lru.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/memcontrol.h>
#ifdef CONFIG_MEMCG_KMEM
static LIST_HEAD(list_lrus);
s... |
google | android | sparse-vmemmap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/sparse-vmemmap.c | 6,094 | utf_8 | febdc9a950095d1bfd762820a49897f7 | /*
* Virtual Memory Map support
*
*
* Virtual memory maps allow VM primitives pfn_to_page, page_to_pfn,
* virt_to_page, page_address() to be implemented as a base offset
* calculation without memory access.
*
* However, virtual mappings need a page table and TLBs. Many Linux
* architectures already map their p... |
google | android | sparse | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/sparse.c | 21,379 | utf_8 | ccb2883011b1927b303167a94dbab317 | /*
* sparse memory mappings.
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/mmzone.h>
#include <linux/bootmem.h>
#include <linux/compiler.h>
#include <linux/highmem.h>
#include <linux/export.h>
#include <linux/spinlock.h>
#include <linux/vmalloc.h>
#include "internal.h"
#include <asm/dma.h>
#include... |
google | android | maccess | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/maccess.c | 3,142 | utf_8 | 2b456e856314169adba9b057bb634522 | /*
* Access kernel memory without faulting.
*/
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
/**
* probe_kernel_read(): safely attempt to read from a location
* happens, handle that and return -EFAULT.
*
* We ensure that the copy_from_user is executed in atomic context so that
* do_p... |
google | android | page_alloc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/page_alloc.c | 193,979 | utf_8 | ed0561dce31c1f4ba402f41d0c4b798a | /*
* linux/mm/page_alloc.c
*
* Manages the free list, the system allocates free pages here.
* Note that kmalloc() lives in slab.c
*
* Swap reorganised 29.12.95, Stephen Tweedie
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
* Reshaped it to be a zoned allocator, Ingo Molnar, Red Hat, ... |
google | android | memcontrol | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/memcontrol.c | 150,252 | utf_8 | e688f002cd85b8bcfb01c447fd31834d | /* memcontrol.c - Memory Controller
*
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
*/
#include <linux/page_counter.h>
#include <linux/memcontrol.h>
#include <linux/cgroup.h>
#include <linu... |
google | android | page_io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/page_io.c | 9,385 | utf_8 | 15855d1deb38fdf96b00d139c9be23a9 | /*
* linux/mm/page_io.c
*
*
* Swap reorganised 29.12.95,
* Asynchronous swapping added 30.12.95. Stephen Tweedie
* Removed race in async swapping. 14.4.1996. Bruno Haible
* Add swap of shared pages through the page cache. 20.2.1998. Stephen Tweedie
* Always use brw_page, life becomes simpler. 12 May 1998... |
google | android | fadvise | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/fadvise.c | 3,811 | utf_8 | db459d4fb1f6309716eea12543b8543f | /*
* mm/fadvise.c
*
*
* 11Jan2003 Andrew Morton
* Initial version.
*/
#include <linux/kernel.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/backing-dev.h>
#include <linux/pagevec.h>
#include <linux/fadvise.h>
#include <linux/writeback.h>
#include... |
google | android | page_ext | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/page_ext.c | 10,663 | utf_8 | d62a3027ffdfd4402486075b035ac343 | #include <linux/mm.h>
#include <linux/mmzone.h>
#include <linux/bootmem.h>
#include <linux/page_ext.h>
#include <linux/memory.h>
#include <linux/vmalloc.h>
#include <linux/kmemleak.h>
#include <linux/page_owner.h>
#include <linux/page_idle.h>
/*
* struct page extension
*
* This is the feature to manage memory for e... |
google | android | mmzone | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/mmzone.c | 2,405 | utf_8 | 7ef9dd1a2b4bcc6bc9de981f4b0f457c | /*
* linux/mm/mmzone.c
*
* management codes for pgdats, zones and page flags
*/
#include <linux/stddef.h>
#include <linux/mm.h>
#include <linux/mmzone.h>
struct pglist_data *first_online_pgdat(void)
{
return NODE_DATA(first_online_node);
}
struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
{
int... |
google | android | kmemleak | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/kmemleak.c | 55,843 | utf_8 | 10e6655c1d64e6fa9a0e71e5115ed2f3 | /*
* mm/kmemleak.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* For more information on the algorithm and kmemleak usage, please see
* Documentation/kmemleak.txt.
*
* Notes on locking
* ----------------
*
* The following locks and mutexes are used by kmemleak:
*
* - km... |
google | android | readahead | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/readahead.c | 15,765 | utf_8 | cc301c5f1c208e9b65a1079e653d0353 | /*
* mm/readahead.c - address_space-level file readahead.
*
*
* 09Apr2002 Andrew Morton
* Initial version.
*/
#include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/export.h>
#include <linux/blkdev.h>
#include <linux/backing-dev.h>
#include <linux/task_io_accounting_ops.h>
#include <linux/pagevec.h>
#i... |
google | android | cleancache | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/mm/cleancache.c | 10,102 | utf_8 | aaf29ef3a8d06a767dee2fc769bd0da3 | /*
* Cleancache frontend
*
* This code provides the generic "frontend" layer to call a matching
* "backend" driver implementation of cleancache. See
* Documentation/vm/cleancache.txt for more information.
*
*/
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/exportfs.h>
#include <linux/mm.h>
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.