Searched refs:sproc (Results 1 – 1 of 1) sorted by relevance
175 struct osal_proc_dir_entry *sproc = NULL; in osal_remove_proc() local186 osal_list_for_each_entry(sproc, &g_list, node) { in osal_remove_proc()187 if (osal_strncmp(sproc->name, name, sizeof(sproc->name)) == 0) { in osal_remove_proc()188 osal_list_del(&(sproc->node)); in osal_remove_proc()189 kfree(sproc); in osal_remove_proc()190 sproc = NULL; in osal_remove_proc()215 struct osal_proc_dir_entry *sproc = NULL; in osal_proc_mkdir() local231 sproc = kmalloc(sizeof(struct osal_proc_dir_entry), GFP_KERNEL); in osal_proc_mkdir()232 if (sproc == NULL) { in osal_proc_mkdir()238 … (void)memset_s(sproc, sizeof(struct osal_proc_dir_entry), 0, sizeof(struct osal_proc_dir_entry)); in osal_proc_mkdir()[all …]