Lines Matching refs:cil_malloc
410 *db = cil_malloc(sizeof(**db)); in cil_db_init()
505 struct cil_root *r = cil_malloc(sizeof(*r)); in cil_root_init()
527 buffer = cil_malloc(size + 2); in cil_add_file()
1400 str_tmp = cil_malloc(str_len * sizeof(char)); in cil_userprefixes_to_string()
1645 str_tmp = cil_malloc(*size+1); in cil_selinuxusers_to_string()
1728 str_tmp = cil_malloc(*size+1); in cil_filecons_to_string()
1984 *sort = cil_malloc(sizeof(**sort)); in cil_sort_init()
2008 *netifcon = cil_malloc(sizeof(**netifcon)); in cil_netifcon_init()
2020 *ibendportcon = cil_malloc(sizeof(**ibendportcon)); in cil_ibendportcon_init()
2030 *context = cil_malloc(sizeof(**context)); in cil_context_init()
2045 *level = cil_malloc(sizeof(**level)); in cil_level_init()
2055 *range = cil_malloc(sizeof(**range)); in cil_levelrange_init()
2066 *sens = cil_malloc(sizeof(**sens)); in cil_sens_init()
2077 *block = cil_malloc(sizeof(**block)); in cil_block_init()
2090 *inherit = cil_malloc(sizeof(**inherit)); in cil_blockinherit_init()
2097 *abstract = cil_malloc(sizeof(**abstract)); in cil_blockabstract_init()
2103 *in = cil_malloc(sizeof(**in)); in cil_in_init()
2111 *class = cil_malloc(sizeof(**class)); in cil_class_init()
2124 *classorder = cil_malloc(sizeof(**classorder)); in cil_classorder_init()
2131 *classcommon = cil_malloc(sizeof(**classcommon)); in cil_classcommon_init()
2139 *sid = cil_malloc(sizeof(**sid)); in cil_sid_init()
2149 *sidcontext = cil_malloc(sizeof(**sidcontext)); in cil_sidcontext_init()
2158 *sidorder = cil_malloc(sizeof(**sidorder)); in cil_sidorder_init()
2165 *userrole = cil_malloc(sizeof(**userrole)); in cil_userrole_init()
2175 *userprefix = cil_malloc(sizeof(**userprefix)); in cil_userprefix_init()
2184 *selinuxuser = cil_malloc(sizeof(**selinuxuser)); in cil_selinuxuser_init()
2195 *roletype = cil_malloc(sizeof(**roletype)); in cil_roletype_init()
2205 *attr = cil_malloc(sizeof(**attr)); in cil_roleattribute_init()
2215 *attrset = cil_malloc(sizeof(**attrset)); in cil_roleattributeset_init()
2224 *attr = cil_malloc(sizeof(**attr)); in cil_typeattribute_init()
2236 *attrset = cil_malloc(sizeof(**attrset)); in cil_typeattributeset_init()
2245 *expandattr = cil_malloc(sizeof(**expandattr)); in cil_expandtypeattribute_init()
2254 *alias = cil_malloc(sizeof(**alias)); in cil_alias_init()
2263 *aliasactual = cil_malloc(sizeof(**aliasactual)); in cil_aliasactual_init()
2271 *typeperm = cil_malloc(sizeof(**typeperm)); in cil_typepermissive_init()
2279 *name = cil_malloc(sizeof(**name)); in cil_name_init()
2287 *nametypetrans = cil_malloc(sizeof(**nametypetrans)); in cil_nametypetransition_init()
2303 *rangetrans = cil_malloc(sizeof(**rangetrans)); in cil_rangetransition_init()
2317 *cilbool = cil_malloc(sizeof(**cilbool)); in cil_bool_init()
2325 *ciltun = cil_malloc(sizeof(**ciltun)); in cil_tunable_init()
2333 *cb = cil_malloc(sizeof(**cb)); in cil_condblock_init()
2341 *bif = cil_malloc(sizeof(**bif)); in cil_boolif_init()
2349 *tif = cil_malloc(sizeof(**tif)); in cil_tunif_init()
2357 *avrule = cil_malloc(sizeof(**avrule)); in cil_avrule_init()
2370 *permx = cil_malloc(sizeof(**permx)); in cil_permissionx_init()
2382 *type_rule = cil_malloc(sizeof(**type_rule)); in cil_type_rule_init()
2397 *role_trans = cil_malloc(sizeof(**role_trans)); in cil_roletransition_init()
2411 *roleallow = cil_malloc(sizeof(**roleallow)); in cil_roleallow_init()
2421 *catset = cil_malloc(sizeof(**catset)); in cil_catset_init()
2429 *senscat = cil_malloc(sizeof(**senscat)); in cil_senscat_init()
2437 *cats = cil_malloc(sizeof(**cats)); in cil_cats_init()
2446 *filecon = cil_malloc(sizeof(**filecon)); in cil_filecon_init()
2456 *ibpkeycon = cil_malloc(sizeof(**ibpkeycon)); in cil_ibpkeycon_init()
2467 *portcon = cil_malloc(sizeof(**portcon)); in cil_portcon_init()
2477 *nodecon = cil_malloc(sizeof(**nodecon)); in cil_nodecon_init()
2489 *genfscon = cil_malloc(sizeof(**genfscon)); in cil_genfscon_init()
2499 *pirqcon = cil_malloc(sizeof(**pirqcon)); in cil_pirqcon_init()
2508 *iomemcon = cil_malloc(sizeof(**iomemcon)); in cil_iomemcon_init()
2518 *ioportcon = cil_malloc(sizeof(**ioportcon)); in cil_ioportcon_init()
2526 *pcidevicecon = cil_malloc(sizeof(**pcidevicecon)); in cil_pcidevicecon_init()
2535 *dtcon = cil_malloc(sizeof(**dtcon)); in cil_devicetreecon_init()
2544 *fsuse = cil_malloc(sizeof(**fsuse)); in cil_fsuse_init()
2554 *constrain = cil_malloc(sizeof(**constrain)); in cil_constrain_init()
2563 *validtrans = cil_malloc(sizeof(**validtrans)); in cil_validatetrans_init()
2573 *ipaddr = cil_malloc(sizeof(**ipaddr)); in cil_ipaddr_init()
2581 *perm = cil_malloc(sizeof(**perm)); in cil_perm_init()
2590 *cp = cil_malloc(sizeof(**cp)); in cil_classpermission_init()
2598 *cps = cil_malloc(sizeof(**cps)); in cil_classpermissionset_init()
2606 *cp_set = cil_malloc(sizeof(**cp_set)); in cil_classperms_set_init()
2613 *cp = cil_malloc(sizeof(**cp)); in cil_classperms_init()
2622 *mapping = cil_malloc(sizeof(**mapping)); in cil_classmapping_init()
2631 *user = cil_malloc(sizeof(**user)); in cil_user_init()
2643 *attr = cil_malloc(sizeof(**attr)); in cil_userattribute_init()
2653 *attrset = cil_malloc(sizeof(**attrset)); in cil_userattributeset_init()
2662 *usrlvl = cil_malloc(sizeof(**usrlvl)); in cil_userlevel_init()
2671 *userrange = cil_malloc(sizeof(**userrange)); in cil_userrange_init()
2680 *role = cil_malloc(sizeof(**role)); in cil_role_init()
2690 *type = cil_malloc(sizeof(**type)); in cil_type_init()
2699 *cat = cil_malloc(sizeof(**cat)); in cil_cat_init()
2708 *catorder = cil_malloc(sizeof(**catorder)); in cil_catorder_init()
2715 *sensorder = cil_malloc(sizeof(**sensorder)); in cil_sensorder_init()
2722 *args = cil_malloc(sizeof(**args)); in cil_args_init()
2731 *call = cil_malloc(sizeof(**call)); in cil_call_init()
2742 *optional = cil_malloc(sizeof(**optional)); in cil_optional_init()
2749 *param = cil_malloc(sizeof(**param)); in cil_param_init()
2757 *macro = cil_malloc(sizeof(**macro)); in cil_macro_init()
2766 *policycap = cil_malloc(sizeof(**policycap)); in cil_policycap_init()
2773 *bounds = cil_malloc(sizeof(**bounds)); in cil_bounds_init()
2781 *def = cil_malloc(sizeof(**def)); in cil_default_init()
2790 *def = cil_malloc(sizeof(**def)); in cil_defaultrange_init()
2798 *unk = cil_malloc(sizeof(**unk)); in cil_handleunknown_init()
2803 *mls = cil_malloc(sizeof(**mls)); in cil_mls_init()
2809 *info = cil_malloc(sizeof(**info)); in cil_src_info_init()