Home
last modified time | relevance | path

Searched refs:seg_flags (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/sys/ufs/lfs/
H A Dlfs_subr.c291 fs->lfs_sp->seg_flags |= flags; in lfs_seglock()
318 sp->seg_flags = flags; in lfs_seglock()
452 if ((sp->seg_flags & (SEGM_PROT | SEGM_CLEAN)) == 0) in lfs_segunlock()
455 sync = sp->seg_flags & SEGM_SYNC; in lfs_segunlock()
456 ckp = sp->seg_flags & SEGM_CKP; in lfs_segunlock()
625 u_int16_t seg_flags; in lfs_segunlock_relock() local
642 seg_flags = fs->lfs_sp->seg_flags; in lfs_segunlock_relock()
644 fs->lfs_sp->seg_flags |= SEGM_PROT; /* Don't unmark dirop nodes */ in lfs_segunlock_relock()
658 lfs_seglock(fs, seg_flags); in lfs_segunlock_relock()
H A Dlfs_segment.c344 if (LFS_SHOULD_CHECKPOINT(fs, fs->lfs_sp->seg_flags)) { in lfs_vflush()
368 (fs->lfs_sp->seg_flags & SEGM_CLEAN)) { in lfs_vflush()
436 if (sp->seg_flags & SEGM_SYNC) in lfs_vflush()
438 if (sp->seg_flags & SEGM_CKP) in lfs_vflush()
639 if (sp->seg_flags & (SEGM_CLEAN | SEGM_CKP)) in lfs_segwrite()
651 if (sp->seg_flags & SEGM_CLEAN) in lfs_segwrite()
653 else if (!(sp->seg_flags & SEGM_FORCE_CKP)) { in lfs_segwrite()
656 if ((sp->seg_flags & SEGM_SINGLE) && in lfs_segwrite()
830 sp->seg_flags &= ~SEGM_CKP; in lfs_segwrite()
835 if (sp->seg_flags & SEGM_SYNC) in lfs_segwrite()
[all …]
H A Dlfs_pages.c742 sp->seg_flags |= SEGM_RECLAIM; in lfs_putpages()
801 if ((sp->seg_flags & SEGM_SINGLE) && in lfs_putpages()
879 KASSERT(fs->lfs_sp->seg_flags & SEGM_PROT); in lfs_putpages()
H A Dlfs_vnops.c1657 if (error && (sp->seg_flags & SEGM_SINGLE)) { in lfs_flush_dirops()
1666 if (error && (sp->seg_flags & SEGM_SINGLE)) { in lfs_flush_dirops()
2012 fs->lfs_sp->seg_flags |= SEGM_PROT; in lfs_fcntl()
H A Dlfs_bio.c378 fs->lfs_sp->seg_flags & (SEGM_CLEAN | SEGM_FORCE_CKP)) { in lfs_availwait()
H A Dlfs.h1183 uint16_t seg_flags; /* run-time flags for this segment */ member
H A Dlfs_vfsops.c2231 if ((sp->seg_flags & SEGM_SINGLE) && lfs_sb_getcurseg(fs) != fs->lfs_startseg) in lfs_gop_write()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dscript-sections.cc4043 elfcpp::Elf_Word seg_flags = in create_segments() local
4049 seg_flags); in create_segments()
4058 current_seg->add_output_section_to_load(layout, *p, seg_flags); in create_segments()
4147 elfcpp::Elf_Word seg_flags = in create_note_and_tls_segments() local
4150 seg_flags); in create_note_and_tls_segments()
4151 oseg->add_output_section_to_nonload(*p, seg_flags); in create_note_and_tls_segments()
4159 seg_flags = Layout::section_flags_to_segment((*pnext)->flags()); in create_note_and_tls_segments()
4160 oseg->add_output_section_to_nonload(*pnext, seg_flags); in create_note_and_tls_segments()
4171 elfcpp::Elf_Word seg_flags = in create_note_and_tls_segments() local
4174 seg_flags); in create_note_and_tls_segments()
[all …]
H A Dlayout.cc1983 elfcpp::Elf_Word seg_flags = Layout::section_flags_to_segment(flags); in attach_allocated_section_to_segment() local
1987 seg_flags |= os->extra_segment_flags(); in attach_allocated_section_to_segment()
2012 && ((*p)->flags() & elfcpp::PF_W) != (seg_flags & elfcpp::PF_W)) in attach_allocated_section_to_segment()
2015 && ((*p)->flags() & elfcpp::PF_X) != (seg_flags & elfcpp::PF_X)) in attach_allocated_section_to_segment()
2034 (*p)->update_flags_for_output_section(seg_flags); in attach_allocated_section_to_segment()
2039 (*p)->add_output_section_to_load(this, os, seg_flags); in attach_allocated_section_to_segment()
2048 seg_flags); in attach_allocated_section_to_segment()
2051 oseg->add_output_section_to_load(this, os, seg_flags); in attach_allocated_section_to_segment()
2078 == (seg_flags & elfcpp::PF_W))) in attach_allocated_section_to_segment()
2080 (*p)->add_output_section_to_nonload(os, seg_flags); in attach_allocated_section_to_segment()
[all …]
H A Doutput.cc4094 elfcpp::Elf_Word seg_flags) in add_output_section_to_load() argument
4101 this->update_flags_for_output_section(seg_flags); in add_output_section_to_load()
4118 elfcpp::Elf_Word seg_flags) in add_output_section_to_nonload() argument
4124 this->update_flags_for_output_section(seg_flags); in add_output_section_to_nonload()
H A Doutput.h4702 elfcpp::Elf_Word seg_flags);
4708 elfcpp::Elf_Word seg_flags);
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dscript-sections.cc4043 elfcpp::Elf_Word seg_flags = in create_segments() local
4049 seg_flags); in create_segments()
4058 current_seg->add_output_section_to_load(layout, *p, seg_flags); in create_segments()
4147 elfcpp::Elf_Word seg_flags = in create_note_and_tls_segments() local
4150 seg_flags); in create_note_and_tls_segments()
4151 oseg->add_output_section_to_nonload(*p, seg_flags); in create_note_and_tls_segments()
4159 seg_flags = Layout::section_flags_to_segment((*pnext)->flags()); in create_note_and_tls_segments()
4160 oseg->add_output_section_to_nonload(*pnext, seg_flags); in create_note_and_tls_segments()
4171 elfcpp::Elf_Word seg_flags = in create_note_and_tls_segments() local
4174 seg_flags); in create_note_and_tls_segments()
[all …]
H A Dlayout.cc1980 elfcpp::Elf_Word seg_flags = Layout::section_flags_to_segment(flags); in attach_allocated_section_to_segment() local
1984 seg_flags |= os->extra_segment_flags(); in attach_allocated_section_to_segment()
2009 && ((*p)->flags() & elfcpp::PF_W) != (seg_flags & elfcpp::PF_W)) in attach_allocated_section_to_segment()
2012 && ((*p)->flags() & elfcpp::PF_X) != (seg_flags & elfcpp::PF_X)) in attach_allocated_section_to_segment()
2031 (*p)->update_flags_for_output_section(seg_flags); in attach_allocated_section_to_segment()
2036 (*p)->add_output_section_to_load(this, os, seg_flags); in attach_allocated_section_to_segment()
2045 seg_flags); in attach_allocated_section_to_segment()
2048 oseg->add_output_section_to_load(this, os, seg_flags); in attach_allocated_section_to_segment()
2075 == (seg_flags & elfcpp::PF_W))) in attach_allocated_section_to_segment()
2077 (*p)->add_output_section_to_nonload(os, seg_flags); in attach_allocated_section_to_segment()
[all …]
H A Doutput.cc4093 elfcpp::Elf_Word seg_flags) in add_output_section_to_load() argument
4100 this->update_flags_for_output_section(seg_flags); in add_output_section_to_load()
4117 elfcpp::Elf_Word seg_flags) in add_output_section_to_nonload() argument
4123 this->update_flags_for_output_section(seg_flags); in add_output_section_to_nonload()
H A Doutput.h4702 elfcpp::Elf_Word seg_flags);
4708 elfcpp::Elf_Word seg_flags);
/netbsd-src/sbin/fsck_lfs/
H A Dsegwrite.c940 fs->lfs_sp->seg_flags |= flags; in lfs_seglock()
950 sp->seg_flags = flags; in lfs_seglock()