Searched refs:pde (Results 1 – 9 of 9) sorted by relevance
49 de = ei->pde; in proc_evict_inode()52 ei->pde = NULL; in proc_evict_inode()75 ei->pde = NULL; in proc_alloc_inode()206 static inline int use_pde(struct proc_dir_entry *pde) in use_pde() argument208 return likely(atomic_inc_unless_negative(&pde->in_use)); in use_pde()211 static void unuse_pde(struct proc_dir_entry *pde) in unuse_pde() argument213 if (unlikely(atomic_dec_return(&pde->in_use) == BIAS)) in unuse_pde()214 complete(pde->pde_unload_completion); in unuse_pde()218 static void close_pdeo(struct proc_dir_entry *pde, struct pde_opener *pdeo) in close_pdeo() argument219 __releases(&pde->pde_unload_lock) in close_pdeo()[all …]
77 static inline bool pde_is_permanent(const struct proc_dir_entry *pde) in pde_is_permanent() argument79 return pde->flags & PROC_ENTRY_PERMANENT; in pde_is_permanent()83 void pde_free(struct proc_dir_entry *pde);97 struct proc_dir_entry *pde; member115 return PROC_I(inode)->pde; in PDE()193 static inline struct proc_dir_entry *pde_get(struct proc_dir_entry *pde) in pde_get() argument195 refcount_inc(&pde->refcnt); in pde_get()196 return pde; in pde_get()200 static inline bool is_empty_pde(const struct proc_dir_entry *pde) in is_empty_pde() argument202 return S_ISDIR(pde->mode) && !pde->proc_iops; in is_empty_pde()[all …]
37 void pde_free(struct proc_dir_entry *pde) in pde_free() argument39 if (S_ISLNK(pde->mode)) in pde_free()40 kfree(pde->data); in pde_free()41 if (pde->name != pde->inline_name) in pde_free()42 kfree(pde->name); in pde_free()43 kmem_cache_free(proc_dir_entry_cache, pde); in pde_free()566 static inline void pde_set_flags(struct proc_dir_entry *pde) in pde_set_flags() argument568 if (pde->proc_ops->proc_flags & PROC_ENTRY_PERMANENT) in pde_set_flags()569 pde->flags |= PROC_ENTRY_PERMANENT; in pde_set_flags()680 void pde_put(struct proc_dir_entry *pde) in pde_put() argument[all …]
32 static inline struct net *PDE_NET(struct proc_dir_entry *pde) in PDE_NET() argument34 return pde->parent->data; in PDE_NET()
544 struct nilfs_dir_entry *de, *pde = NULL; in nilfs_delete_entry() local558 pde = de; in nilfs_delete_entry()561 if (pde) in nilfs_delete_entry()562 from = (char *)pde - (char *)page_address(page); in nilfs_delete_entry()566 if (pde) in nilfs_delete_entry()567 pde->rec_len = nilfs_rec_len_to_disk(to - from); in nilfs_delete_entry()
567 ext2_dirent * pde = NULL; in ext2_delete_entry() local578 pde = de; in ext2_delete_entry()581 if (pde) in ext2_delete_entry()582 from = (char*)pde - (char*)page_address(page); in ext2_delete_entry()587 if (pde) in ext2_delete_entry()588 pde->rec_len = ext2_rec_len_to_disk(to - from); in ext2_delete_entry()
503 struct ufs_dir_entry *pde = NULL; in ufs_delete_entry() local521 pde = de; in ufs_delete_entry()524 if (pde) in ufs_delete_entry()525 from = (char*)pde - (char*)page_address(page); in ufs_delete_entry()531 if (pde) in ufs_delete_entry()532 pde->d_reclen = cpu_to_fs16(sb, to - from); in ufs_delete_entry()
2625 struct ext4_dir_entry_2 *de, *pde; in ext4_generic_delete_entry() local2630 pde = NULL; in ext4_generic_delete_entry()2637 if (pde) in ext4_generic_delete_entry()2638 pde->rec_len = ext4_rec_len_to_disk( in ext4_generic_delete_entry()2639 ext4_rec_len_from_disk(pde->rec_len, in ext4_generic_delete_entry()2650 pde = de; in ext4_generic_delete_entry()
1132 struct ocfs2_dir_entry *de, *pde; in __ocfs2_delete_entry() local1140 pde = NULL; in __ocfs2_delete_entry()1156 if (pde) in __ocfs2_delete_entry()1157 le16_add_cpu(&pde->rec_len, in __ocfs2_delete_entry()1165 pde = de; in __ocfs2_delete_entry()