Searched refs:host_array (Results 1 – 1 of 1) sorted by relevance
3904 static inline abi_long target_to_host_semarray(int semid, unsigned short **host_array, in target_to_host_semarray() argument3921 *host_array = g_try_new(unsigned short, nsems); in target_to_host_semarray()3922 if (!*host_array) { in target_to_host_semarray()3928 g_free(*host_array); in target_to_host_semarray()3933 __get_user((*host_array)[i], &array[i]); in target_to_host_semarray()3941 unsigned short **host_array) in host_to_target_semarray() argument3963 __put_user((*host_array)[i], &array[i]); in host_to_target_semarray()3965 g_free(*host_array); in host_to_target_semarray()