Lines Matching defs:regdb
602 static const struct fwdb_header *regdb;
904 const struct fwdb_header *hdr = regdb;
907 if (!regdb)
910 if (IS_ERR(regdb))
911 return PTR_ERR(regdb);
916 return __regdb_query_wmm(regdb, country, freq, rule);
983 const struct fwdb_header *hdr = regdb;
988 if (IS_ERR(regdb))
989 return PTR_ERR(regdb);
994 return regdb_query_country(regdb, country);
1016 if (regdb && !IS_ERR(regdb)) {
1024 regdb = ERR_PTR(set_error);
1028 regdb = db;
1053 if (regdb)
1093 if (!IS_ERR_OR_NULL(regdb))
1094 kfree(regdb);
1095 regdb = db;
4371 if (!IS_ERR_OR_NULL(regdb))
4372 kfree(regdb);