Searched refs:media_list (Results 1 – 1 of 1) sorted by relevance
2833 int *media_list = NULL; in compat_ifmu_ulist() local2843 media_list = (int *)kalloc_data(ifmr->ifm_count * sizeof(int), in compat_ifmu_ulist()2845 if (media_list == NULL) { in compat_ifmu_ulist()2852 error = copyin(user_addr, media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()2862 old_media = media_list[i]; in compat_ifmu_ulist()2873 media_list[i] = new_media; in compat_ifmu_ulist()2877 error = copyout(media_list, user_addr, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()2886 if (media_list != NULL) { in compat_ifmu_ulist()2887 kfree_data(media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()