Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/sc/qa/extras/testdocuments/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 9 kB image not shown  

Quellcode-Bibliothek pgtable.c  Sprache: unbekannt

 
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */

#include <linux/export.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <asm/pgalloc.h>

pgd_t *pgd_alloc(struct mm_struct *mm)
{
 pgd_t *init, *ret;

 ret = __pgd_alloc(mm, PGD_TABLE_ORDER);
 if (ret) {
  init = pgd_offset(&init_mm, 0UL);
  pgd_init(ret);
  memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD,
         (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
 }

 return ret;
}
EXPORT_SYMBOL_GPL(pgd_alloc);

Messung V0.5 in Prozent
C=94 H=90 G=91

[0.14QuellennavigatorsProjekt 2026-10-11]