Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dibendport_record.c35 char *tmp_ibdev_name = NULL; in sepol_ibendport_alloc_ibdev_name() local
37 tmp_ibdev_name = calloc(1, IB_DEVICE_NAME_MAX); in sepol_ibendport_alloc_ibdev_name()
39 if (!tmp_ibdev_name) in sepol_ibendport_alloc_ibdev_name()
42 *ibdev_name = tmp_ibdev_name; in sepol_ibendport_alloc_ibdev_name()
171 char *tmp_ibdev_name = NULL; in hidden_def() local
173 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_ibdev_name) < 0) in hidden_def()
176 strncpy(tmp_ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX); in hidden_def()
177 *ibdev_name = tmp_ibdev_name; in hidden_def()
181 free(tmp_ibdev_name); in hidden_def()