Searched refs:nvpairptr (Results 1 – 1 of 1) sorted by relevance
1646 char *nvpair, *nvpairptr; in zfs_nvlist_lookup_nvlist_array() local1662 nvpairptr = nvpair; in zfs_nvlist_lookup_nvlist_array()1668 nvpairptr = nvpairptr + 4 * 2; in zfs_nvlist_lookup_nvlist_array()1670 while (nvpairptr < nvpair + size in zfs_nvlist_lookup_nvlist_array()1671 && (encode_size = be32_to_cpu(*(uint32_t *) nvpairptr))) in zfs_nvlist_lookup_nvlist_array()1677 if (nvpairptr >= nvpair + size in zfs_nvlist_lookup_nvlist_array()1678 || nvpairptr + be32_to_cpu(*(uint32_t *) (nvpairptr + 4 * 2)) in zfs_nvlist_lookup_nvlist_array()1684 ret = calloc(1, be32_to_cpu(*(uint32_t *) (nvpairptr + 4 * 2)) in zfs_nvlist_lookup_nvlist_array()1690 memcpy(ret + sizeof(uint32_t), nvpairptr, size); in zfs_nvlist_lookup_nvlist_array()