Searched refs:moddata (Results 1 – 3 of 3) sorted by relevance
70 moddata_clean(struct redis_moddata** moddata) { in moddata_clean() argument71 if(!moddata || !*moddata) in moddata_clean()73 if((*moddata)->ctxs) { in moddata_clean()75 for(i = 0; i < (*moddata)->numctxs; i++) { in moddata_clean()76 if((*moddata)->ctxs[i]) in moddata_clean()77 redisFree((*moddata)->ctxs[i]); in moddata_clean()79 free((*moddata)->ctxs); in moddata_clean()81 free(*moddata); in moddata_clean()82 *moddata = NULL; in moddata_clean()86 redis_connect(const struct redis_moddata* moddata) in redis_connect() argument[all …]
245 static moduledata_t moddata = { variable251 DECLARE_MODULE(pvefirt, moddata, SI_SUB_DRIVERS, SI_ORDER_SECOND);
398 const moduledata_t *moddata; in linker_file_register_modules() local422 moddata = (*mdp)->md_data; in linker_file_register_modules()424 moddata->name, lf->filename)); in linker_file_register_modules()425 error = module_register(moddata, lf); in linker_file_register_modules()428 moddata->name, error); in linker_file_register_modules()