Lines Matching refs:upd

34 ulog_sync_update(kdb_hlog_t *ulog, kdb_ent_header_t *upd)  in ulog_sync_update()  argument
45 start = ((ulong_t)upd) & (~(pagesize-1)); in ulog_sync_update()
47 end = (((ulong_t)upd) + ulog->kdb_block + in ulog_sync_update()
138 ulog_add_update(krb5_context context, kdb_incr_update_t *upd) in ulog_add_update() argument
157 if (upd == NULL) in ulog_add_update()
164 upd_size = xdr_sizeof((xdrproc_t)xdr_kdb_incr_update_t, upd); in ulog_add_update()
189 upd->kdb_entry_sno = cur_sno; in ulog_add_update()
200 indx_log->kdb_time = upd->kdb_time = ktime; in ulog_add_update()
201 indx_log->kdb_commit = upd->kdb_commit = FALSE; in ulog_add_update()
207 if (!xdr_kdb_incr_update_t(&xdrs, upd)) in ulog_add_update()
224 i = upd->kdb_entry_sno % ulogentries; in ulog_add_update()
243 ulog_finish_update(krb5_context context, kdb_incr_update_t *upd) in ulog_finish_update() argument
255 i = (upd->kdb_entry_sno - 1) % ulogentries; in ulog_finish_update()
288 ulog_delete_update(krb5_context context, kdb_incr_update_t *upd) in ulog_delete_update() argument
291 upd->kdb_deleted = TRUE; in ulog_delete_update()
293 return (ulog_add_update(context, upd)); in ulog_delete_update()
304 kdb_incr_update_t *upd = NULL, *fupd; in ulog_replay() local
317 upd = incr_ret->updates.kdb_ulog_t_val; in ulog_replay()
318 fupd = upd; in ulog_replay()
339 if (!upd->kdb_commit) in ulog_replay()
342 if (upd->kdb_deleted) { in ulog_replay()
343 dbprincstr = malloc((upd->kdb_princ_name.utf8str_t_len in ulog_replay()
352 (char *)upd->kdb_princ_name.utf8str_t_val, in ulog_replay()
353 (upd->kdb_princ_name.utf8str_t_len + 1)); in ulog_replay()
381 if (retval = ulog_conv_2dbentry(context, entry, upd, 1)) in ulog_replay()
396 upd++; in ulog_replay()
427 kdb_incr_update_t *upd = NULL; in ulog_check() local
454 upd = (kdb_incr_update_t *) in ulog_check()
456 if (upd == NULL) { in ulog_check()
461 (void) memset(upd, 0, sizeof (kdb_incr_update_t)); in ulog_check()
464 if (!xdr_kdb_incr_update_t(&xdrs, upd)) { in ulog_check()
470 incr_ret->updates.kdb_ulog_t_val = upd; in ulog_check()
472 upd->kdb_commit = TRUE; in ulog_check()
485 upd = NULL; in ulog_check()
510 if (upd) in ulog_check()
511 ulog_free_entries(upd, 1); in ulog_check()
713 kdb_incr_update_t *upd; in ulog_get_entries() local
789 upd = ulog_handle->updates.kdb_ulog_t_val; in ulog_get_entries()
791 if (upd == NULL) { in ulog_get_entries()
803 (void) memset(upd, 0, in ulog_get_entries()
808 if (!xdr_kdb_incr_update_t(&xdrs, upd)) { in ulog_get_entries()
818 upd->kdb_commit = indx_log->kdb_commit; in ulog_get_entries()
820 upd++; in ulog_get_entries()