Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/
H A Dnvpair.h79 int16_t nvp_name_sz; /* length of name string */ member
120 + (nvp)->nvp_name_sz))
/titanic_41/usr/src/common/nvpair/
H A Dnvpair.c137 #define NVP_VALOFF(nvp) (NV_ALIGN(sizeof (nvpair_t) + (nvp)->nvp_name_sz))
440 if ((nvp->nvp_name_sz <= 0) || in i_validate_nvpair_name()
441 (nvp->nvp_size < NVP_SIZE_CALC(nvp->nvp_name_sz, 0))) in i_validate_nvpair_name()
445 if (NVP_NAME(nvp)[nvp->nvp_name_sz - 1] != '\0') in i_validate_nvpair_name()
448 return (strlen(NVP_NAME(nvp)) == nvp->nvp_name_sz - 1 ? 0 : EFAULT); in i_validate_nvpair_name()
915 nvp->nvp_name_sz = name_sz; in nvlist_add_common()
2689 if (NVP_SIZE_CALC(nvp->nvp_name_sz, value_sz) > nvp->nvp_size) in nvs_native_nvp_op()
2934 nvp->nvp_name_sz = strlen(buf) + 1; in nvs_xdr_nvp_op()