Searched refs:maxcsn (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | ctxcsn.c | 42 struct berval *maxcsn, in slap_get_commit_csn() argument 50 if ( maxcsn ) { in slap_get_commit_csn() 51 assert( maxcsn->bv_val != NULL ); in slap_get_commit_csn() 52 assert( maxcsn->bv_len >= LDAP_PVT_CSNSTR_BUFSIZE ); in slap_get_commit_csn() 79 if ( maxcsn ) { in slap_get_commit_csn() 81 if ( committed_csne->ce_csn.bv_len < maxcsn->bv_len ) in slap_get_commit_csn() 82 maxcsn->bv_len = committed_csne->ce_csn.bv_len; in slap_get_commit_csn() 83 AC_MEMCPY( maxcsn->bv_val, committed_csne->ce_csn.bv_val, in slap_get_commit_csn() 84 maxcsn->bv_len+1 ); in slap_get_commit_csn() 86 maxcsn->bv_len = 0; in slap_get_commit_csn() [all …]
|
| H A D | slapcommon.c | 996 if ( maxcsn[ sid ].bv_len ) { in slap_tool_update_ctxcsn() 998 &maxcsn[ sid ], NULL ); in slap_tool_update_ctxcsn() 1046 if ( maxcsn[ sid ].bv_len == 0 ) { in slap_tool_update_ctxcsn() 1053 &maxcsn[ sid ], &attr->a_nvals[i], &text ); in slap_tool_update_ctxcsn() 1059 AC_MEMCPY( maxcsn[ sid ].bv_val, in slap_tool_update_ctxcsn() 1062 maxcsn[ sid ].bv_val[ attr->a_nvals[ i ].bv_len ] = '\0'; in slap_tool_update_ctxcsn() 1063 maxcsn[ sid ].bv_len = attr->a_nvals[ i ].bv_len; in slap_tool_update_ctxcsn() 1082 if ( maxcsn[ sid ].bv_len ) { in slap_tool_update_ctxcsn() 1084 &maxcsn[ sid], NULL ); in slap_tool_update_ctxcsn() 1138 if ( maxcsn[ sid ].bv_len != 0 ) { in slap_tool_update_ctxcsn_check() [all …]
|
| H A D | slapcommon.h | 94 #define maxcsn tool_globals.tv_maxcsn macro
|
| H A D | proto-slap.h | 871 Operation *, struct berval *maxcsn, int *foundit ));
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | syncprov.c | 596 struct berval *maxcsn = op->o_callback->sc_private; in findmax_cb() local 600 if ( a && ber_bvcmp( &a->a_vals[0], maxcsn ) > 0 && in findmax_cb() 602 maxcsn->bv_len = a->a_vals[0].bv_len; in findmax_cb() 603 strcpy( maxcsn->bv_val, a->a_vals[0].bv_val ); in findmax_cb() 684 struct berval maxcsn; in syncprov_findcsn() local 748 cb.sc_private = &maxcsn; in syncprov_findcsn() 751 maxcsn.bv_val = cbuf; in syncprov_findcsn() 752 maxcsn.bv_len = cf.f_av_value.bv_len; in syncprov_findcsn() 815 if ( ber_bvcmp( &si->si_ctxcsn[maxid], &maxcsn )) { in syncprov_findcsn() 818 assert( !syn->ssyn_validate( syn, &maxcsn )); in syncprov_findcsn() [all …]
|
| H A D | accesslog.c | 1924 struct berval maxcsn; in accesslog_response() local 1928 maxcsn.bv_val = cbuf; in accesslog_response() 1929 maxcsn.bv_len = sizeof(cbuf); in accesslog_response() 1934 slap_get_commit_csn( op, &maxcsn, &foundit ); in accesslog_response() 1935 if ( !BER_BVISEMPTY( &maxcsn ) ) { in accesslog_response()
|