/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 42 log_put(dblp, lsn, dbt, flags) 44 DB_LSN *lsn; 58 ret = __log_put(dblp, lsn, dbt, flags); 70 __log_put(dblp, lsn, dbt, flags) 72 DB_LSN *lsn; 91 lsn->file = lp->lsn.file; 92 lsn->offset = lp->lsn.offset; 97 if (lp->lsn [all...] |
H A D | log.c | 115 lp->lsn.file = 1; 116 lp->lsn.offset = 0; 181 DB_LSN lsn; local 203 lp->lsn.file = cnt + 1; 204 lp->lsn.offset = 0; 205 lsn.file = cnt; 206 lsn.offset = 0; 210 if ((ret = __log_get(dblp, &lsn, &dbt, DB_SET, 0)) != 0) 218 while (__log_get(dblp, &lsn, &dbt, DB_NEXT, 1) == 0) { 223 lp->chkpt_lsn = lsn; [all...] |
H A D | log_get.c | 160 nlsn.file = lp->lsn.file; 161 nlsn.offset = lp->lsn.offset - lp->len; 170 if (nlsn.file > lp->lsn.file || 171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp->lsn.offset)) 181 if (nlsn.file == lp->lsn.file && nlsn.offset >= lp->w_off) { 220 if (flags != DB_NEXT || nlsn.file == lp->lsn.file) 303 /* Update the cursor and the return lsn. */
|
H A D | log_archive.c | 187 DB_LSN lsn; local 202 for (n = 0, ret = log_get(dblp, &lsn, &rec, DB_FIRST); 203 ret == 0; ret = log_get(dblp, &lsn, &rec, DB_NEXT)) {
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_apprec.c | 47 DB_LSN ckp_lsn, first_lsn, lsn, open_lsn; local 125 * Now, ckp_lsn is either the lsn of the last checkpoint or the lsn 128 * pass from that lsn, and proceed to the end of the log. 130 lsn = open_lsn; 134 &data, &lsn, TXN_OPENFILES, txninfo); 137 &data, &lsn, TXN_OPENFILES, txninfo); 140 if ((ret = log_get(lp, &lsn, &data, DB_NEXT)) != 0) { 172 for (ret = log_get(lp, &lsn, &data, DB_LAST); 173 ret == 0 && log_compare(&lsn, [all...] |
H A D | db_conv.c | 115 M_32_SWAP(h->lsn.file); 116 M_32_SWAP(h->lsn.offset); 246 M_32_SWAP(h->lsn.file); 247 M_32_SWAP(h->lsn.offset);
|
H A D | db_auto.c | 613 fileid, pgno, adjust, lsn) 621 DB_LSN * lsn; 640 + sizeof(*lsn); 657 if (lsn != NULL) 658 memcpy(bp, lsn, sizeof(*lsn)); 660 memset(bp, 0, sizeof(*lsn)); 661 bp += sizeof(*lsn); 709 (u_long)argp->lsn.file, (u_long)argp->lsn [all...] |
H A D | db_rec.c | 361 if (log_compare(&LSN(pagep), &argp->lsn) == 0 && redo) { 365 pagep->lsn = *lsnp; 371 pagep->lsn = argp->lsn; 425 if (log_compare(&LSN(pagep), &argp->lsn) == 0 && redo) { 427 pagep->lsn = *lsnp; 434 pagep->lsn = argp->lsn; 455 pagep->lsn = *lsnp; 462 pagep->lsn [all...] |
H A D | db_dup.c | 564 nlsnp = &np->lsn; 575 plsnp = &pp->lsn; 581 &pagep->lsn, 0, add_rem, dbp->log_fileid, 582 pagep->pgno, &pagep->lsn, 586 np->lsn = pagep->lsn; 588 pp->lsn = pagep->lsn;
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | db_auto.h | 63 DB_LSN lsn; member in struct:_db_ovref_args 76 DB_LSN lsn; member in struct:_db_relink_args 92 DB_LSN lsn; member in struct:_db_addpage_args
|
H A D | btree_auto.h | 83 DB_LSN lsn; member in struct:_bam_adj_args 98 DB_LSN lsn; member in struct:_bam_cadjust_args 113 DB_LSN lsn; member in struct:_bam_cdel_args 126 DB_LSN lsn; member in struct:_bam_repl_args
|
H A D | db_page.h | 48 DB_LSN lsn; /* 00-07: LSN. */ member in struct:_btmeta 78 DB_LSN lsn; /* 00-07: LSN of the header page */ member in struct:hashhdr 110 * | lsn | pgno | prev pgno | 132 DB_LSN lsn; /* 00-07: Log sequence number. */ member in struct:_db_page 164 #define LSN(p) (((PAGE *)p)->lsn)
|
H A D | log.h | 151 * The lsn LSN is the file offset that we're about to write and which 154 DB_LSN lsn; /* LSN at current file offset. */ member in struct:__log
|
H A D | mp.h | 225 DB_LSN lsn; /* Maximum checkpoint LSN. */ member in struct:__mpool
|
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_page.c | 97 ZERO_LSN(h->lsn); 109 &meta->lsn, 0, dbp->log_fileid, &meta->lsn, &h->lsn, 187 dbc->txn, &meta->lsn, 0, dbp->log_fileid, h->pgno, 188 &meta->lsn, &ldbt, meta->free)) != 0) { 203 __lsn = h->lsn; 206 h->lsn = __lsn;
|
H A D | btree_auto.c | 763 fileid, pgno, lsn, indx, indx_copy, is_insert) 770 DB_LSN * lsn; 791 + sizeof(*lsn) 809 if (lsn != NULL) 810 memcpy(bp, lsn, sizeof(*lsn)); 812 memset(bp, 0, sizeof(*lsn)); 813 bp += sizeof(*lsn); 866 (u_long)argp->lsn.file, (u_long)argp->lsn [all...] |
H A D | bt_rec.c | 94 pagep->lsn = *lsnp; 101 pagep->lsn = argp->page_lsn; 115 meta->lsn = *lsnp; 120 meta->lsn = argp->meta_lsn; 185 pagep->lsn = *lsnp; 215 meta->lsn = *lsnp; 221 meta->lsn = argp->meta_lsn; 346 lp->lsn = *lsnp; 361 rp->lsn = *lsnp; 386 pp->lsn [all...] |
H A D | bt_open.c | 252 ZERO_LSN(meta->lsn); 283 ZERO_LSN(root->lsn);
|
H A D | bt_delete.c | 534 &child->lsn, 0, dbp->log_fileid, child->pgno, &a, 535 RE_NREC(parent), &b, &parent->lsn);
|
/osnet-11/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_rec.c | 498 cmp_n = log_compare(lsnp, &hcp->hdr->lsn); 499 cmp_p = log_compare(&hcp->hdr->lsn, &argp->metalsn); 524 hcp->hdr->lsn = redo ? *lsnp : argp->metalsn; 621 cmp_n = log_compare(lsnp, &hcp->hdr->lsn); 622 cmp_p = log_compare(&hcp->hdr->lsn, &argp->metalsn); 651 hcp->hdr->lsn = redo ? *lsnp : argp->metalsn; 788 cmp_n = log_compare(lsnp, &hcp->hdr->lsn); 789 cmp_p = log_compare(&hcp->hdr->lsn, &argp->metalsn); 795 hcp->hdr->lsn = *lsnp; 800 hcp->hdr->lsn [all...] |
H A D | hash_page.c | 682 /* Move lsn onto page. */ 737 /* Move lsn onto page. */ 796 /* Move lsn onto page. */ 1355 /* Move lsn onto page. */ 1451 /* Move lsn onto page. */ 1524 &LSN(pagep), &hcp->hdr->lsn)) != 0) 1527 hcp->hdr->lsn = new_lsn; 1536 __lsn = pagep->lsn; 1539 pagep->lsn = __lsn; 1658 0, newalloc_flag, type, lsnp, &hcp->hdr->lsn)) ! [all...] |
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_sync.c | 79 if (!F_ISSET(mp, MP_LSN_RETRY) && log_compare(lsnp, &mp->lsn) <= 0) { 81 *lsnp = mp->lsn; 107 mp->lsn = *lsnp;
|
H A D | mp_bh.c | 265 DB_LSN lsn; local 318 memcpy(&lsn, bhp->buf + mfp->lsn_off, sizeof(DB_LSN)); 321 if (lg_info != NULL && (ret = log_flush(lg_info, &lsn)) != 0)
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | logfile.c | 330 * @lsn: [OUT] set to the current logfile lsn on success 343 * Similarly, if @lsn is not NULL, on success *@lsn will be set to the current 344 * logfile lsn according to this restart page. On failure, *@lsn is undefined. 353 LSN *lsn) 429 if (lsn) { 431 *lsn = sle64_to_cpu(ra->current_lsn); 433 *lsn 351 ntfs_check_and_load_restart_page(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
H A D | Select.pm | 349 $lsn = new IO::Socket::INET(Listen => 1, LocalPort => 8080); 350 $sel = new IO::Select( $lsn ); 354 if($fh == $lsn) { 356 $new = $lsn->accept;
|