Searched refs:tmp_ibpkey (Results 1 – 2 of 2) sorted by relevance
20 ocontext_t *tmp_ibpkey = NULL; in ibpkey_from_record() local26 tmp_ibpkey = (ocontext_t *)calloc(1, sizeof(*tmp_ibpkey)); in ibpkey_from_record()27 if (!tmp_ibpkey) in ibpkey_from_record()30 tmp_ibpkey->u.ibpkey.subnet_prefix = sepol_ibpkey_get_subnet_prefix_bytes(data); in ibpkey_from_record()33 tmp_ibpkey->u.ibpkey.low_pkey = low; in ibpkey_from_record()34 tmp_ibpkey->u.ibpkey.high_pkey = high; in ibpkey_from_record()35 if (tmp_ibpkey->u.ibpkey.low_pkey > tmp_ibpkey->u.ibpkey.high_pkey) { in ibpkey_from_record()37 tmp_ibpkey->u.ibpkey.low_pkey, tmp_ibpkey->u.ibpkey.high_pkey); in ibpkey_from_record()45 context_cpy(&tmp_ibpkey->context[0], tmp_con); in ibpkey_from_record()50 *ibpkey = tmp_ibpkey; in ibpkey_from_record()[all …]
300 sepol_ibpkey_t *tmp_ibpkey = (sepol_ibpkey_t *)malloc(sizeof(sepol_ibpkey_t)); in hidden_def() local302 if (!tmp_ibpkey) { in hidden_def()307 tmp_ibpkey->subnet_prefix = 0; in hidden_def()308 tmp_ibpkey->low = 0; in hidden_def()309 tmp_ibpkey->high = 0; in hidden_def()310 tmp_ibpkey->con = NULL; in hidden_def()311 *ibpkey = tmp_ibpkey; in hidden_def()