Lines Matching defs:error
101 * @error: error code
103 * Returns: %0 or error
107 int error)
119 aad(&sa)->error = error;
683 int i, error = -EPROTO;
724 error = PTR_ERR(profile->xmatch);
837 error = PTR_ERR(profile->policy.dfa);
841 error = -EPROTO;
862 error = PTR_ERR(profile->file.dfa);
943 audit_iface(profile, NULL, name, info, e, error);
946 return ERR_PTR(error);
955 * Returns: error or 0 if header is good
959 int error = -EPROTONOSUPPORT;
967 e, error);
968 return error;
978 e, error);
979 return error;
986 e, error);
987 return error;
991 error);
1029 * Returns: 0 if passes verification else error
1066 int error;
1082 error = zlib_deflateInit(&strm, aa_g_rawdata_compression_level);
1083 if (error != Z_OK) {
1084 error = -ENOMEM;
1090 error = -ENOMEM;
1099 error = zlib_deflate(&strm, Z_FINISH);
1100 if (error != Z_STREAM_END) {
1101 error = -EINVAL;
1104 error = 0;
1121 error = -ENOMEM;
1132 return error;
1150 int error = deflate_compress(udata, data->size, &data->data,
1152 if (error)
1153 return error;
1170 * or error
1172 * Returns: profile(s) on @lh else error pointer if fails to unpack
1179 int error;
1190 error = verify_header(&e, e.pos == e.start, ns);
1191 if (error)
1197 error = PTR_ERR(profile);
1201 error = verify_profile(profile);
1202 if (error)
1206 error = aa_calc_profile_hash(profile, e.version, start,
1208 if (error)
1213 error = -ENOMEM;
1225 error = PTR_ERR(udata->hash);
1230 error = compress_loaddata(udata);
1231 if (error)
1244 return error;