Home
last modified time | relevance | path

Searched refs:media_list (Results 1 – 1 of 1) sorted by relevance

/xnu-8020.101.4/bsd/net/
H A Dif.c2830 int *media_list = NULL; in compat_ifmu_ulist() local
2840 media_list = (int *)kalloc_data(ifmr->ifm_count * sizeof(int), in compat_ifmu_ulist()
2842 if (media_list == NULL) { in compat_ifmu_ulist()
2849 error = copyin(user_addr, media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()
2859 old_media = media_list[i]; in compat_ifmu_ulist()
2870 media_list[i] = new_media; in compat_ifmu_ulist()
2874 error = copyout(media_list, user_addr, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()
2883 if (media_list != NULL) { in compat_ifmu_ulist()
2884 kfree_data(media_list, ifmr->ifm_count * sizeof(int)); in compat_ifmu_ulist()