Searched refs:map_size (Results 1 – 3 of 3) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 228 tdb_len_t map_size; /* how much space has been mapped */ member 840 if (len <= tdb->map_size) in tdb_oob() 847 (int)len, (int)tdb->map_size)); in tdb_oob() 869 tdb->map_size = st.st_size; in tdb_oob() 930 (int)tdb->map_size)); in tdb_read() 974 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap() 990 tdb->map_ptr = mmap(NULL, tdb->map_size, in tdb_mmap() 1001 tdb->map_size, strerror(errno))); in tdb_mmap() 1063 tdb->methods->tdb_oob(tdb, tdb->map_size + 1, 1); in tdb_expand() 1067 size = TDB_ALIGN(tdb->map_size + size*10, tdb->page_size) - tdb->map_size; in tdb_expand() [all …]
|
/external/ppp/pppd/ |
D | tdb.c | 115 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap() 131 tdb->map_ptr = mmap(NULL, tdb->map_size, in tdb_mmap() 142 tdb->map_size, strerror(errno))); in tdb_mmap() 332 if (len <= tdb->map_size) in tdb_oob() 339 (int)len, (int)tdb->map_size)); in tdb_oob() 360 tdb->map_size = st.st_size; in tdb_oob() 640 if (right + sizeof(*rec) <= tdb->map_size) { 780 tdb_oob(tdb, tdb->map_size + 1, 1); 784 size = TDB_ALIGN(tdb->map_size + size*10, TDB_PAGE_SIZE) - tdb->map_size; 797 if (expand_file(tdb, tdb->map_size, size) != 0) [all …]
|
D | tdb.h | 104 tdb_len map_size; /* how much space has been mapped */ member
|