cregit-Linux how code gets into the kernel

Release 4.14 arch/powerpc/lib/alloc.c

Directory: arch/powerpc/lib
// SPDX-License-Identifier: GPL-2.0
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/string.h>
#include <asm/setup.h>



void * __ref zalloc_maybe_bootmem(size_t size, gfp_t mask) { void *p; if (slab_is_available()) p = kzalloc(size, mask); else { p = memblock_virt_alloc(size, 0); } return p; }

Contributors

PersonTokensPropCommitsCommitProp
Stephen Rothwell4291.30%125.00%
Michael Ellerman36.52%250.00%
Fabian Frederick12.17%125.00%
Total46100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Stephen Rothwell5990.77%228.57%
Michael Ellerman34.62%228.57%
Fabian Frederick11.54%114.29%
Greg Kroah-Hartman11.54%114.29%
David Howells11.54%114.29%
Total65100.00%7100.00%
Directory: arch/powerpc/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.