Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 671) sorted by relevance

12345678910>>...27

/netbsd/src/external/gpl3/gdb/dist/include/elf/
Dinternal.h309 #define ELF_TBSS_SPECIAL(sec_hdr, segment) \ argument
312 && (segment)->p_type != PT_TLS)
314 #define ELF_SECTION_SIZE(sec_hdr, segment) \ argument
315 (ELF_TBSS_SPECIAL(sec_hdr, segment) ? 0 : (sec_hdr)->sh_size)
323 #define ELF_SECTION_IN_SEGMENT_1(sec_hdr, segment, check_vma, strict) \ argument
327 && ((segment)->p_type == PT_TLS \
328 || (segment)->p_type == PT_GNU_RELRO \
329 || (segment)->p_type == PT_LOAD)) \
333 && (segment)->p_type != PT_TLS \
334 && (segment)->p_type != PT_PHDR)) \
[all …]
/netbsd/src/external/gpl3/binutils/dist/include/elf/
Dinternal.h309 #define ELF_TBSS_SPECIAL(sec_hdr, segment) \ argument
312 && (segment)->p_type != PT_TLS)
314 #define ELF_SECTION_SIZE(sec_hdr, segment) \ argument
315 (ELF_TBSS_SPECIAL(sec_hdr, segment) ? 0 : (sec_hdr)->sh_size)
323 #define ELF_SECTION_IN_SEGMENT_1(sec_hdr, segment, check_vma, strict) \ argument
327 && ((segment)->p_type == PT_TLS \
328 || (segment)->p_type == PT_GNU_RELRO \
329 || (segment)->p_type == PT_LOAD)) \
333 && (segment)->p_type != PT_TLS \
334 && (segment)->p_type != PT_PHDR)) \
[all …]
/netbsd/src/external/gpl3/gcc/dist/libgcc/
Dgeneric-morestack.c911 struct stack_segment *segment; in __splitstack_find() local
939 segment = (struct stack_segment *) segment_arg; in __splitstack_find()
943 segment = __morestack_current_segment; in __splitstack_find()
944 sp = (void *) &segment; in __splitstack_find()
947 if (segment == NULL) in __splitstack_find()
950 if ((char *) sp >= (char *) (segment + 1) in __splitstack_find()
951 && (char *) sp <= (char *) (segment + 1) + segment->size) in __splitstack_find()
953 segment = segment->prev; in __splitstack_find()
957 if (segment->prev == NULL) in __splitstack_find()
960 *next_segment = segment->prev; in __splitstack_find()
[all …]
/netbsd/src/external/bsd/elftosb/dist/common/
DDataTarget.cpp15 …essRange ConstantDataTarget::getRangeForSegment(DataSource & source, DataSource::Segment & segment) in getRangeForSegment() argument
31 range.m_end = std::min<uint32_t>(m_end, m_begin + segment.getLength()); in getRangeForSegment()
36 range.m_end = m_begin + segment.getLength(); in getRangeForSegment()
47 …ressRange NaturalDataTarget::getRangeForSegment(DataSource & source, DataSource::Segment & segment) in getRangeForSegment() argument
49 if (!segment.hasNaturalLocation()) in getRangeForSegment()
55 range.m_begin = segment.getBaseAddress(); in getRangeForSegment()
56 range.m_end = segment.getBaseAddress() + segment.getLength(); in getRangeForSegment()
DDataSourceImager.cpp56 void DataSourceImager::addDataSegment(DataSource::Segment * segment) in addDataSegment() argument
58 … DataSource::PatternSegment * patternSegment = dynamic_cast<DataSource::PatternSegment*>(segment); in addDataSegment()
60 unsigned segmentLength = segment->getLength(); in addDataSegment()
61 bool segmentHasLocation = segment->hasNaturalLocation(); in addDataSegment()
62 uint32_t segmentAddress = segment->getBaseAddress(); in addDataSegment()
140 offset += segment->getData(offset, segmentLength - offset, toPtr + offset); in addDataSegment()
DDataTarget.h60 … DataTarget::AddressRange getRangeForSegment(DataSource & source, DataSource::Segment & segment)=0;
92 …al DataTarget::AddressRange getRangeForSegment(DataSource & source, DataSource::Segment & segment);
117 …al DataTarget::AddressRange getRangeForSegment(DataSource & source, DataSource::Segment & segment);
/netbsd/src/sbin/fsck_lfs/
Dsegwrite.h43 void lfs_writefile(struct lfs *, struct segment *, struct uvnode *);
44 int lfs_writeinode(struct lfs *, struct segment *, struct inode *);
45 int lfs_gatherblock(struct segment *, struct ubuf *);
46 int lfs_gather(struct lfs *, struct segment *, struct uvnode *,
48 void lfs_updatemeta(struct segment *);
51 int lfs_writeseg(struct lfs *, struct segment *);
64 int lfs_writevnodes(struct lfs *, struct segment *, int);
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dsym-file-loader.c61 struct segment struct
66 struct segment *next; argument
73 struct segment *segments;
78 static int translate_offset (uint64_t file_offset, struct segment *seg,
101 static struct segment *
102 load (uint8_t *addr, Elf_External_Phdr *phdr, struct segment *tail_seg) in load()
104 struct segment *seg = NULL; in load()
125 seg = (struct segment *) malloc (sizeof (struct segment)); in load()
186 unload (struct segment *seg) in unload()
195 struct segment *seg, *next_seg; in unload_shlib()
[all …]
/netbsd/src/sys/ufs/lfs/
Dlfs_extern.h104 struct segment;
161 void lfs_check_bpp(struct lfs *, struct segment *, char *, int);
162 void lfs_check_segsum(struct lfs *, struct segment *, char *, int);
185 int lfs_writefile(struct lfs *, struct segment *, struct vnode *);
186 int lfs_writeinode(struct lfs *, struct segment *, struct inode *);
187 int lfs_gatherblock(struct segment *, struct buf *, kmutex_t *);
188 int lfs_gather(struct lfs *, struct segment *, struct vnode *, int (*match )(struct lfs *, struct b…
189 void lfs_update_single(struct lfs *, struct segment *, struct vnode *,
191 void lfs_updatemeta(struct segment *);
195 int lfs_writeseg(struct lfs *, struct segment *);
DTODO5 - Get rid of lfs_segclean(); the kernel should clean a dirty segment IFF it
17 covered by the segment lock, we don't really need to pay attention to
18 the inode lock when writing a segment, right? If this is true, the
28 actually do this, since we now take IN_CLEANING off during segment write.
50 - Versioning. When it cleans a segment it could write data for files
65 data to clean a segment than is returned by the new segment because of
66 indirect blocks in segment 2 being dirtied by the data being copied
67 into the log from segment 1. The suggested solution at this point is
69 extra data into the last segment (leaving no clean ones), make it a
95 - Problem with the concept of multiple buffer headers referencing the segment:
[all …]
DREADME13 The disk is laid out in segments. The first segment starts 8K into the
14 disk (the first 8K is used for boot information). Each segment is composed
19 segment summary
23 The segment summary and inode/data blocks start after the super block (if
24 present), and grow toward the end of the segment.
33 summary block. In order to permit the segment to be written in any order
45 | next segment |
52 | . | blocks in the segment.
60 | inode-1 | blocks in the segment.
84 | segment | Space available and last modified times per
[all …]
DCHANGES8 recognize this and not mark the segment clean. When the cleaner runs
9 again, the segment containing the (formerly) locked inode will sort high
23 information only useful to a running LFS, including segment pointers,
57 VDIROP will sleep, and trigger a partial-segment write when no dirops
69 - Blocks which have already been gathered into a partial-segment are not
73 - The LFS buffer-header accounting, which triggers a partial-segment
78 longer trigger a partial-segment write, since this could cause a
101 - When writing a partial-segment, make sure that the current segment is
110 rewritten, and the partial-segment writing code changed to match.
118 If IN_CLEANING is set on an inode during partial-segment write, only fake
[all …]
/netbsd/src/external/gpl3/gcc/dist/contrib/
Ddg-extract-results.py92 def add_segment (self, key, segment): argument
95 self.segments[key] = segment
97 self.empty.append (segment)
242 segment = None
249 segment = Segment (filename, file.tell())
250 variation.header = segment
273 segment.lines -= final_using
274 harness.add_segment (first_key, segment)
277 segment = Segment (filename, file.tell())
329 if segment:
[all …]
/netbsd/src/sys/arch/hp300/DOC/
DHPMMU.notes9 Page and segment table entries mimic the Motorola 68851 PMMU,
16 segment table. The segment table is a single 4K page of 1024x4
20 unused valid bit in page and segment table entries must be
44 bit 2: Set to 1 if segment is read-only, ow read-write
71 5F4000: Supervisor mode segment table pointer. Loaded (as longword)
72 with page frame number (i.e. Physaddr >> 12) of the segment
74 5F4004: User mode segment table pointer. Loaded (as longword) with
75 page frame number of the segment table mapping user space.
107 segment table pointer.
111 supervisor segment table pointer.
[all …]
DDebug.tips27 At the highest level is a one page segment table which maps a page table which
28 maps the address space. Each 4 byte segment table entry (described in
34 Both page and segment table entries look similar. Both have the page frame
45 exception handling) it uses the kernel virtual mapping. The kernel segment
50 maps but as currently configured is 9216 PTEs. Both segment and page tables
51 are initialized at bootup in hp300/locore.s. The segment table never changes
74 The user segment table is allocated along with the page tables from Usrptmap.
76 the segment table. Hence, a process has p_szpt+1 pages allocated starting
79 The user segment table is typically very sparse since each entry maps 4Mb.
82 example if the segment table was at 0xFFFFA000 there would be valid entries
[all …]
/netbsd/src/sys/dev/acpi/
Dacpi_pci.c326 acpi_pcidev_ppb_downbus(pci_chipset_tag_t pc, uint16_t segment, uint16_t bus, in acpi_pcidev_ppb_downbus() argument
365 acpi_pcidev_find(uint16_t segment, uint16_t bus, in acpi_pcidev_find() argument
378 ad->ad_pciinfo->ap_segment == segment && in acpi_pcidev_find()
394 acpi_pcidev_get_tag(uint16_t segment, uint16_t bus, in acpi_pcidev_get_tag() argument
399 ad = acpi_pcidev_find(segment, bus, device, function); in acpi_pcidev_get_tag()
414 acpi_pciroot_find(uint16_t segment, uint16_t bus) in acpi_pciroot_find() argument
426 ad->ad_pciinfo->ap_segment == segment && in acpi_pciroot_find()
493 u_int segment; in acpi_pci_bus_get_child_devhandle() local
495 segment = pci_get_segment(args->pc); in acpi_pci_bus_get_child_devhandle()
499 ad = acpi_pcidev_find(segment, b, d, f); in acpi_pci_bus_get_child_devhandle()
/netbsd/src/external/bsd/libarchive/dist/libarchive/
Darchive_write_set_format_zip.c208 struct cd_segment *segment = calloc(1, sizeof(*segment)); in cd_alloc() local
209 if (segment == NULL) in cd_alloc()
211 segment->buff_size = 64 * 1024; in cd_alloc()
212 segment->buff = malloc(segment->buff_size); in cd_alloc()
213 if (segment->buff == NULL) { in cd_alloc()
214 free(segment); in cd_alloc()
217 segment->p = segment->buff; in cd_alloc()
222 = segment; in cd_alloc()
224 zip->central_directory_last->next = segment; in cd_alloc()
225 zip->central_directory_last = segment; in cd_alloc()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/perlasm/
Dx86masm.pl18 $segment="";
101 $segment = ".text\$";
139 push(@out,"$segment ENDS\n");
197 { push(@out,"$segment\tENDS\n_DATA\tSEGMENT\n"); $segment="_DATA"; }
/netbsd/src/external/gpl3/binutils/dist/ld/scripttempl/
Delf64bpf.sc14 # INITIAL_READONLY_SECTIONS - at start of text segment
18 # INITIAL_READWRITE_SECTIONS - at start of data segment (after relro)
23 # OTHER_RELRO_SECTIONS_2 - as above, but after .dynamic in text segment
29 # TEXT_START_ADDR - the first byte of the text segment, after any
31 # TEXT_BASE_ADDRESS - the first byte of the text segment.
44 # PLT_NEXT_DATA - .plt next to data segment when .plt is in text segment.
45 # DATA_PLT - .plt should be in data segment, not text segment.
47 # BSS_PLT - .plt should be in bss segment
50 # NON_ALLOC_DYN - Place dynamic sections after data segment.
51 # TEXT_DYNAMIC - .dynamic in text segment, not data segment.
[all …]
Delf.sc17 # INITIAL_READONLY_SECTIONS - at start of text segment
21 # INITIAL_READWRITE_SECTIONS - at start of data segment (after relro)
26 # OTHER_RELRO_SECTIONS_2 - as above, but after .dynamic in text segment
32 # TEXT_START_ADDR - the first byte of the text segment, after any
34 # TEXT_BASE_ADDRESS - the first byte of the text segment.
47 # PLT_NEXT_DATA - .plt next to data segment when .plt is in text segment.
48 # DATA_PLT - .plt should be in data segment, not text segment.
50 # BSS_PLT - .plt should be in bss segment
53 # NON_ALLOC_DYN - Place dynamic sections after data segment.
54 # TEXT_DYNAMIC - .dynamic in text segment, not data segment.
[all …]
Darclinux.sc14 # INITIAL_READONLY_SECTIONS - at start of text segment
18 # INITIAL_READWRITE_SECTIONS - at start of data segment (after relro)
23 # OTHER_RELRO_SECTIONS_2 - as above, but after .dynamic in text segment
29 # TEXT_START_ADDR - the first byte of the text segment, after any
31 # TEXT_BASE_ADDRESS - the first byte of the text segment.
43 # PLT_NEXT_DATA - .plt next to data segment when .plt is in text segment.
44 # DATA_PLT - .plt should be in data segment, not text segment.
46 # BSS_PLT - .plt should be in bss segment
49 # NON_ALLOC_DYN - Place dynamic sections after data segment.
50 # TEXT_DYNAMIC - .dynamic in text segment, not data segment.
[all …]
/netbsd/src/sys/arch/sparc64/conf/
Dkern32.ldscript16 /* Read-only sections, merged into text segment: */
31 /* Adjust the address for the data segment. We push the data segment
53 we can shorten the on-disk segment size. */
Dkern.ldscript17 /* Read-only sections, merged into text segment: */
32 /* Adjust the address for the data segment. We push the data segment
54 we can shorten the on-disk segment size. */
/netbsd/src/usr.sbin/altq/libaltq/
Dqop_hfsc.h34 struct segment { struct
35 LIST_ENTRY(segment) _next;
39 typedef LIST_HEAD(gen_sc, segment) gsc_head_t; argument
/netbsd/src/sys/arch/i386/stand/pxeboot/
Dpxe.c133 uw->buffer.segment = VTOPSEG(pkt); in sendudp()
168 ur->buffer.segment = VTOPSEG(pkt); in readudp()
361 bangpxe_seg = pxe->EntryPointSP.segment; in pxe_init()
365 pxenv_seg = pxenv->RMEntry.segment; in pxe_init()
386 pvbcopy((void *)((gci->Buffer.segment << 4) + gci->Buffer.offset), in pxe_init()

12345678910>>...27