Searched refs:wgd_size (Results 1 – 3 of 3) sorted by relevance
27 size_t wgd_size; member
2502 if (wgd->wgd_size == 0 || wgd->wgd_data == NULL) in wgc_set()2507 if (wgd->wgd_size >= UINT32_MAX / 2) in wgc_set()2510 nvlpacked = malloc(wgd->wgd_size, M_TEMP, M_WAITOK | M_ZERO); in wgc_set()2512 err = copyin(wgd->wgd_data, nvlpacked, wgd->wgd_size); in wgc_set()2515 nvl = nvlist_unpack(nvlpacked, wgd->wgd_size, 0); in wgc_set()2710 if (!wgd->wgd_size) { in wgc_get()2711 wgd->wgd_size = size; in wgc_get()2714 if (wgd->wgd_size < size) { in wgc_get()2719 wgd->wgd_size = size; in wgc_get()
73 wgd.wgd_data = malloc(wgd.wgd_size); in kernel_get_device()83 nvl_device = nvlist_unpack(wgd.wgd_data, wgd.wgd_size, 0); in kernel_get_device()342 wgd.wgd_data = nvlist_pack(nvl_device, &wgd.wgd_size); in kernel_set_device()