Lines Matching refs:attrs
56 * @param attrs
73 nvlist_t *attrs,
79 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16, NULL);
93 * @param attrs
113 nvlist_t *attrs,
119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) {
130 * @param attrs
147 nvlist_t *attrs,
153 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT32, NULL);
167 * @param attrs
187 nvlist_t *attrs,
193 if ((error = nvlist_add_uint32(attrs, which, val)) != 0) {
204 * @param attrs
221 nvlist_t *attrs,
227 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT64, NULL);
241 * @param attrs
261 nvlist_t *attrs,
267 if ((error = nvlist_add_uint64(attrs, which, val)) != 0) {
278 * @param attrs
298 nvlist_t *attrs,
306 return (set_uint16(attrs, which, val == B_TRUE ? 1 : 0));
312 * @param attrs
329 nvlist_t *attrs,
340 if ((error = get_uint16(attrs, which, &val)) == 0) {
350 * @param attrs
367 nvlist_t *attrs,
373 nvlist_walk_nvpair(attrs, which, DATA_TYPE_STRING, NULL);
387 * @param attrs
407 nvlist_t *attrs,
413 if ((error = nvlist_add_string(attrs, which, val)) != 0) {
424 * @param attrs
444 nvlist_t *attrs,
451 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16_ARRAY, NULL);
465 * @param attrs
488 nvlist_t *attrs,
496 attrs, which, val, nelem)) != 0) {
508 * @param attrs
528 nvlist_t *attrs,
535 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT64_ARRAY, NULL);
549 * @param attrs
572 nvlist_t *attrs,
580 attrs, which, val, nelem)) != 0) {
592 * @param attrs
612 nvlist_t *attrs,
619 nvlist_walk_nvpair(attrs, which, DATA_TYPE_STRING_ARRAY, NULL);
633 * @param attrs
656 nvlist_t *attrs,
664 attrs, which, val, nelem)) != 0) {