Searched refs:num_decls (Results 1 – 4 of 4) sorted by relevance
43 uint32_t num_decls; member2296 uint32_t items, num_decls = 0; in prepare_module() local2327 if (decl->decl_id > num_decls) { in prepare_module()2328 num_decls = decl->decl_id; in prepare_module()2332 num_decls++; in prepare_module()2333 if ((module->avdecl_map = calloc(num_decls, sizeof(uint32_t))) == NULL) { in prepare_module()2337 module->num_decls = num_decls; in prepare_module()2582 num_mod_decls += modules[i]->num_decls; in link_modules()
1000 int num_decls = 0; in policydb_index_decls() local1007 num_decls++; in policydb_index_decls()1012 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); in policydb_index_decls()3472 uint32_t num_decls; in avrule_block_read() local3485 num_decls = le32_to_cpu(buf[0]); in avrule_block_read()3486 while (num_decls > 0) { in avrule_block_read()3515 num_decls--; in avrule_block_read()
1783 uint32_t num_decls = 0; in avrule_block_write() local1787 num_decls++; in avrule_block_write()1789 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
328 * Fixed avrule_block_write num_decls endian bug.