Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dnodes.c19 ocontext_t *tmp_node = NULL; in node_from_record() local
23 tmp_node = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in node_from_record()
24 if (!tmp_node) in node_from_record()
39 memcpy(&tmp_node->u.node.addr, addr_buf, addr_bsize); in node_from_record()
40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); in node_from_record()
43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize); in node_from_record()
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record()
59 context_cpy(&tmp_node->context[0], tmp_con); in node_from_record()
64 *node = tmp_node; in node_from_record()
71 if (tmp_node != NULL) { in node_from_record()
[all …]
Dnode_record.c569 sepol_node_t *tmp_node = (sepol_node_t *) malloc(sizeof(sepol_node_t)); in hidden_def() local
571 if (!tmp_node) { in hidden_def()
576 tmp_node->addr = NULL; in hidden_def()
577 tmp_node->addr_sz = 0; in hidden_def()
578 tmp_node->mask = NULL; in hidden_def()
579 tmp_node->mask_sz = 0; in hidden_def()
580 tmp_node->proto = SEPOL_PROTO_IP4; in hidden_def()
581 tmp_node->con = NULL; in hidden_def()
582 *node = tmp_node; in hidden_def()
/external/u-boot/fs/ext4/
Dext4_journal.c230 struct revoke_blk_list *tmp_node; in _get_node() local
231 tmp_node = zalloc(sizeof(struct revoke_blk_list)); in _get_node()
232 if (tmp_node == NULL) in _get_node()
234 tmp_node->content = NULL; in _get_node()
235 tmp_node->next = NULL; in _get_node()
237 return tmp_node; in _get_node()
271 struct revoke_blk_list *tmp_node = revk_blk_list; in ext4fs_free_revoke_blks() local
274 while (tmp_node != NULL) { in ext4fs_free_revoke_blks()
275 if (tmp_node->content) in ext4fs_free_revoke_blks()
276 free(tmp_node->content); in ext4fs_free_revoke_blks()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_binary.c2246 struct cil_tree_node *tmp_node = NULL; in cil_booleanif_to_policydb() local
2305 tmp_node = true_node; in cil_booleanif_to_policydb()
2307 false_node = tmp_node; in cil_booleanif_to_policydb()