/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 138 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) argument 148 #define TDB_LOG(x) tdb->log.log_fn x 160 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 162 #define DOCONV() (tdb->flags & TDB_CONVERT) 254 static int tdb_munmap(struct tdb_context *tdb); 255 static void tdb_mmap(struct tdb_context *tdb); 256 static int tdb_lock(struct tdb_context *tdb, int list, int ltype); 257 static int tdb_unlock(struct tdb_context *tdb, int list, int ltype); 258 static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pro… 259 static int tdb_transaction_lock(struct tdb_context *tdb, int ltype); [all …]
|
D | tdb.h | 51 #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret) 151 void tdb_set_max_dead(struct tdb_context *tdb, int max_dead); 153 int tdb_reopen(struct tdb_context *tdb); 155 void tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx); 156 enum TDB_ERROR tdb_error(struct tdb_context *tdb); 157 const char *tdb_errorstr(struct tdb_context *tdb); 158 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key); 159 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key, 163 int tdb_delete(struct tdb_context *tdb, TDB_DATA key); 164 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag); [all …]
|
D | tdbtool.c | 104 static TDB_CONTEXT *tdb; variable 189 if (tdb) tdb_close(tdb); in create_tdb() 190 tdb = tdb_open(tdbname, 0, TDB_CLEAR_IF_FIRST, in create_tdb() 192 if (!tdb) { in create_tdb() 199 if (tdb) tdb_close(tdb); in open_tdb() 200 tdb = tdb_open(tdbname, 0, 0, O_RDWR, 0600); in open_tdb() 201 if (!tdb) { in open_tdb() 220 if (tdb_store(tdb, key, dbuf, TDB_INSERT) == -1) { in insert_tdb() 245 print_rec(tdb, key, dbuf, NULL); in store_tdb() 247 if (tdb_store(tdb, key, dbuf, TDB_REPLACE) == -1) { in store_tdb() [all …]
|
D | undo_io.c | 60 TDB_CONTEXT *tdb; member 137 TDB_CONTEXT *tdb) in write_file_system_identity() argument 161 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity() 163 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity() 172 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity() 174 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity() 182 static errcode_t write_block_size(TDB_CONTEXT *tdb, int block_size) in write_block_size() argument 192 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_block_size() 194 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_block_size() 215 if (data->tdb == NULL) { in undo_write_tdb() [all …]
|
D | icount.c | 60 TDB_CONTEXT *tdb; member 84 if (icount->tdb) in ext2fs_free_icount() 85 tdb_close(icount->tdb); in ext2fs_free_icount() 209 icount->tdb = tdb_open(fn, num_inodes, TDB_NOLOCK | TDB_NOSYNC, in ext2fs_create_icount_tdb() 211 if (icount->tdb) { in ext2fs_create_icount_tdb() 402 if (icount->tdb) { in set_inode_count() 408 if (tdb_store(icount->tdb, key, data, TDB_REPLACE)) in set_inode_count() 409 return tdb_error(icount->tdb) + in set_inode_count() 412 if (tdb_delete(icount->tdb, key)) in set_inode_count() 413 return tdb_error(icount->tdb) + in set_inode_count() [all …]
|
D | Android.mk | 65 tdb.c \
|
D | Makefile.in | 83 tdb.o \ 158 $(srcdir)/tdb.c \ 174 tdb.h qcow2.h 293 $(Q) $(CC) -o ext2_tdbtool tdbtool.o tdb.o 737 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/tdb.h 900 tdb.o: $(srcdir)/tdb.c $(top_builddir)/lib/config.h \ 901 $(top_builddir)/lib/dirpaths.h $(srcdir)/tdb.h 939 $(top_builddir)/lib/dirpaths.h $(srcdir)/tdb.h $(srcdir)/ext2_fs.h \
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 9 -int tdb_munmap(struct tdb_context *tdb); 10 -void tdb_mmap(struct tdb_context *tdb); 11 -int tdb_lock(struct tdb_context *tdb, int list, int ltype); 12 -int tdb_unlock(struct tdb_context *tdb, int list, int ltype); 13 -int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, si… 14 -int tdb_transaction_lock(struct tdb_context *tdb, int ltype); 15 -int tdb_transaction_unlock(struct tdb_context *tdb); [all …]
|
D | static-functions | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 9 -int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) 10 +static int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) 12 if (tdb->methods->tdb_read(tdb, off, rec, sizeof(*rec),DOCONV()) == -1)
|
D | ext2tdb-rename | 1 Index: tdb/tdb.h 3 --- tdb.orig/tdb.h 4 +++ tdb/tdb.h 9 +/* ext2fs tdb renames */
|
D | replace-includes | 1 Index: tdb/tdb.c 3 --- tdb.orig/tdb.c 4 +++ tdb/tdb.c 90 #include "tdb.h"
|
D | copyright | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 19 ** NOTE! The following LGPL license applies to the tdb
|
D | tdbtool-includes | 28 #include "tdb.h"
|
/external/clang/lib/Headers/ |
D | htmxlintrin.h | 230 __TM_begin (void* const tdb) in __TM_begin() argument 232 return __builtin_tbegin_nofloat (tdb); in __TM_begin() 263 struct __htm_tdb *tdb = (struct __htm_tdb*)tdb_ptr; in __TM_nesting_depth() local 268 if (tdb->format != 1) in __TM_nesting_depth() 270 return tdb->nesting_depth; in __TM_nesting_depth() 278 struct __htm_tdb *tdb = (struct __htm_tdb*)tdb_ptr; in __TM_is_user_abort() local 280 if (tdb->format != 1) in __TM_is_user_abort() 283 return !!(tdb->abort_code >= _HTM_FIRST_USER_ABORT_CODE); in __TM_is_user_abort() 289 struct __htm_tdb *tdb = (struct __htm_tdb*)tdb_ptr; in __TM_is_named_user_abort() local 291 if (tdb->format != 1) in __TM_is_named_user_abort() [all …]
|
D | htmintrin.h | 179 __builtin_tbegin_retry_tdb (void *tdb, int retry) in __builtin_tbegin_retry_tdb() argument 183 while ((cc = __builtin_tbegin(tdb)) == _HTM_TBEGIN_TRANSIENT in __builtin_tbegin_retry_tdb() 190 #define __builtin_tbegin_retry(tdb, retry) \ argument 191 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 193 __builtin_tbegin_retry_tdb(tdb, retry)) 208 __builtin_tbegin_retry_nofloat_tdb (void *tdb, int retry) in __builtin_tbegin_retry_nofloat_tdb() argument 212 while ((cc = __builtin_tbegin_nofloat(tdb)) == _HTM_TBEGIN_TRANSIENT in __builtin_tbegin_retry_nofloat_tdb() 219 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument 220 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 222 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
|
/external/clang/test/CodeGen/ |
D | builtins-systemz.c | 12 void test_htm1(struct __htm_tdb *tdb, int reg, int *mem, uint64_t *mem64) { in test_htm1() argument 19 __builtin_tbegin (tdb); in test_htm1() 28 __builtin_tbegin_nofloat (tdb); in test_htm1() 39 __builtin_tbegin_retry (tdb, 6); in test_htm1() 52 __builtin_tbegin_retry_nofloat (tdb, 6); in test_htm1() 115 void * const tdb = &tdb_struct; in test_htmxl1() local 121 result = __TM_begin (tdb); in test_htmxl1() 131 result = __TM_nesting_depth (tdb); in test_htmxl1() 134 result = __TM_is_user_abort (tdb); in test_htmxl1() 135 result = __TM_is_named_user_abort (tdb, &code); in test_htmxl1() [all …]
|
/external/e2fsprogs/lib/ext2fs/tdb/ |
D | build-tdb | 7 BASE_DIR=/usr/projects/samba/tdb 15 echo "/*" > tdb.c 16 grep ^URL .svninfo >> tdb.c 17 grep "^Last Changed Rev" .svninfo | sed -e 's/Last Changed //' >> tdb.c 18 grep "^Last Changed Date" .svninfo >> tdb.c 19 echo "*/" >> tdb.c 21 cat $BASE_DIR/common/tdb_private.h >> tdb.c 23 if [ `tail -n 1 tdb.c | wc -c` -gt 1 ]; then 24 printf "\n" >> tdb.c 26 echo "/* file: $i */" >> tdb.c [all …]
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 39 static int check_filesystem(TDB_CONTEXT *tdb, io_channel channel) in check_filesystem() argument 57 tdb_data = tdb_fetch(tdb, tdb_key); in check_filesystem() 59 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in check_filesystem() 61 _("Failed tdb_fetch %s\n"), tdb_errorstr(tdb)); in check_filesystem() 78 tdb_data = tdb_fetch(tdb, tdb_key); in check_filesystem() 80 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in check_filesystem() 82 _("Failed tdb_fetch %s\n"), tdb_errorstr(tdb)); in check_filesystem() 95 static int set_blk_size(TDB_CONTEXT *tdb, io_channel channel) in set_blk_size() argument 103 tdb_data = tdb_fetch(tdb, tdb_key); in set_blk_size() 105 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in set_blk_size() [all …]
|
D | Makefile.in | 699 $(top_builddir)/lib/dirpaths.h $(top_srcdir)/lib/ext2fs/tdb.h \
|
/external/e2fsprogs/e2fsck/ |
D | dirinfo.c | 23 TDB_CONTEXT *tdb; member 66 db->tdb = NULL; in setup_tdb() 73 db->tdb = tdb_open(db->tdb_fn, num_dirs, TDB_NOLOCK | TDB_NOSYNC, in setup_tdb() 98 if (db->tdb) { in setup_db() 148 if (db->tdb) { in e2fsck_add_dir_info() 197 if (db->tdb) { in e2fsck_get_dir_info() 203 data = tdb_fetch(db->tdb, key); in e2fsck_get_dir_info() 205 if (tdb_error(db->tdb) != TDB_ERR_NOEXIST) in e2fsck_get_dir_info() 207 tdb_errorstr(db->tdb)); in e2fsck_get_dir_info() 275 if (!db->tdb) in e2fsck_put_dir_info() [all …]
|
D | Makefile.in | 470 $(top_srcdir)/lib/ext2fs/tdb.h
|
/external/llvm/test/Object/ |
D | nm-trivial-object.test | 24 RUN: | FileCheck %s -check-prefix macho-tdb 104 macho-tdb: 0000000000000030 s EH_frame0 105 macho-tdb: 0000000000000070 b _b 106 macho-tdb: 000000000000000c D _d 107 macho-tdb: 0000000000000000 T _t 108 macho-tdb: 0000000000000048 S _t.eh
|
/external/ppp/pppd/ |
D | Makefile.linux | 172 PPPDSRCS += tdb.c spinlock.c 173 PPPDOBJS += tdb.o spinlock.o 174 HEADERS += tdb.h spinlock.h
|
D | README.google | 2 Removed multilink.c, spinlock.[ch], tdb.[ch] as they are unused.
|
/external/selinux/policycoreutils/restorecond/ |
D | restorecond.conf | 3 /etc/samba/secrets.tdb
|