Lines Matching defs:regdb
593 static const struct fwdb_header *regdb;
895 const struct fwdb_header *hdr = regdb;
898 if (!regdb)
901 if (IS_ERR(regdb))
902 return PTR_ERR(regdb);
907 return __regdb_query_wmm(regdb, country, freq, rule);
973 const struct fwdb_header *hdr = regdb;
978 if (IS_ERR(regdb))
979 return PTR_ERR(regdb);
984 return regdb_query_country(regdb, country);
1006 if (regdb && !IS_ERR(regdb)) {
1014 regdb = ERR_PTR(set_error);
1018 regdb = db;
1043 if (regdb)
1083 if (!IS_ERR_OR_NULL(regdb))
1084 kfree(regdb);
1085 regdb = db;
4379 if (!IS_ERR_OR_NULL(regdb))
4380 kfree(regdb);