Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libidmap/common/
H A Dutils.c60 _udt_extend_batch(idmap_udt_handle_t *udthandle) in _udt_extend_batch() argument
65 if (udthandle->next >= udthandle->batch.idmap_update_batch_len) { in _udt_extend_batch()
66 nsize = (udthandle->batch.idmap_update_batch_len + in _udt_extend_batch()
69 udthandle->batch.idmap_update_batch_val, nsize); in _udt_extend_batch()
73 (udthandle->batch.idmap_update_batch_len * in _udt_extend_batch()
76 udthandle->batch.idmap_update_batch_val = tmplist; in _udt_extend_batch()
77 udthandle->batch.idmap_update_batch_len += _UDT_SIZE_INCR; in _udt_extend_batch()
79 udthandle->batch.idmap_update_batch_val[udthandle->next].opnum = in _udt_extend_batch()
H A Didmap_api.c157 idmap_udt_create(idmap_udt_handle_t **udthandle) in idmap_udt_create() argument
161 if (udthandle == NULL) { in idmap_udt_create()
170 *udthandle = tmp; in idmap_udt_create()
186 idmap_udt_commit(idmap_udt_handle_t *udthandle) in idmap_udt_commit() argument
191 if (udthandle == NULL) { in idmap_udt_commit()
199 (xdrproc_t)xdr_idmap_update_batch, (caddr_t)&udthandle->batch, in idmap_udt_commit()
205 retcode = udthandle->commit_stat = res.retcode; in idmap_udt_commit()
206 udthandle->error_index = res.error_index; in idmap_udt_commit()
210 if (udthandle->error_index < 0) in idmap_udt_commit()
213 retcode = idmap_namerule_cpy(&udthandle->error_rule, in idmap_udt_commit()
[all …]