Home
last modified time | relevance | path

Searched +full:segment +full:- (Results 1 – 25 of 1015) sorted by relevance

12345678910>>...41

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_solaris.cpp1 //===-- sanitizer_procmaps_solaris.cpp ------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Information about the process mappings (Solaris-specific parts).
10 //===----------------------------------------------------------------------===//
31 CHECK_NE(fd, -1); in ReadProcMaps()
39 CHECK_NE(Size, -1); in ReadProcMaps()
41 proc_maps->data = (char *)VmMap; in ReadProcMaps()
42 proc_maps->mmaped_size = MmapedSize; in ReadProcMaps()
43 proc_maps->len = Size; in ReadProcMaps()
[all …]
H A Dsanitizer_procmaps_mac.cpp1 //===-- sanitizer_procmaps_mac.cpp ----------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Information about the process mappings (Mac-specific parts).
10 //===----------------------------------------------------------------------===//
18 #include <mach-o/dyld.h>
19 #include <mach-o/loader.h>
51 const Section *sc = (const Section *)data->current_load_cmd_addr; in NextSectionLoad()
52 data->current_load_cmd_addr += sizeof(Section); in NextSectionLoad()
54 uptr sec_start = (sc->addr & data->addr_mask) + data->base_virt_addr; in NextSectionLoad()
[all …]
H A Dsanitizer_procmaps_linux.cpp1 //===-- sanitizer_procmaps_linux.cpp --------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Information about the process mappings (Linux-specific parts).
10 //===----------------------------------------------------------------------===//
20 if (!ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps()
21 &proc_maps->mmaped_size, &proc_maps->len)) { in ReadProcMaps()
22 proc_maps->data = nullptr; in ReadProcMaps()
23 proc_maps->mmaped_size = 0; in ReadProcMaps()
24 proc_maps->len = 0; in ReadProcMaps()
[all …]
H A Dsanitizer_procmaps_bsd.cpp1 //===-- sanitizer_procmaps_bsd.cpp ----------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // (FreeBSD and NetBSD-specific parts).
11 //===----------------------------------------------------------------------===//
18 // clang-format off
21 // clang-format on
42 cb(0, InfoProc->ki_rssize * GetPageSizeCached(), false, stats); in GetMemoryProfile()
56 cb(0, InfoProc->p_vm_rssize * GetPageSizeCached(), false, stats);
89 proc_maps->data = (char *)VmMap; in ReadProcMaps()
[all …]
H A Dsanitizer_procmaps_fuchsia.cpp1 //===-- sanitizer_procmaps_fuchsia.cpp
2 //----------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 // Information about the process mappings (Fuchsia-specific parts).
11 //===----------------------------------------------------------------------===//
24 // information via its process-self handle.
55 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next() argument
59 segment->start = entry.base; in Next()
60 segment->end = entry.base + entry.size; in Next()
[all …]
H A Dsanitizer_posix.cpp1 //===-- sanitizer_posix.cpp -----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // run-time libraries and implements POSIX-specific functions from
12 //===----------------------------------------------------------------------===//
39 // ------------- sanitizer_common.h
82 // We probably can do it with fewer syscalls in some OS-dependent way.
98 res = (map_res + alignment - 1) & ~(alignment - 1); in MmapAlignedOrDieOnFatalError()
99 UnmapOrDie((void*)map_res, res - map_res); in MmapAlignedOrDieOnFatalError()
106 UnmapOrDie((void*)end, map_end - end); in MmapAlignedOrDieOnFatalError()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/auxdisplay/
H A Dgpio-7-segment.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO based LED segment display
10 - Chris Packham <chris.packham@alliedtelesis.co.nz>
14 const: gpio-7-segment
16 segment-gpios:
18 An array of GPIOs one per segment. The first GPIO corresponds to the A
19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveInterval.cpp1 //===- LiveInterval.cpp - Live Interval Representation --------
73 using Segment = LiveRange::Segment; global() typedef in __anon418b83490111::CalcLiveRangeUtilBase
[all...]
/freebsd/sys/amd64/include/
H A Dsegments.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
50 * System segment descriptors (128 bit wide)
53 u_int64_t sd_lolimit:16; /* segment extent (lsb) */
54 u_int64_t sd_lobase:24; /* segment base address (lsb) */
55 u_int64_t sd_type:5; /* segment type */
56 u_int64_t sd_dpl:2; /* segment descriptor priority level */
57 u_int64_t sd_p:1; /* segment descriptor present */
58 u_int64_t sd_hilimit:4; /* segment extent (msb) */
61 u_int64_t sd_hibase:40 __packed;/* segment base address (msb) */
[all …]
/freebsd/sys/x86/include/
H A Dsegments.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
57 * User segment descriptors (%cs, %ds etc for i386 apps. 64 bit wide)
58 * For long-mode apps, %cs only has the conforming bit in sd_type, the sd_dpl,
62 unsigned sd_lolimit:16; /* segment extent (lsb) */
63 unsigned sd_lobase:24; /* segment base address (lsb) */
64 unsigned sd_type:5; /* segment type */
65 unsigned sd_dpl:2; /* segment descriptor priority level */
66 unsigned sd_p:1; /* segment descriptor present */
67 unsigned sd_hilimit:4; /* segment extent (msb) */
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h1 //===- llvm/CodeGen/LiveInterval.h - Interval representation ----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // individual segment is represented as an instance of LiveRange::Segment,
18 //===----------------------------------------------------------------------===//
49 /// VNInfo - Value Number Information.
76 /// PHI-defs begin at a block boundary, all other defs begin at register or
102 /// Return the value that is live-in to the instruction. This is the value
104 /// value is live-in.
109 /// Return true if the live-in value is killed by this instruction. This
[all …]
/freebsd/lib/libsys/
H A Dshmctl.243 on the shared memory segment identified by
45 .Bl -tag -width SHM_UNLOCKX
47 Fetch the segment's
60 members of the segment's
71 Removes the segment from the system.
73 effect until all processes having attached the segment have exited.
84 no further processes will be allowed to attach the segment.
86 .\" Locks the segment in memory. The calling process must have
89 .\" Unlocks the segment from memory. The calling process must
100 .Bd -literal
[all …]
H A Dshmat.247 attaches the shared memory segment identified by
50 The address where the segment
56 .Bl -bullet
60 is 0, the segment is attached at an address selected by the
69 the segment is attached the specified address.
87 cleared before the segment is attached.
93 some pre-existing mappings, the
100 detaches the shared memory segment at the address specified by
106 returns the address where the segment is attached; otherwise, -1
111 .Rv -std shmdt
[all …]
H A Dbrk.234 .Nd change data segment size
44 .Bf -symbolic
62 process's data segment.
66 uninitialized data segment (also known as the
81 bytes of new memory in the data segment.
89 While the actual process data segment size maintained by the kernel will only
92 page of the data segment).
103 data segment.
116 .Rv -std brk
122 .Po Vt "void *" Pc Ns \-1
[all …]
H A Dshmget.245 memory segment.
54 .Bl -bullet
76 .Bl -tag -width 0000
91 .\" XXX - we should also mention how uid, euid, and gid affect ownership
97 When creating a new shared memory segment,
99 indicates the desired size of the new segment in bytes.
101 of the segment may be rounded up to a multiple convenient to the
106 returns the positive integer identifier of a shared memory segment.
107 Otherwise, -1 is returned and
115 .Bl -tag -width Er
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DTraceDumper.h1 //===-- TraceDumper.h -------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
82 /// A traced segment is a maximal list of consecutive traced instructions
83 /// that belong to the same function call. A traced segment will end in
85 /// - With a call to a function deeper in the callstack. In this case,
87 /// and resume with the next segment of this segment's owning function
89 /// - Abruptly due to end of trace. In this case, we weren't able to trace
91 /// - Simply a return higher in the callstack.
93 /// In terms of implementation details, as segment can be represented with
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h1 //===-- xray_segmented_array.h ---------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Defines the implementation of a segmented array, with fixed-size segments
14 //===----------------------------------------------------------------------===//
34 struct Segment { struct
35 Segment *Prev; argument
36 Segment *Next; argument
41 // Each segment of the array will be laid out with the following assumptions:
43 // - Each segment will be on a cache-line address boundary (kCacheLineSize
[all …]
/freebsd/share/man/man5/
H A Da.out.550 .Bl -tag -width "text relocations"
58 .It text segment
61 May be loaded read-only.
62 .It data segment
66 to update pointers in the text segment when combining binary files.
68 Like the text relocation section, but for data segment pointers.
81 .Bd -literal -offset indent
95 .Bl -tag -width a_trsize
97 This field is stored in host byte-order.
98 It has a number of sub-components accessed by the macros
[all …]
/freebsd/sys/net/altq/
H A Daltq_hfsc.h1 /*-
2 * Copyright (c) 1997-1999 Carnegie Mellon University. All Rights Reserved.
6 * for-profit use), provided that both the copyright notice and this
46 u_int m1; /* slope of the first segment in bits/sec */
47 u_int d; /* the x-projection of the first segment in msec */
48 u_int m2; /* slope of the second segment in bits/sec */
52 u_int64_t m1; /* slope of the first segment in bits/sec */
53 u_int d; /* the x-projection of the first segment in msec */
54 u_int64_t m2; /* slope of the second segment in bits/sec */
87 done by real-time criteria */
[all …]
/freebsd/sys/i386/i386/
H A Dmpboot.S1 /*-
131 * copied into 'real-mode' low memory, it is where the
135 * 1Meg. -jackv
162 mov $(boot_stk-bootMP), %esp
165 lgdt MP_GDTptr-bootMP
177 pushl $(protmode-bootMP)
187 * are using a segment descriptor with the origin
190 * SO NOW... for the BIG Jump into kernel's segment
228 .word 0xffff /* segment limit 0..15 */
229 .word 0x0000 /* segment base 0..15 */
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT-586_asm.asm1 ; z_Windows_NT-586_asm.asm: - microtasking routines specifically
2 ; written for IA-32 architecture and Intel(R) 64 running Windows* OS
5 ;//===----------------------------------------------------------------------===//
9 ;// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 ;//===----------------------------------------------------------------------===//
14 TITLE z_Windows_NT-586_asm.asm
16 ; ============================= IA-32 architecture ==========================
24 _TEXT SEGMENT PARA USE32 PUBLIC 'CODE'
26 _DATA SEGMENT DWORD USE32 PUBLIC 'DATA'
28 CONST SEGMENT DWORD USE32 PUBLIC 'CONST'
[all …]
/freebsd/sys/contrib/ncsw/inc/etc/
H A Dmem_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
67 * +-----------+----------+---------------------------+-----------+-----------+
71 * +-----------+----------+---------------------------+-----------+-----------+
80 @Description Memory Segment structure
86 /* The segment's name */
96 uint32_t num; /* Number of blocks in segment */
111 @Description Create a new memory segment.
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.
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dshm.c2 * Copyright (c) 2000-2001, 2003, 2005 Proofpoint, Inc. and its suppliers.
11 SM_RCSID("@(#)$Id: shm.c,v 1.20 2013-11-22 20:51:43 ca Exp $")
23 ** SM_SHMSTART -- initialize shared memory segment.
26 ** key -- key for shared memory.
27 ** size -- size of segment.
28 ** shmflag -- initial flags.
29 ** shmid -- pointer to return id.
30 ** owner -- create segment.
33 ** pointer to shared memory segment,
37 ** attaches shared memory segment.
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c1 /*-
91 /* Fail if the item size exceeds slab_len - caller should increase slab_size, in ocs_array_alloc()
104 array->os = os; in ocs_array_alloc()
105 array->size = size; in ocs_array_alloc()
106 array->count = count; in ocs_array_alloc()
107 array->elems_per_row = slab_len / size; in ocs_array_alloc()
108 array->n_rows = (count + array->elems_per_row - 1) / array->elems_per_row; in ocs_array_alloc()
109 array->bytes_per_row = array->elems_per_row * array->size; in ocs_array_alloc()
111 array->array_rows_len = array->n_rows * sizeof(*array->array_rows); in ocs_array_alloc()
112 array->array_rows = ocs_malloc(os, array->array_rows_len, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_array_alloc()
[all …]
/freebsd/sys/amd64/vmm/amd/
H A Dvmcb.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 * - instructions or events in the guest to intercept
53 * - control bits that modify execution environment of the guest
54 * - guest processor state (e.g. general purpose registers)
58 * Return VMCB segment area.
66 state = &vmcb->state; in vmcb_segptr()
70 seg = &state->cs; in vmcb_segptr()
74 seg = &state->ds; in vmcb_segptr()
78 seg = &state->es; in vmcb_segptr()
[all …]

12345678910>>...41