Lines Matching +defs:version +defs:c
471 int c = 1;
492 "starting with null save=%lu size %d c=%d",
493 (unsigned long)(str - save), size, c);
509 c++;
515 return c;
556 int c, size2 = aa_unpack_strdup(e, &str, NULL);
560 c = process_strs_entry(str, size2, multi);
561 if (c <= 0) {
563 c, i,
567 if (!multi && c > 1) {
568 AA_DEBUG(DEBUG_UNPACK, "!multi && c > 1");
573 table[i].count = c;
861 u32 version;
863 if (!aa_unpack_u32(e, &version, "version") || version != 1) {
864 *info = "invalid tags version";
899 static bool unpack_perm(struct aa_ext *e, u32 version, struct aa_perms *perm)
903 if (version != 1)
935 u32 version;
937 if (!aa_unpack_u32(e, &version, "version"))
947 if (!unpack_perm(e, version, &(*perms)[i]))
974 u32 version = 0;
997 if (aa_unpack_u32(e, &version, "permsv") && version > 2)
1217 if (tmp == PACKED_MODE_COMPLAIN || (e->version & FORCE_COMPLAIN_FLAG)) {
1316 e->version);
1440 /* get the interface version */
1441 if (!aa_unpack_u32(e, &e->version, "version")) {
1449 /* Check that the interface version is currently supported.
1450 * if not specified use previous version
1451 * Mask off everything that is not kernel abi version
1453 if (VERSION_LT(e->version, v5) || VERSION_GT(e->version, v9)) {
1454 audit_iface(NULL, NULL, NULL, "unsupported interface version",
1759 error = aa_calc_profile_hash(profile, e.version, start,
1775 udata->abi = e.version & K_ABI_MASK;