Benign freebsd Download

geom_io.c

Source contains an unconditional loopimports <vm/vm.h>
SHA-25695cb479d397df8b5427601bdeaab0bdcd144ff83ddeb62e5a3ebcf0b05a30173

Evidence

English function-word token "the" lines 1–11
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2002 Poul-Henning Kamp
5 * Copyright (c) 2002 Networks Associates Technology, Inc.
6 * Copyright (c) 2013 The FreeBSD Foundation
7 * All rights reserved.
8 *
9 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
10 * and NAI Labs, the Security Research Division of Network Associates, Inc.
11 * under DARPA/SPAWAR cont …
English function-word token "that" lines 17–20
17:7… istribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions
19 * are met:
20 * 1. Redistributions of source code must retain the above …
imports <vm/vm.h> lines 38–72
38:47… VISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE.
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/kernel.h>
45#include <sys/malloc.h>
46#include <sys/bio.h>
47#include <sys/ktr.h>
48#include <sys/proc.h>
49#include <sys/sbuf.h>
50#include <sys/stack.h>
51#include <sys/stdarg.h>
52#include <sys/sysctl.h>
53#include <sys/vmem.h>
54#include <machine/stack.h>
55
56#include <sys/errno.h>
57#include <geom/geom.h>
58#include <geom/geom_int.h>
59#include <sys/devicestat.h>
60
61#include <vm/uma.h>
62#include <vm/vm.h>
63#include <vm/vm_param.h>
64#include <vm/vm_kern.h>
65#include <vm/vm_page.h>
66#include <vm/vm_object.h>
67#include <vm/vm_extern.h>
68#include <vm/vm_map.h>
69
70#define KTR_GEOM_ENABLED \
71 ((KTR_COMPILE & KTR_GEOM) != 0 && (ktr_mask & KTR_GEOM) != 0)
72
imports <machine/atomic.h> lines 92–104
92:4… tic uma_zone_t __read_mostly biozone;
93
94#include <machine/atomic.h>
95
96static void
⋯8 lines
C declares a character or byte buffer lines 995–1005
995:9…
996{
997#ifndef PRINTF_BUFR_SIZE
998#define PRINTF_BUFR_SIZE 64
999#endif
1000 char bufr[PRINTF_BUFR_SIZE];
1001 struct sbuf sb, *sbp __unused;
1002 va_list ap;
1003
1004 sbp = sbuf_new(&sb, bufr, sizeof(bufr), SBUF_FIXEDLEN);
1005 KASSE …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.