Searched refs:media_list (Results 1 – 1 of 1) sorted by relevance
3196 int *media_list = NULL; in compat_ifmu_ulist() local3206 media_list = (int *)kalloc_data(ifmr->ifm_count * sizeof(int), in compat_ifmu_ulist()3208 if (media_list == NULL) { in compat_ifmu_ulist()3215 error = copyin(user_addr, media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()3225 old_media = media_list[i]; in compat_ifmu_ulist()3236 media_list[i] = new_media; in compat_ifmu_ulist()3240 error = copyout(media_list, user_addr, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()3249 if (media_list != NULL) { in compat_ifmu_ulist()3250 kfree_data(media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()