Searched refs:new_ibendport (Results 1 – 1 of 1) sorted by relevance
235 sepol_ibendport_t *new_ibendport = NULL; in hidden_def() local237 if (sepol_ibendport_create(handle, &new_ibendport) < 0) in hidden_def()240 if (sepol_ibendport_alloc_ibdev_name(handle, &new_ibendport->ibdev_name) < 0) in hidden_def()243 strncpy(new_ibendport->ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX); in hidden_def()244 new_ibendport->port = ibendport->port; in hidden_def()247 (sepol_context_clone(handle, ibendport->con, &new_ibendport->con) < 0)) in hidden_def()250 *ibendport_ptr = new_ibendport; in hidden_def()258 sepol_ibendport_free(new_ibendport); in hidden_def()