Searched refs:tmp_iface (Results 1 - 2 of 2) sorted by relevance

/external/libsepol/src/
H A Dinterfaces.c17 ocontext_t *tmp_iface = NULL; local
20 tmp_iface = (ocontext_t *) calloc(1, sizeof(ocontext_t));
21 if (!tmp_iface)
25 tmp_iface->u.name = strdup(sepol_iface_get_name(record));
26 if (!tmp_iface->u.name)
33 context_cpy(&tmp_iface->context[0], tmp_con);
42 context_cpy(&tmp_iface->context[1], tmp_con);
47 *iface = tmp_iface;
54 if (tmp_iface != NULL) {
55 free(tmp_iface
[all...]
H A Diface_record.c92 sepol_iface_t *tmp_iface = local
95 if (!tmp_iface) {
101 tmp_iface->name = NULL;
102 tmp_iface->netif_con = NULL;
103 tmp_iface->netmsg_con = NULL;
104 *iface = tmp_iface;

Completed in 68 milliseconds