Searched refs:pdeo (Results 1 – 2 of 2) sorted by relevance
295 struct pde_opener *pdeo; in proc_reg_open() local307 pdeo = kmalloc(sizeof(struct pde_opener), GFP_KERNEL); in proc_reg_open()308 if (!pdeo) in proc_reg_open()314 kfree(pdeo); in proc_reg_open()328 pdeo->inode = inode; in proc_reg_open()329 pdeo->file = file; in proc_reg_open()331 pdeo->release = release; in proc_reg_open()332 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open()334 kfree(pdeo); in proc_reg_open()343 struct pde_opener *pdeo; in find_pde_opener() local[all …]
833 struct pde_opener *pdeo; in remove_proc_entry() local835 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in remove_proc_entry()836 list_del(&pdeo->lh); in remove_proc_entry()838 pdeo->release(pdeo->inode, pdeo->file); in remove_proc_entry()839 kfree(pdeo); in remove_proc_entry()