Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derrmap.h62 struct mecherrmap__pair *elts; member
69 arr->elts = calloc(10, sizeof(struct mecherrmap__pair)); in mecherrmap__pairarray_init()
70 if (arr->elts == NULL) in mecherrmap__pairarray_init()
87 upper_bound = SIZE_MAX / sizeof(*arr->elts); in mecherrmap__pairarray_max_size()
96 size_t oldsize = sizeof(*arr->elts) * arr->allocated; in mecherrmap__pairarray_grow()
107 newsize = sizeof(*arr->elts) * newcount; in mecherrmap__pairarray_grow()
108 ptr = realloc(arr->elts, newsize); in mecherrmap__pairarray_grow()
112 arr->elts = ptr; in mecherrmap__pairarray_grow()
122 return arr->elts + idx; in mecherrmap__pairarray_getaddr()
142 free(arr->elts); in mecherrmap__pairarray_destroy()
[all …]
/titanic_44/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c9053 struct pg_elts *elts, int flags) in export_property() argument
9094 if (elts->propvals == NULL) in export_property()
9095 elts->propvals = n; in export_property()
9097 (void) xmlAddSibling(elts->propvals, n); in export_property()
9155 if (elts->properties == NULL) in export_property()
9156 elts->properties = pnode; in export_property()
9158 (void) xmlAddSibling(elts->properties, pnode); in export_property()
9168 struct pg_elts elts; in export_pg() local
9188 (void) memset(&elts, 0, sizeof (elts)); in export_pg()
9213 elts.stability = m; in export_pg()
[all …]
/titanic_44/usr/src/uts/intel/io/drm/
H A Dradeon_state.c2435 drm_radeon_indices_t elts; in radeon_cp_indices() local
2447 DRM_COPYFROM_WITH_RETURN(&elts, (void *)data, sizeof (elts)); in radeon_cp_indices()
2450 DRM_CURRENTPID, elts.idx, elts.start, elts.end, elts.discard); in radeon_cp_indices()
2452 if (elts.idx < 0 || elts.idx >= dma->buf_count) { in radeon_cp_indices()
2454 elts.idx, dma->buf_count - 1); in radeon_cp_indices()
2457 if (elts.prim < 0 || elts.prim > RADEON_PRIM_TYPE_3VRT_LINE_LIST) { in radeon_cp_indices()
2458 DRM_ERROR("buffer prim %d\n", elts.prim); in radeon_cp_indices()
2465 buf = dma->buflist[elts.idx]; in radeon_cp_indices()
2473 DRM_ERROR("sending pending buffer %d\n", elts.idx); in radeon_cp_indices()
2478 elts.start -= RADEON_INDEX_PRIM_OFFSET; in radeon_cp_indices()
[all …]
/titanic_44/usr/src/lib/libtnf/
H A Dabi.c227 tnf_ref32_t *elts; in _tnf_get_element_named() local
231 elts = (tnf_ref32_t *)_tnf_get_elements(tnf, array); in _tnf_get_element_named()
236 if ((type_elt = _GET_REF32(tnf, &elts[i])) == TNF_NULL) { in _tnf_get_element_named()