Lines Matching defs:nelements
1922 ddi_prop_fm_decode_int(prop_handle_t *ph, void *data, uint_t *nelements)
1949 *nelements = 1;
1957 ddi_prop_fm_decode_int64(prop_handle_t *ph, void *data, uint_t *nelements)
1984 *nelements = 1;
1992 ddi_prop_fm_decode_ints(prop_handle_t *ph, void *data, uint_t *nelements)
2056 *nelements = cnt;
2066 ddi_prop_fm_decode_int64_array(prop_handle_t *ph, void *data, uint_t *nelements)
2130 *nelements = cnt;
2140 ddi_prop_fm_encode_ints(prop_handle_t *ph, void *data, uint_t nelements)
2150 if (nelements == 0)
2171 if (ddi_prop_encode_alloc(ph, size * nelements) !=
2179 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2200 ddi_prop_fm_encode_int64(prop_handle_t *ph, void *data, uint_t nelements)
2210 if (nelements == 0)
2231 if (ddi_prop_encode_alloc(ph, size * nelements) !=
2239 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2259 ddi_prop_fm_decode_string(prop_handle_t *ph, void *data, uint_t *nelements)
2314 *nelements = 1;
2323 ddi_prop_fm_decode_strings(prop_handle_t *ph, void *data, uint_t *nelements)
2444 *nelements = cnt;
2453 ddi_prop_fm_encode_string(prop_handle_t *ph, void *data, uint_t nelements)
2462 if (nelements == 0)
2511 ddi_prop_fm_encode_strings(prop_handle_t *ph, void *data, uint_t nelements)
2522 if (nelements == 0)
2530 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2556 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2577 ddi_prop_fm_decode_bytes(prop_handle_t *ph, void *data, uint_t *nelements)
2629 *nelements = nbytes;
2638 ddi_prop_fm_encode_bytes(prop_handle_t *ph, void *data, uint_t nelements)
2647 if (nelements == 0) {
2656 nelements);
2677 nelements);
3117 uint_t nelements)
3125 ph->ph_size < nelements ||
3127 ph->ph_size - nelements)))
3133 bcopy(ph->ph_cur_pos, data, nelements);
3138 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3146 ph->ph_size < nelements ||
3148 ph->ph_size - nelements)))
3154 bcopy(data, ph->ph_cur_pos, nelements);
3160 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3168 ph->ph_size < nelements)
3172 ph->ph_size - nelements))
3178 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3186 return (nelements);
3192 return (nelements);
3432 char *name, void *data, uint_t nelements,
3433 int (*prop_create)(prop_handle_t *, void *data, uint_t nelements))
3478 if ((rval = (*prop_create)(&ph, data, nelements)) !=
3605 uint_t flags, char *name, void *data, uint_t *nelements,
3606 int (*prop_decoder)(prop_handle_t *, void *data, uint_t *nelements))
3655 rval = (*prop_decoder)(&ph, data, nelements);
3672 uint_t flags, char *name, void *data, uint_t *nelements,
3673 int (*prop_decoder)(prop_handle_t *, void *data, uint_t *nelements))
3677 data, nelements, prop_decoder));
3702 char *name, void *data, uint_t nelements,
3703 int (*prop_create)(prop_handle_t *, void *data, uint_t nelements))
3706 name, data, nelements, prop_create));
3721 uint_t nelements;
3738 (flags | DDI_PROP_TYPE_INT), name, &data, &nelements,
3760 uint_t nelements;
3777 name, &data, &nelements, ddi_prop_fm_decode_int64))
3792 char *name, int **data, uint_t *nelements)
3810 nelements, ddi_prop_fm_decode_ints));
3818 char *name, int64_t **data, uint_t *nelements)
3835 name, data, nelements, ddi_prop_fm_decode_int64_array));
3886 char *name, int *data, uint_t nelements)
3889 name, data, nelements, ddi_prop_fm_encode_ints));
3898 char *name, int64_t *data, uint_t nelements)
3901 name, data, nelements, ddi_prop_fm_encode_int64));
3906 char *name, int64_t *data, uint_t nelements)
3910 name, data, nelements, ddi_prop_fm_encode_int64));
3915 char *name, int *data, uint_t nelements)
3919 name, data, nelements, ddi_prop_fm_encode_ints));
3955 char *name, char ***data, uint_t *nelements)
3973 nelements, ddi_prop_fm_decode_strings));
4003 char *name, char **data, uint_t nelements)
4006 DDI_PROP_TYPE_STRING, name, data, nelements,
4012 char *name, char **data, uint_t nelements)
4016 name, data, nelements,
4026 char *name, uchar_t **data, uint_t *nelements)
4044 nelements, ddi_prop_fm_decode_bytes));
4052 char *name, uchar_t *data, uint_t nelements)
4054 if (nelements == 0)
4058 name, data, nelements, ddi_prop_fm_encode_bytes));
4064 char *name, uchar_t *data, uint_t nelements)
4066 if (nelements == 0)
4071 name, data, nelements, ddi_prop_fm_encode_bytes));