Home
last modified time | relevance | path

Searched refs:bh_flags (Results 1 – 6 of 6) sorted by relevance

/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dmemfile.c264 hp->bh_flags = BH_LOCKED | BH_DIRTY; // new block is always dirty in mf_new()
301 hp->bh_flags = 0; in mf_get()
312 hp->bh_flags |= BH_LOCKED; in mf_get()
325 unsigned flags = hp->bh_flags; in mf_put()
335 hp->bh_flags = flags; in mf_put()
389 && (hp->bh_flags & BH_DIRTY) in mf_sync()
437 hp->bh_flags |= BH_DIRTY; in mf_set_dirty()
509 if (!(hp->bh_flags & BH_LOCKED) in mf_release_all()
510 && (!(hp->bh_flags & BH_DIRTY) in mf_release_all()
658 hp2->bh_flags &= ~BH_DIRTY; in mf_write()
H A Dmemfile_defs.h74 unsigned bh_flags; // BH_DIRTY or BH_LOCKED member
H A Dmemline.c3852 hp->bh_flags |= BH_DIRTY; in ml_setflags()
/dports/editors/vim/vim-8.2.3745/src/
H A Dmemfile.c439 hp->bh_flags = 0; in mf_get()
453 hp->bh_flags |= BH_LOCKED; in mf_get()
477 flags = hp->bh_flags; in mf_put()
487 hp->bh_flags = flags; in mf_put()
549 && (hp->bh_flags & BH_DIRTY) in mf_sync()
676 hp->bh_flags |= BH_DIRTY; in mf_set_dirty()
795 if (!(hp->bh_flags & BH_LOCKED)) in mf_release()
804 if ((hp->bh_flags & BH_DIRTY) && mf_write(mfp, hp) == FAIL) in mf_release()
855 if (!(hp->bh_flags & BH_LOCKED) in mf_release_all()
856 && (!(hp->bh_flags & BH_DIRTY) in mf_release_all()
[all …]
H A Dstructs.h530 char bh_flags; // BH_DIRTY or BH_LOCKED member
H A Dmemline.c5333 hp->bh_flags |= BH_DIRTY; in ml_setflags()