Lines Matching refs:memfile_T

69 static void mf_ins_hash(memfile_T *, bhdr_T *);
70 static void mf_rem_hash(memfile_T *, bhdr_T *);
71 static bhdr_T *mf_find_hash(memfile_T *, blocknr_T);
72 static void mf_ins_used(memfile_T *, bhdr_T *);
73 static void mf_rem_used(memfile_T *, bhdr_T *);
74 static bhdr_T *mf_release(memfile_T *, int);
75 static bhdr_T *mf_alloc_bhdr(memfile_T *, int);
77 static void mf_ins_free(memfile_T *, bhdr_T *);
78 static bhdr_T *mf_rem_free(memfile_T *);
79 static int mf_read(memfile_T *, bhdr_T *);
80 static int mf_write(memfile_T *, bhdr_T *);
81 static int mf_write_block(memfile_T *mfp, bhdr_T *hp, off_T offset, unsigned size);
82 static int mf_trans_add(memfile_T *, bhdr_T *);
83 static void mf_do_open(memfile_T *, char_u *, int);
120 memfile_T *
123 memfile_T *mfp; in mf_open()
130 if ((mfp = ALLOC_ONE(memfile_T)) == NULL) in mf_open()
221 mf_open_file(memfile_T *mfp, char_u *fname) in mf_open_file()
236 mf_close(memfile_T *mfp, int del_file) in mf_close()
273 memfile_T *mfp; in mf_close_file()
307 mf_new_page_size(memfile_T *mfp, unsigned new_size) in mf_new_page_size()
321 mf_new(memfile_T *mfp, int negative, int page_count) in mf_new()
411 mf_get(memfile_T *mfp, blocknr_T nr, int page_count) in mf_get()
470 memfile_T *mfp, in mf_put()
496 mf_free(memfile_T *mfp, bhdr_T *hp) in mf_free()
524 mf_sync(memfile_T *mfp, int flags) in mf_sync()
670 mf_set_dirty(memfile_T *mfp) in mf_set_dirty()
684 mf_ins_hash(memfile_T *mfp, bhdr_T *hp) in mf_ins_hash()
693 mf_rem_hash(memfile_T *mfp, bhdr_T *hp) in mf_rem_hash()
702 mf_find_hash(memfile_T *mfp, blocknr_T nr) in mf_find_hash()
711 mf_ins_used(memfile_T *mfp, bhdr_T *hp) in mf_ins_used()
728 mf_rem_used(memfile_T *mfp, bhdr_T *hp) in mf_rem_used()
752 mf_release(memfile_T *mfp, int page_count) in mf_release()
837 memfile_T *mfp; in mf_release_all()
878 mf_alloc_bhdr(memfile_T *mfp, int page_count) in mf_alloc_bhdr()
908 mf_ins_free(memfile_T *mfp, bhdr_T *hp) in mf_ins_free()
919 mf_rem_free(memfile_T *mfp) in mf_rem_free()
934 mf_read(memfile_T *mfp, bhdr_T *hp) in mf_read()
973 mf_write(memfile_T *mfp, bhdr_T *hp) in mf_write()
1074 memfile_T *mfp, in mf_write_block()
1109 mf_trans_add(memfile_T *mfp, bhdr_T *hp) in mf_trans_add()
1172 mf_trans_del(memfile_T *mfp, blocknr_T old_nr) in mf_trans_del()
1199 mf_set_ffname(memfile_T *mfp) in mf_set_ffname()
1209 mf_fullname(memfile_T *mfp) in mf_fullname()
1223 mf_need_trans(memfile_T *mfp) in mf_need_trans()
1235 memfile_T *mfp, in mf_do_open()