Searched refs:media_list (Results 1 – 1 of 1) sorted by relevance
3217 int *media_list = NULL; in compat_ifmu_ulist() local3227 media_list = (int *)kalloc_data(ifmr->ifm_count * sizeof(int), in compat_ifmu_ulist()3229 if (media_list == NULL) { in compat_ifmu_ulist()3236 error = copyin(user_addr, media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()3246 old_media = media_list[i]; in compat_ifmu_ulist()3257 media_list[i] = new_media; in compat_ifmu_ulist()3261 error = copyout(media_list, user_addr, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()3270 if (media_list != NULL) { in compat_ifmu_ulist()3271 kfree_data(media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()