Home
last modified time | relevance | path

Searched refs:db_iop (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c31 __os_io(db_iop, op, niop) in __os_io() argument
32 DB_IO *db_iop; in __os_io()
43 *niop = pread(db_iop->fd_io, db_iop->buf,
44 db_iop->bytes, (off_t)db_iop->pgno * db_iop->pagesize);
49 *niop = pwrite(db_iop->fd_io, db_iop->buf,
50 db_iop->bytes, (off_t)db_iop->pgno * db_iop->pagesize);
53 if (*niop == db_iop->bytes)
57 if (db_iop->mutexp != NULL)
58 (void)__db_mutex_lock(db_iop->mutexp, db_iop->fd_lock);
60 if ((ret = __os_seek(db_iop->fd_io,
[all …]