Lines Matching defs:nelements
1923 ddi_prop_fm_decode_int(prop_handle_t *ph, void *data, uint_t *nelements)
1950 *nelements = 1;
1958 ddi_prop_fm_decode_int64(prop_handle_t *ph, void *data, uint_t *nelements)
1985 *nelements = 1;
1993 ddi_prop_fm_decode_ints(prop_handle_t *ph, void *data, uint_t *nelements)
2057 *nelements = cnt;
2067 ddi_prop_fm_decode_int64_array(prop_handle_t *ph, void *data, uint_t *nelements)
2131 *nelements = cnt;
2141 ddi_prop_fm_encode_ints(prop_handle_t *ph, void *data, uint_t nelements)
2151 if (nelements == 0)
2172 if (ddi_prop_encode_alloc(ph, size * nelements) !=
2180 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2201 ddi_prop_fm_encode_int64(prop_handle_t *ph, void *data, uint_t nelements)
2211 if (nelements == 0)
2232 if (ddi_prop_encode_alloc(ph, size * nelements) !=
2240 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2260 ddi_prop_fm_decode_string(prop_handle_t *ph, void *data, uint_t *nelements)
2315 *nelements = 1;
2324 ddi_prop_fm_decode_strings(prop_handle_t *ph, void *data, uint_t *nelements)
2445 *nelements = cnt;
2454 ddi_prop_fm_encode_string(prop_handle_t *ph, void *data, uint_t nelements)
2463 if (nelements == 0)
2512 ddi_prop_fm_encode_strings(prop_handle_t *ph, void *data, uint_t nelements)
2523 if (nelements == 0)
2531 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2557 for (cnt = 0; cnt < nelements; cnt++, tmp++) {
2578 ddi_prop_fm_decode_bytes(prop_handle_t *ph, void *data, uint_t *nelements)
2630 *nelements = nbytes;
2639 ddi_prop_fm_encode_bytes(prop_handle_t *ph, void *data, uint_t nelements)
2648 if (nelements == 0) {
2657 nelements);
2678 nelements);
3118 uint_t nelements)
3126 ph->ph_size < nelements ||
3128 ph->ph_size - nelements)))
3134 bcopy(ph->ph_cur_pos, data, nelements);
3139 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3147 ph->ph_size < nelements ||
3149 ph->ph_size - nelements)))
3155 bcopy(data, ph->ph_cur_pos, nelements);
3161 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3169 ph->ph_size < nelements)
3173 ph->ph_size - nelements))
3179 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
3187 return (nelements);
3193 return (nelements);
3433 char *name, void *data, uint_t nelements,
3434 int (*prop_create)(prop_handle_t *, void *data, uint_t nelements))
3479 if ((rval = (*prop_create)(&ph, data, nelements)) !=
3606 uint_t flags, char *name, void *data, uint_t *nelements,
3607 int (*prop_decoder)(prop_handle_t *, void *data, uint_t *nelements))
3656 rval = (*prop_decoder)(&ph, data, nelements);
3673 uint_t flags, char *name, void *data, uint_t *nelements,
3674 int (*prop_decoder)(prop_handle_t *, void *data, uint_t *nelements))
3678 data, nelements, prop_decoder));
3703 char *name, void *data, uint_t nelements,
3704 int (*prop_create)(prop_handle_t *, void *data, uint_t nelements))
3707 name, data, nelements, prop_create));
3722 uint_t nelements;
3739 (flags | DDI_PROP_TYPE_INT), name, &data, &nelements,
3761 uint_t nelements;
3778 name, &data, &nelements, ddi_prop_fm_decode_int64))
3793 char *name, int **data, uint_t *nelements)
3811 nelements, ddi_prop_fm_decode_ints));
3819 char *name, int64_t **data, uint_t *nelements)
3836 name, data, nelements, ddi_prop_fm_decode_int64_array));
3887 char *name, int *data, uint_t nelements)
3890 name, data, nelements, ddi_prop_fm_encode_ints));
3899 char *name, int64_t *data, uint_t nelements)
3902 name, data, nelements, ddi_prop_fm_encode_int64));
3907 char *name, int64_t *data, uint_t nelements)
3911 name, data, nelements, ddi_prop_fm_encode_int64));
3916 char *name, int *data, uint_t nelements)
3920 name, data, nelements, ddi_prop_fm_encode_ints));
3956 char *name, char ***data, uint_t *nelements)
3974 nelements, ddi_prop_fm_decode_strings));
4004 char *name, char **data, uint_t nelements)
4007 DDI_PROP_TYPE_STRING, name, data, nelements,
4013 char *name, char **data, uint_t nelements)
4017 name, data, nelements,
4027 char *name, uchar_t **data, uint_t *nelements)
4045 nelements, ddi_prop_fm_decode_bytes));
4053 char *name, uchar_t *data, uint_t nelements)
4055 if (nelements == 0)
4059 name, data, nelements, ddi_prop_fm_encode_bytes));
4065 char *name, uchar_t *data, uint_t nelements)
4067 if (nelements == 0)
4072 name, data, nelements, ddi_prop_fm_encode_bytes));