Searched refs:media_list (Results 1 – 1 of 1) sorted by relevance
2925 int *media_list = NULL; in compat_ifmu_ulist() local2935 media_list = (int *)kalloc_data(ifmr->ifm_count * sizeof(int), in compat_ifmu_ulist()2937 if (media_list == NULL) { in compat_ifmu_ulist()2944 error = copyin(user_addr, media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()2954 old_media = media_list[i]; in compat_ifmu_ulist()2965 media_list[i] = new_media; in compat_ifmu_ulist()2969 error = copyout(media_list, user_addr, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()2978 if (media_list != NULL) { in compat_ifmu_ulist()2979 kfree_data(media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()