Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:debug +full:- +full:kmem (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/openzfs/config/
H A Dkernel-kmem.m48 AC_ARG_ENABLE([debug-kmem], optenable
9 [AS_HELP_STRING([--enable-debug-kmem],
10 [Enable basic kmem accounting @<:@default=no@:>@])],
16 KERNELCPPFLAGS="${KERNELCPPFLAGS} -DDEBUG_KMEM"
19 [Define to 1 to enable basic kmem accounting])
25 AC_MSG_CHECKING([whether basic kmem accounting is enabled])
31 dnl # feature also requires --enable-debug-kmem to be set. When enabled
39 AC_ARG_ENABLE([debug-kmem-tracking],
40 [AS_HELP_STRING([--enable-debug-kmem-tracking],
41 [Enable detailed kmem tracking @<:@default=no@:>@])],
[all …]
H A Dzfs-build.m410 DEBUG_CFLAGS="-Werror"
11 DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
17 KERNEL_DEBUG_CFLAGS="-Werror"
18 KERNEL_DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
23 DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
29 KERNEL_DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
34 dnl # - Enable all ASSERTs (-DDEBUG)
35 dnl # - Promote all compiler warnings to errors (-Werror)
37 dnl # (If INVARIANTS is detected, we need to force DEBUG, or strange panics
42 AC_ARG_ENABLE([debug], optenable
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzloop.yml8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
9 cancel-in-progress: true
13 runs-on: ubuntu-24.04
17 - uses: actions/checkout@v4
20 - name: Install dependencies
22 sudo apt-get purge -y snapd google-chrome-stable firefox
23 ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps-vm.sh ubuntu24
24 - name: Autogen.sh
26 sed -i '/DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
28 - name: Configure
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem.c2 * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
6 * UCRL-CODE-235197
24 #include <sys/debug.h>
26 #include <sys/kmem.h>
54 * of free pages. Therefore, a maximum kmem size with reasonable safely
138 * vmalloc's on-access allocation, b) performance loss due to in spl_kvmalloc()
140 * This has the side-effect that the slab statistics will in spl_kvmalloc()
175 * We first try kmalloc - even for big sizes - and fall back to in spl_kvmalloc()
178 * For non-__GFP-RECLAIM allocations we always stick to in spl_kvmalloc()
248 * 32-bit), which have HIGHMEM. Otherwise we use
[all …]
/freebsd/contrib/ntp/
H A Dconfigure.ac1 dnl NTP top-level configure.ac -*- Autoconf -*-
13 AC_CONFIG_AUX_DIR([sntp/libevent/build-aux])
31 # safe choice is to bump all on any cache-invalidating change.
33 # In order to avoid the risk of version stamp collision between -stable
34 # and -dev branches, do not simply increment the version, instead use
35 # the date YYYYMMDD optionally with -HHM
3195 [kmem], global() optenable
[all...]
H A Dconfig.h.in33 /* Chronolog K-series WWVB receiver? */
60 /* Heath GC-1000 WWV/WWVH receiver? */
156 /* TrueTime 560 IRIG-B decoder? */
177 /* Enable debugging code? */
178 #undef DEBUG
180 /* Enable processing time debugging? */
297 /* Disable debug assertion on OOB KoD RATE value? */
315 /* Enable CMAC support? */
318 /* auto-instantiate missing PPS devices on Linux */
403 /* Use Rendezvous/DNS-S
[all...]
H A Dconfigure2 # Guess values for system-dependent variables and create Makefiles.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
14 ## ------
[all...]
/freebsd/share/man/man7/
H A Dsecurity.747 multi-user systems have some inherent security, the job of building and
60 As yesterday's mini-computers and mainframes
74 .Bl -enum -offset indent
89 Typically, DoS attacks are brute-force mechanisms that attempt
99 Brute-force network attacks are harder to deal with.
100 A spoofed-packet attack, for example, is
114 The result is that if you have any moderate-sized user base,
137 may find a bug in a root-run server and be able to break root over a network
138 connection to that server, or the attacker may know of a bug in an SUID-root
152 Security remedies should always be implemented with a multi-layered
[all …]
/freebsd/usr.sbin/dconschat/
H A Ddconschat.836 .Op Fl e Ar escape-char
113 .Bl -tag -width indent
125 .Bl -tag -width indent
127 Translate Ctrl-C to ALT_BREAK (CR +
129 + Ctrl-B) on
135 Verbose debug output.
142 Read-only.
147 Enable ad-hoc workaround for the TELNET protocol to
154 One-shot.
159 .It Fl e Ar escape-char
[all …]
/freebsd/contrib/sendmail/src/
H A Dconf.c2 * Copyright (c) 1998-2013 Proofpoint, Inc. and its suppliers.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
16 SM_RCSID("@(#)$Id: conf.c,v 8.1192 2014-01-27 18:23:21 ca Exp $")
64 ** CONF.C -- Sendmail Configuration Tables.
69 ** HdrInfo -- a table describing well-known header fields.
78 ** are running, or is really static -- for example
103 { "resent-sender", H_FROM|H_RESENT, NULL },
104 { "resent-from", H_FROM|H_RESENT, NULL },
105 { "resent-reply-to", H_FROM|H_RESENT, NULL },
108 { "reply-to", H_FROM | Xflags, NULL },
[all …]
/freebsd/contrib/netbsd-tests/sys/uvm/
H A Dt_uvm_physseg_load.c3 /*-
57 /* Testing API - assumes userland */
75 #define UVM_HOTPLUG /* Enable hotplug with rbtree. */
77 #define DEBUG /* Enable debug functionality. */ macro
117 #define _SYS_KMEM_H_ /* Disallow the real kmem API (see below) */
169 /* end - Provide Kernel API equivalents */
173 #include <atf-c.h>
214 * A debug fucntion to print the content of upm.
219 #if defined(DEBUG) in uvm_physseg_dump_seg()
220 printf("%s: seg->start == %ld\n", __func__, in uvm_physseg_dump_seg()
[all …]
H A Dt_uvm_physseg.c3 /*-
57 /* Testing API - assumes userland */
75 #define UVM_HOTPLUG /* Enable hotplug with rbtree. */
77 #define DEBUG /* Enable debug functionality. */ macro
112 #define PAGE_MASK (PAGE_SIZE - 1)
137 #include <sys/kmem.h>
190 /* end - Provide Kernel API equivalents */
195 #include <atf-c.h>
231 * A debug fucntion to print the content of upm.
236 #if defined(DEBUG) in uvm_physseg_dump_seg()
[all …]
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in41 KMEMLEAK_FILE = '/sys/kernel/debug/kmemleak'
68 return t.tv_sec + t.tv_nsec * 1e-9
89 m, s = divmod(monotonic_time() - self.starttime, 60)
116 def __init__(self, stream, debug=False): argument
118 self.debug = debug
144 if self.debug:
167 The timeout for tests is measured in wall-clock time
194 signal = '-TERM'
207 If this is not a user-initiated kill and the test has not been
213 runtime = monotonic_time() - self.result.starttime
[all …]
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c2 * Copyright (c) 2015-2024, Broadcom. All rights reserved. The term
35 #include <linux/dma-mapping.h>
53 #include "bnxt_re-abi.h"
57 "Broadcom NetXtreme-C/E RoCE Driver " ROCE_DRV_MODULE_NAME \
63 MODULE_DESCRIPTION("Broadcom NetXtreme-C/E RoCE Driver");
83 MODULE_PARM_DESC(enable_fc, "Enable default PFC, CC,ETS during driver load. 1 - fc enable, 0 - fc d…
87 MODULE_PARM_DESC(min_tx_depth, "Minimum TX depth - Default is 1");
92 MODULE_PARM_DESC(max_msix_vec, "Max MSI-x vectors per PF (2 - 64) - Default is 64");
96 MODULE_PARM_DESC(cmdq_shadow_qd, "Perf Stat Debug: Shadow QD Range (1-64) - Default is 64");
135 ibdev->dma_device = &rdev->en_dev->pdev->dev; in bnxt_re_set_dma_device()
[all …]
/freebsd/sys/conf/
H A DNOTES2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
11 # Please use ``make LINT'' to create an old-style LINT file if you want to
12 # do kernel test-builds.
48 # auto-size based on physical memory.
66 # after most other flags. Here we use it to inhibit use of non-optimal
67 # gcc built-in functions (e.g., memcmp).
69 # DEBUG happens to be magic.
70 # The following is equivalent to 'config -g KERNELNAME' and creates
71 # 'kernel.debug' compiled with -g debugging as well as a normal
72 # 'kernel'. Use 'make install.debug' to install the debug kernel
[all …]
/freebsd/share/doc/papers/devfs/
H A Dpaper.me1 .\" format with ditroff -me
19 .ip \0\s-2\(bu\s+2
29 .i "Poul-Henning Kamp"
43 Starting from a high-level view of devices and the semantics that
45 grand tour of the redesigned FreeBSD device-I/O system,
99 disk-pack with a filesystem: selling pre-initialised and ``quality
100 tested'' disk-packs was quite a profitable business.
112 device would be inode number 5, the paper-tape-punch number 6 and so on,
122 in most UNIX-like systems even to this day.
150 In order to support remote login a ``pseudo-tty'' device driver was implemented,
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dsysctl_os.c41 #include <sys/kmem.h>
133 (ZFS_META_VERSION "-" ZFS_META_RELEASE), "OpenZFS module version");
143 if (err != 0 || req->newptr == NULL) in param_set_arc_u64()
157 if (err != 0 || req->newptr == NULL) in param_set_arc_int()
173 if (err != 0 || req->newptr == NULL) in param_set_arc_max()
203 if (err != 0 || req->newptr == NULL) in param_set_arc_min()
234 if (err != 0 || req->newptr == NULL) in param_set_arc_free_target()
264 if (err != 0 || req->newptr == NULL) in param_set_arc_no_grow_shift()
340 val = zfs_refcount_count(&state->arcs_size[ARC_BUFC_DATA]) + in param_get_arc_state_size()
341 zfs_refcount_count(&state->arcs_size[ARC_BUFC_METADATA]); in param_get_arc_state_size()
[all …]
H A Dzfs_vfsops.c9 * or https://opensource.org/licenses/CDDL-1.0.
37 #include <sys/kmem.h>
89 SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RWTUN, &zfs_debug_level, 0,
90 "Debug level");
159 * from being unloaded after a umount -f
182 vfsp = zfvp->z_vfs; in zfs_get_temporary_prop()
215 if (zfvp->z_flags & ZSB_XATTR) in zfs_get_temporary_prop()
216 tmp = zfvp->z_xattr; in zfs_get_temporary_prop()
248 quotaobj = isgroup ? zfsvfs->z_groupquota_obj : zfsvfs->z_userquota_ob in zfs_getquota()
[all...]
/freebsd/usr.sbin/ntp/
H A Dconfig.h34 /* Chronolog K-series WWVB receiver? */
61 /* Heath GC-1000 WWV/WWVH receiver? */
157 /* TrueTime 560 IRIG-B decoder? */
178 /* Enable debugging code? */
179 /* #undef DEBUG */
181 /* Enable processing time debugging? */
284 #define DFLT_RLIMIT_MEMLOCK -1
298 /* Disable debug assertion on OOB KoD RATE value? */
316 /* Enable CMAC support? */
319 /* auto-instantiat
[all...]
/freebsd/sys/dev/vt/
H A Dvt_core.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
124 #define VT_UNIT(vw) ((vw)->vw_device->vd_unit * VT_MAXWINDOWS + \
125 (vw)->vw_number)
129 static VT_SYSCTL_INT(enable_altgr, 1, "Enable AltGr key (Do not assume R.Alt as Alt)");
130 static VT_SYSCTL_INT(enable_bell, 0, "Enable bell");
131 static VT_SYSCTL_INT(debug, 0, "vt(9) debug level");
136 static VT_SYSCTL_INT(slow_down, 0, "Non-zero make console slower and synchronous.");
139 static VT_SYSCTL_INT(kbd_halt, 1, "Enable halt keyboard combination. "
141 static VT_SYSCTL_INT(kbd_poweroff, 1, "Enable Power Off keyboard combination. "
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c45 #include <sys/kmem.h>
82 * User-Land Trap-Based Tracing
83 * ----------------------------
85 * The fasttrap provider allows DTrace consumers to instrument any user-level
93 * -----------------------
95 * With the primary goal of tracing every user-land instruction and the
108 * (a sort of kernel-private thread local storage), set the PC to that
120 * of tracepoints to enable. If a probe is activated, it adds its ID to
126 * single-stepped the instruction whereas all other probes are fired
131 * -------------
[all …]
/freebsd/sys/kern/
H A Dsubr_vmem.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
38 * - Magazines and Vmem: Extending the Slab Allocator
81 (VMEM_OPTVALUE - 1 + sizeof(vmem_size_t) * NBBY - VMEM_OPTORDER)
115 #define QC_POOL_TO_QCACHE(pool) ((qcache_t *)(pool->pr_qcache))
177 #define BT_ISSPAN_P(bt) ((bt)->bt_typ
[all...]
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES13 - Prevent transaction stuffing by ensuring SMTP clients
19 - Accept only CRLF . CRLF as end of an SMTP message
22 - Do not accept a CR or LF except in the combination
31 are used, i.e., TLSA RR 2-x-y and 3-x-y are supported
76 because the -a. option has been removed (as it only
79 VACATION: Add support for Return-Path header to set sender
81 VACATION: Honor RFC3834 and avoid an auto-reply if
82 'Auto-Submitted: no' is found in the headers to
84 VACATION: Avoid an auto-reply if a 'List-Id:' is found in
119 When EAI is enabled, mailq prints UTF-8 addresses as such
[all …]
/freebsd/sys/vm/
H A Duma_core.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2019 Jeffrey Roberson <jeff@FreeBSD.org>
6 * Copyright (c) 2004-2006 Robert N. M. Watson
48 * - Improve memory usage for large allocations
49 * - Investigate cache size adjustments
152 /* The boot-time adjusted value for cache line alignment. */
153 static unsigned int uma_cache_align_mask = 64 - 1;
166 /* Linked list of all cache-only zones in the system */
171 * Mutex for global lists: uma_kegs, uma_cachezones, and the per-keg list of
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Darc.c9 * or https://opensource.org/licenses/CDDL-1.0.
39 * DVA-based Adjustable Replacement Cache
42 * based on the self-tuning, low overhead replacement cache
51 * subset of the blocks in the cache are un-evictable because we
79 * See also: "ARC: A Self-Tuning, Low Overhead Replacement Cache"
123 * - L2ARC buflist creation
124 * - L2ARC buflist eviction
125 * - L2ARC write completion, which walks L2ARC buflists
126 * - ARC header destruction, as it removes from L2ARC buflists
127 * - ARC header release, as it removes from L2ARC buflists
[all …]

12