Searched refs:mpt_proc_root_dir (Results 1 – 2 of 2) sorted by relevance
144 struct proc_dir_entry *mpt_proc_root_dir; variable5026 mpt_proc_root_dir = proc_mkdir(MPT_PROCFS_MPTBASEDIR, NULL); in procmpt_create()5027 if (mpt_proc_root_dir == NULL) in procmpt_create()5032 S_IFREG|S_IRUGO, mpt_proc_root_dir); in procmpt_create()5049 if ((dent = proc_mkdir(ioc->name, mpt_proc_root_dir)) != NULL) { in procmpt_create()5088 if (!mpt_proc_root_dir) in procmpt_destroy()5112 remove_proc_entry(ioc->name, mpt_proc_root_dir); in procmpt_destroy()5118 remove_proc_entry(mpt_proc_list[ii].name, mpt_proc_root_dir); in procmpt_destroy()5120 if (atomic_read((atomic_t *)&mpt_proc_root_dir->count) == 0) { in procmpt_destroy()5122 mpt_proc_root_dir = NULL; in procmpt_destroy()[all …]
1064 extern struct proc_dir_entry *mpt_proc_root_dir;