Lines Matching refs:open_flags
241 int open_flags; /* flags used in the open - needed by reopen */ member
3794 int open_flags, mode_t mode) in tdb_open() argument
3796 return tdb_open_ex(name, hash_size, tdb_flags, open_flags, mode, NULL, NULL); in tdb_open()
3807 int open_flags, mode_t mode, in tdb_open_ex() argument
3827 tdb->open_flags = open_flags; in tdb_open_ex()
3842 if ((open_flags & O_ACCMODE) == O_WRONLY) { in tdb_open_ex()
3851 if ((open_flags & O_ACCMODE) == O_RDONLY) { in tdb_open_ex()
3869 if ((tdb->fd = open(name, open_flags, mode)) == -1) { in tdb_open_ex()
3885 open_flags |= O_CREAT; in tdb_open_ex()
3899 if (!(open_flags & O_CREAT) || tdb_new_database(tdb, hash_size) == -1) { in tdb_open_ex()
4085 tdb->fd = open(tdb->name, tdb->open_flags & ~(O_CREAT|O_TRUNC), 0); in tdb_reopen()