Lines Matching refs:tdb_len_t

117 typedef u32 tdb_len_t;  typedef
171 tdb_len_t rec_len; /* total byte length of record */
172 tdb_len_t key_len; /* byte length of key */
173 tdb_len_t data_len; /* byte length of data */
215 int (*tdb_read)(struct tdb_context *, tdb_off_t , void *, tdb_len_t , int );
216 int (*tdb_write)(struct tdb_context *, tdb_off_t, const void *, tdb_len_t);
227 tdb_len_t map_size; /* how much space has been mapped */
249 tdb_len_t real_map_size; /* how much space has been mapped */
270 static tdb_off_t tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct list_struct *rec);
278 static unsigned char *tdb_alloc_read(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t len);
280 tdb_off_t offset, tdb_len_t len,
876 const void *buf, tdb_len_t len) in tdb_write()
914 tdb_len_t len, int cv) in tdb_read()
1138 unsigned char *tdb_alloc_read(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t len) in tdb_alloc_read()
1164 tdb_off_t offset, tdb_len_t len, in tdb_parse_data()
1299 tdb_len_t length;
1332 tdb_len_t old_map_size;
1341 tdb_len_t len, int cv) in transaction_read()
1347 tdb_len_t partial; in transaction_read()
1402 const void *buf, tdb_len_t len) in transaction_write()
1420 tdb_len_t partial; in transaction_write()
1748 static int transaction_sync(struct tdb_context *tdb, tdb_off_t offset, tdb_len_t length) in transaction_sync()
1774 static tdb_len_t tdb_recovery_size(struct tdb_context *tdb) in tdb_recovery_size()
1777 tdb_len_t recovery_size = 0; in tdb_recovery_size()
1795 tdb_len_t *recovery_size, in tdb_recovery_allocate()
1797 tdb_len_t *recovery_max_size) in tdb_recovery_allocate()
1879 tdb_len_t recovery_size; in transaction_setup_recovery()
2427 static tdb_off_t tdb_allocate_ofs(struct tdb_context *tdb, tdb_len_t length, tdb_off_t rec_ptr, in tdb_allocate_ofs()
2488 tdb_off_t tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct list_struct *rec) in tdb_allocate()
2493 tdb_len_t rec_len; in tdb_allocate()
3427 struct list_struct *r, tdb_len_t length) in tdb_find_dead()