| /freebsd/contrib/openbsm/etc/ |
| H A D | audit_event | 1 # The mapping between event identifiers and values is also hard-coded in 10 # 1 - 2047 Reserved for Solaris kernel events 11 # 2048 - 5999 Reserved and unallocated 12 # 6000 - 9999 Reserved for Solaris user events 13 # 10000 - 32767 Reserved and unallocated 14 # 32768 - 65535 Available for third party applications 18 # 43000 - 44999 Reserved for OpenBSM kernel events 19 # 45000 - 46999 Reserved for OpenBSM application events 21 0:AUE_NULL:indir system call:no 22 1:AUE_EXIT:exit(2):pc [all...] |
| /freebsd/sys/contrib/openzfs/man/man4/ |
| H A D | zfs.4 | 1 .\" SPDX-License-Identifier: CDDL-1.0 11 .\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0. 31 .Bl -tag -width Ds 78 .It Sy dmu_object_alloc_chunk_shift Ns = Ns Sy 7 Po 128 Pc Pq uint 87 can reduce the write inflation caused by deduplication. 93 .It Sy dmu_prefetch_max Ns = Ns Sy 134217728 Ns B Po 128 MiB Pc Pq uint 98 Turbo L2ARC warm-up. 145 .Sy l2arc_mru_asize No arcstat will not be Sy 0 . 158 .Sy l2arc_mru_asize No arcstat will not be Sy 0 . 162 .Sy l2arc_mru_asize , Sy l2arc_mfu_asize , No and Sy l2arc_prefetch_asize [all …]
|
| /freebsd/sys/dev/ic/ |
| H A D | nec765.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 55 #define NE7_ST0_EC 0x10 /* equipment check, recalibrated but no trk0 */ 66 #define NE7_ST1_ND 0x04 /* no data, sector not found or CRC in ID f. */ 84 #define NE7_ST3_FT 0x80 /* fault; PC: n/a */ 85 #define NE7_ST3_WP 0x40 /* write protected */ 86 #define NE7_ST3_RD 0x20 /* ready; PC: always true */ 88 #define NE7_ST3_TS 0x08 /* two-sided; PC: n/a */ 100 * the top three bits -- where appropriate -- are set as follows: [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_mutex.cpp | 1 //===-- tsan_rtl_mutex.cpp ------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 25 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 26 void ReportDestroyLocked(ThreadState *thr, uptr pc, uptr addr, 31 uptr pc; member 33 Callback(ThreadState *thr, uptr pc) in Callback() 35 , pc(pc) { in Callback() 36 DDCallback::pt = thr->proc()->dd_pt; in Callback() [all …]
|
| H A D | tsan_mman.cpp | 1 //===-- tsan_mman.cpp -----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 44 uptr diff = RoundUp(p, kPageSize) - p; in OnUnmap() 47 size -= diff; in OnUnmap() 49 diff = p + size - RoundDown(p + size, kPageSize); in OnUnmap() 51 size -= diff; in OnUnmap() 84 global_proc()->internal_alloc_mtx.Lock(); in InternalAllocAccess() 85 global_proc()->internal_alloc_mtx.Unlock(); in InternalAllocAccess() [all …]
|
| /freebsd/sys/arm/arm/ |
| H A D | blockio.S | 3 /*- 29 * IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 42 * optimised block read/write from/to IO routines. 45 * Modified : 22/01/99 -- R.Earnshaw 56 * r1 = address to write to (memory) 63 stmfd sp!, {fp, ip, lr, pc} 65 subs r2, r2, #4 /* r2 = length - 4 */ 93 ldmdbeq fp, {fp, sp, pc} 102 ldmdb fp, {fp, sp, pc} 106 * Write bytes to an I/O address from a block of memory [all …]
|
| H A D | locore.S | 1 /*- 2 * Copyright 2004-2014 Olivier Houchard <cognet@FreeBSD.org> 3 * Copyright 2012-2014 Ian Lepore <ian@FreeBSD.org> 4 * Copyright 2013-2014 Andrew Turner <andrew@FreeBSD.org> 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 51 /* A small statically-allocated stack used only during initarm() and AP startup. */ 82 mov r0, -1 ;\ 89 * r0 - metadata pointer or 0 90 * r1 - if (r0 == 0) then metadata pointer 92 * r0 - 0 [all …]
|
| /freebsd/lib/libpmcstat/ |
| H A D | libpmcstat_process.c | 1 /*- 2 * Copyright (c) 2003-2008 Joseph Koshy 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 81 assert(image->pi_type == PMCSTAT_IMAGE_ELF32 || in pmcstat_process_elf_exec() 82 image->pi_type == PMCSTAT_IMAGE_ELF64); in pmcstat_process_elf_exec() 89 pmcstat_image_link(pp, image, image->pi_vaddr + dynaddr); in pmcstat_process_elf_exec() 99 if (image->pi_isdynamic) { in pmcstat_process_elf_exec() 105 * [ TEXT DATA BSS HEAP -->*RTLD SHLIBS <--STACK] in pmcstat_process_elf_exec() 117 rtldimage = pmcstat_image_from_path(image->pi_dynlinkerpath, in pmcstat_process_elf_exec() 121 pmcstat_string_unintern(image->pi_dynlinkerpath)); in pmcstat_process_elf_exec() [all …]
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | gen-punycode-examples.py | 2 # -*- coding: iso-8859-1 -*- 28 # ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 58 if l[-2:] == "\\\n": 63 l = l[:-2] + l2 68 m = re.search('^ *\([A-Z]\) *(.*)$', l); 87 examples_h.file.write( 89 #include <krb5-types.h> 96 const char *pc; 105 examples_c.file.write( 114 [cp, pc, desc] = x [all …]
|
| /freebsd/tools/tools/pciroms/ |
| H A D | pciroms.c | 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 69 * This is the hole between the APIC and the BIOS (FED00000-FEDFFFFF); 97 err = -1; in main() 98 pci_fd = -1; in main() 104 while ((ch = getopt(argc, argv, "sb:h")) != -1) in main() 116 argc -= optind; in main() 127 /* XXX: TODO: deal with 64-bit PCI. */ in main() 135 if ((pci_fd = open(_PATH_DEVPCI, O_RDWR)) == -1) { in main() 145 if (pci_fd != -1) in main() 155 fprintf(stderr, "usage: %s [-s] [-b <base-address>]\r\n", progname); in usage() [all …]
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-pf.c | 63 #include "pcap-int.h" 66 #include "os-proto.h" 98 pcap_read_pf(pcap_t *pc, int cnt, pcap_handler callback, u_char *user) in pcap_read_pf() argument 100 struct pcap_pf *pf = pc->priv; in pcap_read_pf() 108 cc = pc->cc; in pcap_read_pf() 110 cc = read(pc->fd, (char *)pc->buffer + pc->offset, pc->bufsize); in pcap_read_pf() 115 lseek(pc->fd, 0L, SEEK_CUR) + pc->bufsize < 0) { in pcap_read_pf() 122 (void)lseek(pc->fd, 0L, SEEK_SET); in pcap_read_pf() 125 pcapint_fmt_errmsg_for_errno(pc->errbuf, in pcap_read_pf() 126 sizeof(pc->errbuf), errno, "pf read"); in pcap_read_pf() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 1 //===-- ABIMacOSX_arm64.cpp -----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 80 log->PutString(s.GetString()); in PrepareTrivialCall() 83 const uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall() 85 const uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall() 87 const uint32_t ra_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall() 90 // x0 - x7 contain first 8 simple args in PrepareTrivialCall() 95 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall() 97 LLDB_LOGF(log, "About to write arg%d (0x%" PRIx64 ") into %s", in PrepareTrivialCall() [all …]
|
| H A D | ABISysV_arm64.cpp | 1 //===-- ABISysV_arm64.cpp -------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 83 log->PutString(s.GetString()); in PrepareTrivialCall() 86 // x0 - x7 contain first 8 simple args in PrepareTrivialCall() 91 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall() 93 LLDB_LOGF(log, "About to write arg%d (0x%" PRIx64 ") into %s", in PrepareTrivialCall() 94 static_cast<int>(i + 1), args[i], reg_info->name); in PrepareTrivialCall() 95 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall() 100 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall() [all …]
|
| /freebsd/sys/gdb/ |
| H A D | gdb_main.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 20 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 73 cur_pri = -1; in gdb_init() 76 pri = (dp->gdb_probe != NULL) ? dp->gdb_probe() : - in gdb_init() 761 register_t pc; gdb_trap() local 772 register_t pc; gdb_trap() local 930 register_t pc; gdb_trap() local 941 register_t pc; gdb_trap() local [all...] |
| /freebsd/sys/kern/ |
| H A D | kern_rmlock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the author nor the names of any co-contributors 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 67 (LIST_FIRST(&(rm)->rm_activeReaders) == RM_DESTROYED) 140 struct pcpu *pc; in unlock_rm() local 160 pc = get_pcpu(); in unlock_rm() 161 for (queue = pc->pc_rm_queue.rmq_next; in unlock_rm() 162 queue != &pc->pc_rm_queue; queue = queue->rmq_next) { in unlock_rm() 164 if ((tracker->rmp_rmlock == rm) && in unlock_rm() [all …]
|
| H A D | subr_csan.c | 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 59 bool write:1; member 61 uintptr_t pc; member 78 /* -------------------------------------------------------------------------- */ 83 /* -------------------------------------------------------------------------- */ 100 /* -------------------------------------------------------------------------- */ 110 sym = db_search_symbol((vm_offset_t)new->pc, DB_STGY_PROC, &offset); in kcsan_report() 113 sym = db_search_symbol((vm_offset_t)old->pc, DB_STGY_PROC, &offset); in kcsan_report() 120 "[Cpu%u %s%s Addr=%p Size=%u PC=%p<%s>] " in kcsan_report() 121 "[Cpu%u %s%s Addr=%p Size=%u PC=%p<%s>]\n", in kcsan_report() [all …]
|
| /freebsd/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_frame.c | 1 /*- 2 * Copyright (c) 2009-2011,2014 Kai Wang 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 29 ELFTC_VCSID("$Id: libdwarf_frame.c 3589 2018-03-13 20:34:33Z kaiwang27 $"); 37 STAILQ_FOREACH(cie, &fs->fs_cielist, cie_next) { in _dwarf_frame_find_cie() 38 if (cie->cie_offset == offset) in _dwarf_frame_find_cie() 53 uint8_t *data, uint64_t *offsetp, uint8_t encode, Dwarf_Addr pc, in _dwarf_frame_read_lsb_encoded() argument 66 *val = dbg->read(data, offsetp, cie->cie_addrsize); in _dwarf_frame_read_lsb_encoded() 72 *val = dbg->read(data, offsetp, 2); in _dwarf_frame_read_lsb_encoded() 75 *val = dbg->read(data, offsetp, 4); in _dwarf_frame_read_lsb_encoded() [all …]
|
| /freebsd/contrib/bearssl/tools/ |
| H A D | files.c | 18 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 83 return -1; in write_file() 92 "ERROR: could not write all bytes to '%s'\n", in write_file() 95 return -1; in write_file() 98 len -= wlen; in write_file() 101 fprintf(stderr, "ERROR: write error on file '%s'\n", fname); in write_file() 103 return -1; in write_file() 123 len -= 2; in looks_like_DER() 129 fb -= 0x80; in looks_like_DER() 133 len -= (size_t)fb; in looks_like_DER() [all …]
|
| /freebsd/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/ |
| H A D | fasttrap_isa.c | 52 if (uwrite(p, &instr, 4, tp->ftt_pc) != 0) in fasttrap_tracepoint_install() 53 return (-1); in fasttrap_tracepoint_install() 64 * Distinguish between read or write failures and a changed in fasttrap_tracepoint_remove() 67 if (uread(p, &instr, 4, tp->ftt_pc) != 0) in fasttrap_tracepoint_remove() 71 if (uwrite(p, &tp->ftt_instr, 4, tp->ftt_pc) != 0) in fasttrap_tracepoint_remove() 72 return (-1); in fasttrap_tracepoint_remove() 78 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, uintptr_t pc, in fasttrap_tracepoint_init() argument 90 if (uread(p, &instr, 4, pc) != 0) in fasttrap_tracepoint_init() 91 return (-1); in fasttrap_tracepoint_init() 95 * the process execute most instructions on its own using a pc/npc in fasttrap_tracepoint_init() [all …]
|
| /freebsd/sys/dev/hwpmc/ |
| H A D | hwpmc_powerpc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 72 uintptr_t pc; in pmc_save_kernel_callchain() local 83 pc = sp[2]; in pmc_save_kernel_callchain() 85 pc = sp[1]; in pmc_save_kernel_callchain() 87 if ((pc & 3) || (pc < 0x100)) in pmc_save_kernel_callchain() 94 if (pc + OFFSET == (uintptr_t) &trapexit || in pmc_save_kernel_callchain() 95 pc + OFFSET == (uintptr_t) &asttrapexit) in pmc_save_kernel_callchain() 98 cc[frames] = pc; in pmc_save_kernel_callchain() [all …]
|
| /freebsd/contrib/unbound/services/ |
| H A D | outside_network.c | 2 * services/outside_network.c - implement sending of queries and wait answer. 26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 108 if(p1->id < p2->id) in pending_cmp() 109 return -1; in pending_cmp() 110 if(p1->id > p2->id) in pending_cmp() 112 log_assert(p1->id == p2->id); in pending_cmp() 113 return sockaddr_cmp(&p1->addr, p1->addrlen, &p2->addr, p2->addrlen); in pending_cmp() 122 if(q1->qbuflen < q2->qbuflen) in serviced_cmp() 123 return -1; in serviced_cmp() 124 if(q1->qbuflen > q2->qbuflen) in serviced_cmp() [all …]
|
| /freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
| H A D | ubtbcmfw.c | 5 /*- 6 * SPDX-License-Identifier: BSD-2-Clause 8 * Copyright (c) 2003-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com> 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 190 if (uaa->usb_mode != USB_MODE_HOST) in ubtbcmfw_probe() 193 if (uaa->info.bIfaceIndex != 0) in ubtbcmfw_probe() 211 sc->sc_udev = uaa->device; in ubtbcmfw_attach() 215 mtx_init(&sc->sc_mtx, "ubtbcmfw lock", NULL, MTX_DEF | MTX_RECURSE); in ubtbcmfw_attach() 218 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in ubtbcmfw_attach() 220 sc, &sc->sc_mtx); in ubtbcmfw_attach() [all …]
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_busdma.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 96 * from the memory. Else write. */ 138 int usb_uiomove(struct usb_page_cache *pc, struct uio *uio, 142 uint8_t usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg, 144 uint8_t usb_pc_dmamap_create(struct usb_page_cache *pc, usb_size_t size); 145 uint8_t usb_pc_load_mem(struct usb_page_cache *pc, usb_size_t size, 155 void usb_pc_cpu_flush(struct usb_page_cache *pc); 156 void usb_pc_cpu_invalidate(struct usb_page_cache *pc); [all …]
|
| /freebsd/sys/dev/usb/misc/ |
| H A D | cp2112.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 31 * - CP2112 Datasheet 32 * https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf 33 * - AN495: CP2112 Interface Specification 34 …* https://www.silabs.com/documents/public/application-notes/an495-cp2112-interface-specification… 35 * - CP2112 Errata 36 * https://www.silabs.com/documents/public/errata/cp2112-errata.pdf 66 #define SIZEOF_FIELD(_s, _f) sizeof(((struct _s *)NULL)->_f) [all …]
|
| /freebsd/sbin/camcontrol/ |
| H A D | modeedit.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 105 int cdb_len, int dbd, int pc, int page, int subpage, 108 int cdb_len, int llbaa, int pc, int page, 112 int dbd, int pc, int page, int subpage, 115 int llbaa, int pc, int page, int subpage, 125 int dbd, int pc, int page, int subpage, 128 int cdb_len, int llbaa, int pc, int page, 136 return (-1); \ [all …]
|