Lines Matching refs:newp
450 * `origp' is NULL, then act like add_dn(); if `newp' is NULL, then
454 update_dn(const dn_handle_t *dhp, const dn_rec_t *origp, dn_rec_t *newp)
493 if (origp != NULL && newp != NULL) {
494 if (origp->dn_cip.s_addr != newp->dn_cip.s_addr) {
495 retval = find_dn(fd, 0, query, 1, newp, NULL, &found);
509 if (newp != NULL && origp == NULL) {
510 retval = find_dn(fd, 0, query, 1, newp, NULL, &found);
536 if (newp != NULL || origp->dn_sig != 0) {
580 if (newp != NULL) {
582 newp->dn_sig = gensig();
584 newp->dn_sig = origp->dn_sig + 1;
586 retval = write_rec(newfd, newp, recoff + st.st_size - recnext);
618 modify_dn(void *handle, const dn_rec_t *origp, dn_rec_t *newp)
620 return (update_dn((dn_handle_t *)handle, origp, newp));