| /freebsd/sys/dev/ice/ |
| H A D | ice_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 54 MALLOC_DEFINE(M_ICE_OSDEP, "ice-osdep", "Intel(R) 100Gb Network Driver osdep allocations"); 69 * ice_hw_to_dev - Given a hw private struct, find the associated device_t 84 return sc->dev; in ice_hw_to_dev() 88 * ice_debug - Log a debug message if the type is enabled 93 * Check if hw->debug_mask has enabled the given message type. If so, log the 103 if (!(mask & hw->debug_mask)) in ice_debug() 113 * ice_debug_array - Format and print an array of values to the console 118 * @buf: the array buffer to print 119 * @len: size of the array buffer [all …]
|
| /freebsd/sys/netinet/ |
| H A D | in_fib_algo.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 54 * Compiles route table into a sorted array. 56 * As array is immutable, it is rebuild on each rtable change. 60 * 0.0.0.0/0 -> nh1 61 * 10.0.0.0/24 -> nh2 62 * 10.0.0.1/32 -> nh3 66 * 0.0.0.0 -> nh1 67 * 10.0.0.0 -> nh2 68 * 10.0.0.1 -> nh3 [all …]
|
| /freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | dwarf.c | 35 * marked as resolved. Consider an array type. If the type corresponding to 36 * the array contents has not yet been processed, we will create a blank tdesc 39 * type). We will then attempt to determine the size of the array. If the 40 * array has a byte size attribute, we will have completely characterized the 41 * array type, and will be able to mark it as resolved. The lack of a byte 44 * type, which has not, as yet, been encountered. The array type will thus be 50 * populated, the array type used in our example above will be able to use the 59 * 1. Empty enums - GCC will occasionally emit an enum without any members. 68 * 2. Forward declarations - If the compiler sees a forward declaration for 72 * forward-referencing tdescs to the actual struct/union definitions. This [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
| H A D | qcom,rmtfs-mem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memor [all...] |
| H A D | qcom,rmtfs-mem.txt | 7 - compatible: 11 "qcom,rmtfs-mem" 13 - reg: 15 Value type: <prop-encoded-array> 17 as described in reserved-memory.txt 19 - size: 21 Value type: <prop-encoded-array> 23 reserved-memory.txt 25 - qcom,client-id: 30 - qcom,vmid: [all …]
|
| /freebsd/contrib/kyua/utils/ |
| H A D | auto_array_test.cpp | 37 #include <atf-c++.hpp> 50 /// User-settable cookie to disambiguate instances of this class. 56 /// Captures invalid calls to new on an array. 76 void* mem = ::operator new(size); in operator new[]() local 78 std::cout << "Allocated 'test_array' object " << mem << "\n"; in operator new[]() 79 return mem; in operator new[]() 82 /// Captures invalid calls to delete on an array. 86 operator delete(void* /* mem */) in operator delete() 91 /// Deletes a previously allocated array and decrements m_nblocks. 93 /// \param mem The pointer to the memory to be deleted. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/remoteproc/ |
| H A D | qcom,msm8996-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,msm8996-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Sibi Sankar <quic_sibis@quicinc.com> 20 - qcom,msm8996-mss-pil 21 - qcom,msm8998-mss-pil 22 - qcom,sdm660-mss-pil 23 - qcom,sdm845-mss-pil [all …]
|
| /freebsd/sys/dev/iavf/ |
| H A D | iavf_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 49 * iavf_dmamap_cb - DMA mapping callback function 51 * @segs: the segments array 52 * @nseg: number of segments in the array 63 *(bus_addr_t *) arg = segs->ds_addr; in iavf_dmamap_cb() 68 * iavf_allocate_virt_mem - Allocate virtual memory 70 * @mem: structure describing the memory allocation 78 iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem, in iavf_allocate_virt_mem() argument 81 mem->va = malloc(size, M_IAVF, M_NOWAIT | M_ZERO); in iavf_allocate_virt_mem() 82 return(mem->va == NULL); in iavf_allocate_virt_mem() [all …]
|
| /freebsd/contrib/flex/src/ |
| H A D | misc.c | 1 /* misc - miscellaneous flex routines */ 10 /* to contract no. DE-AC03-76SF00098 between the United States */ 36 #define CMD_IF_TABLES_SER "%if-tables-serialization" 37 #define CMD_TABLES_YYDMAP "%tables-yydmap" 38 #define CMD_DEFINE_YYTABLES "%define-yytables" 39 #define CMD_IF_CPP_ONLY "%if-c++-only" 40 #define CMD_IF_C_ONLY "%if-c-only" 41 #define CMD_IF_C_OR_CPP "%if-c-or-c++" 42 #define CMD_NOT_FOR_HEADER "%not-for-header" 43 #define CMD_OK_FOR_HEADER "%ok-for-header" [all …]
|
| /freebsd/crypto/heimdal/lib/hx509/ |
| H A D | ks_mem.c | 2 * Copyright (c) 2005 - 2006 Kungliga Tekniska Högskolan 37 * Should use two hash/tree certificates intead of a array. Criteria 56 struct mem_data *mem; in mem_init() local 57 mem = calloc(1, sizeof(*mem)); in mem_init() 58 if (mem == NULL) in mem_init() 62 mem->name = strdup(residue); in mem_init() 63 if (mem->name == NULL) { in mem_init() 64 free(mem); in mem_init() 67 *data = mem; in mem_init() 74 struct mem_data *mem = data; in mem_free() local [all …]
|
| /freebsd/sys/sys/ |
| H A D | memdesc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 68 #define MEMDESC_VMPAGES 8 /* Pointer to array of VM pages. */ 73 struct memdesc mem; in memdesc_vaddr() local 75 mem.u.md_vaddr = vaddr; in memdesc_vaddr() 76 mem.md_len = len; in memdesc_vaddr() 77 mem.md_type = MEMDESC_VADDR; in memdesc_vaddr() 79 return (mem); in memdesc_vaddr() 85 struct memdesc mem; in memdesc_paddr() local 87 mem.u.md_paddr = paddr; in memdesc_paddr() [all …]
|
| /freebsd/lib/libsys/ |
| H A D | kexec_load.2 | 2 .\" SPDX-License-Identifier: BSD-3-Clause 43 argument is an array of 46 .Bd -literal -offset indent 50 vm_paddr_t mem; 62 .Va mem 70 .Va mem 75 .Va mem 83 machine-dependent image data until 92 On failure, -1 is returned, and 100 .Bl -tag -width Er [all …]
|
| /freebsd/sys/dev/drm2/ttm/ |
| H A D | ttm_bo_driver.h | 3 * Copyright (c) 2006-2009 Vmware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 96 * @dummy_read_page: Page to map where the ttm_tt page array contains a NULL 98 * @pages: Array of pages backing the data. 99 * @num_pages: Number of pages in the page array. 106 * This is a structure holding the pages, caching- and aperture binding 118 struct sg_table *sg; /* for SG objects via dma-buf */ 136 * This is a structure holding the pages, caching- and aperture binding 146 #define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/interconnect/ |
| H A D | qcom,sdm845.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SDM845 Network-On-Chip Interconnect 10 - Georgi Djakov <georgi.djakov@linaro.org> 26 - qcom,sdm845-aggre1-noc 27 - qcom,sdm845-aggre2-noc 28 - qcom,sdm845-config-noc 29 - qcom,sdm845-dc-noc 30 - qcom,sdm845-gladiator-noc [all …]
|
| /freebsd/libexec/rtld-elf/ |
| H A D | rtld_malloc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 35 * Chris Kingsley, kingsley@cit-20. 40 * implementation, the available sizes are 2^n-4 (or 2^n-10) bytes long. 60 * Pre-allocate mmap'ed pages 100 * The array of supported page sizes is provided by the user, i.e., the 102 * the array before making its first call to allocate storage. The array 110 return (((caddr_t)cp - sizeof(union overhead))); in cp2op() 132 while (nbytes > amt - sizeof(*op)) { in __crt_malloc() 148 nextf[bucket] = op->ov_next; in __crt_malloc() [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_environment.cpp | 2 * kmp_environment.cpp -- Handle environment variables OS-independently. 5 //===------- [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/regulator/ |
| H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
| /freebsd/sys/contrib/ncsw/inc/etc/ |
| H A D | mem_ext.h | 1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc 67 * +-----------+----------+---------------------------+-----------+-----------+ 71 * +-----------+----------+---------------------------+-----------+-----------+ 88 uint8_t **p_BlocksStack; /* Array of pointers to blocks */ 100 void *p_MemDbg; /* MEM debug database (MEM leaks detection) */ 113 @Param[in] name - Name of memory partition. 114 @Param[in] p_Handle - Handle to new segment is returned through here. 115 @Param[in] num - Number of blocks in new segment. 116 @Param[in] dataSize - Size of blocks in segment. 117 @Param[in] prefixSize - How many bytes to allocate before the data. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | dlg,da7280.txt | 4 - compatible: Should be "dlg,da7280". 5 - reg: Specifies the I2C slave address. 7 - interrupt-parent : Specifies the phandle of the interrupt controller to 10 - dlg,actuator-type: Set Actuator type. it should be one of: 11 "LRA" - Linear Resonance Actuator type. 12 "ERM-bar" - Bar type Eccentric Rotating Mass. 13 "ERM-coin" - Coin type Eccentric Rotating Mass. 15 - dlg,const-op-mode: Haptic operation mode for FF_CONSTANT. 17 1 - Direct register override(DRO) mode triggered by i2c(default), 18 2 - PWM data source mode controlled by PWM duty, [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | getcap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 46 #include "un-namespace.h" 70 * to the database array, in effect "pushing" the buffer on top of the 71 * virtual database. 0 is returned on success, -1 on failure. 86 return (-1); in cgetset() 114 * Skip past the current capability field - it's either the in cgetcap() 149 * array db_array and returns a pointer to a malloc'd copy of it in buf. 152 * -1 if the requested record couldn't be found, -2 if a system error was 153 * encountered (couldn't open/read a file, etc.), and -3 if a potential [all …]
|
| /freebsd/share/man/man4/ |
| H A D | mem.4 | 32 .Nm mem , 36 .Cd "device mem" 39 .Pa /dev/mem 45 .Pa /dev/mem 51 .Pa /dev/mem . 57 per-process data 71 .Bd -literal 94 .Bl -tag -width indent 113 .Pa /dev/mem . 120 .Bl -tag -width indent [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingValue.c | 1 /*===- InstrProfilingValue.c - Support library for PGO instrumentation ----===*\ 5 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exceptio 107 ValueProfNode **Mem = allocateValueProfileCounters() local [all...] |
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | getcap.c | 3 /*- 100 * to the database array, in effect "pushing" the buffer on top of the 101 * virtual database. 0 is returned on success, -1 on failure. 119 return (-1); in cgetset() 165 * Skip past the current capability field - it's either the in cgetcap() 200 * array db_array and returns a pointer to a malloc'd copy of it in buf. 203 * -1 if the requested record couldn't be found, -2 if a system error was 204 * encountered (couldn't open/read a file, etc.), and -3 if a potential 212 return (getent(buf, &dummy, db_array, -1, name, 0, NULL)); in cgetent() 216 * Getent implements the functions of cgetent. If fd is non-negative, [all …]
|
| /freebsd/lib/libc/string/ |
| H A D | memmem.c | 1 /*- 2 * SPDX-License-Identifier: MIT 4 * Copyright (c) 2005-2014 Rich Felker, et al. 32 for (h += 2, k -= 2; k; k--, hw = hw << 8 | *h++) in twobyte_memmem() 34 return (char *)h - 2; in twobyte_memmem() 35 return hw == nw ? (char *)h - 2 : 0; in twobyte_memmem() 43 for (h += 3, k -= 3; k; k--, hw = (hw | *h++) << 8) in threebyte_memmem() 45 return (char *)h - 3; in threebyte_memmem() 46 return hw == nw ? (char *)h - 3 : 0; in threebyte_memmem() 54 for (h += 4, k -= 4; k; k--, hw = hw << 8 | *h++) in fourbyte_memmem() [all …]
|
| H A D | strstr.c | 1 /*- 2 * SPDX-License-Identifier: MIT 4 * Copyright (c) 2005-2014 Rich Felker, et al. 34 return *h ? (char *)h - 1 : 0; in twobyte_strstr() 44 return *h ? (char *)h - 2 : 0; in threebyte_strstr() 54 return *h ? (char *)h - 3 : 0; in fourbyte_strstr() 66 * byte of the window. A bit array marks which entries in the shift table are 69 * Reference: CROCHEMORE M., PERRIN D., 1991, Two-way string-matching, 70 * Journal of the ACM 38(3):651-675 76 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local [all …]
|