Searched refs:pde (Results 1 – 11 of 11) sorted by relevance
/fs/proc/ |
D | inode.c | 43 de = PROC_I(inode)->pde; in proc_evict_inode() 71 ei->pde = NULL; in proc_alloc_inode() 131 static void __pde_users_dec(struct proc_dir_entry *pde) in __pde_users_dec() argument 133 pde->pde_users--; in __pde_users_dec() 134 if (pde->pde_unload_completion && pde->pde_users == 0) in __pde_users_dec() 135 complete(pde->pde_unload_completion); in __pde_users_dec() 138 void pde_users_dec(struct proc_dir_entry *pde) in pde_users_dec() argument 140 spin_lock(&pde->pde_unload_lock); in pde_users_dec() 141 __pde_users_dec(pde); in pde_users_dec() 142 spin_unlock(&pde->pde_unload_lock); in pde_users_dec() [all …]
|
D | generic.c | 191 struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); in proc_file_read() local 194 spin_lock(&pde->pde_unload_lock); in proc_file_read() 195 if (!pde->proc_fops) { in proc_file_read() 196 spin_unlock(&pde->pde_unload_lock); in proc_file_read() 199 pde->pde_users++; in proc_file_read() 200 spin_unlock(&pde->pde_unload_lock); in proc_file_read() 204 pde_users_dec(pde); in proc_file_read() 212 struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); in proc_file_write() local 215 if (pde->write_proc) { in proc_file_write() 216 spin_lock(&pde->pde_unload_lock); in proc_file_write() [all …]
|
D | proc_devtree.c | 24 np->pde = de; in set_node_proc_entry() 87 void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop) in proc_device_tree_add_prop() argument 89 __proc_device_tree_add_prop(pde, prop, prop->name); in proc_device_tree_add_prop() 92 void proc_device_tree_remove_prop(struct proc_dir_entry *pde, in proc_device_tree_remove_prop() argument 95 remove_proc_entry(prop->name, pde); in proc_device_tree_remove_prop() 98 void proc_device_tree_update_prop(struct proc_dir_entry *pde, in proc_device_tree_update_prop() argument 104 for (ent = pde->subdir; ent != NULL; ent = ent->next) in proc_device_tree_update_prop()
|
D | internal.h | 106 void pde_users_dec(struct proc_dir_entry *pde); 117 static inline struct proc_dir_entry *pde_get(struct proc_dir_entry *pde) in pde_get() argument 119 atomic_inc(&pde->count); in pde_get() 120 return pde; in pde_get() 122 void pde_put(struct proc_dir_entry *pde);
|
/fs/nilfs2/ |
D | dir.c | 556 struct nilfs_dir_entry *pde = NULL; in nilfs_delete_entry() local 567 pde = de; in nilfs_delete_entry() 570 if (pde) in nilfs_delete_entry() 571 from = (char *)pde - (char *)page_address(page); in nilfs_delete_entry() 575 if (pde) in nilfs_delete_entry() 576 pde->rec_len = nilfs_rec_len_to_disk(to - from); in nilfs_delete_entry()
|
/fs/exofs/ |
D | dir.c | 540 struct exofs_dir_entry *pde = NULL; in exofs_delete_entry() local 552 pde = de; in exofs_delete_entry() 555 if (pde) in exofs_delete_entry() 556 from = (char *)pde - (char *)page_address(page); in exofs_delete_entry() 564 if (pde) in exofs_delete_entry() 565 pde->rec_len = cpu_to_le16(to - from); in exofs_delete_entry()
|
/fs/ufs/ |
D | dir.c | 523 struct ufs_dir_entry *pde = NULL; in ufs_delete_entry() local 541 pde = de; in ufs_delete_entry() 544 if (pde) in ufs_delete_entry() 545 from = (char*)pde - (char*)page_address(page); in ufs_delete_entry() 551 if (pde) in ufs_delete_entry() 552 pde->d_reclen = cpu_to_fs16(sb, to - from); in ufs_delete_entry()
|
/fs/ext2/ |
D | dir.c | 597 ext2_dirent * pde = NULL; in ext2_delete_entry() local 608 pde = de; in ext2_delete_entry() 611 if (pde) in ext2_delete_entry() 612 from = (char*)pde - (char*)page_address(page); in ext2_delete_entry() 617 if (pde) in ext2_delete_entry() 618 pde->rec_len = ext2_rec_len_to_disk(to - from); in ext2_delete_entry()
|
/fs/ext3/ |
D | namei.c | 1625 struct ext3_dir_entry_2 * de, * pde; in ext3_delete_entry() local 1629 pde = NULL; in ext3_delete_entry() 1642 if (pde) in ext3_delete_entry() 1643 pde->rec_len = ext3_rec_len_to_disk( in ext3_delete_entry() 1644 ext3_rec_len_from_disk(pde->rec_len) + in ext3_delete_entry() 1659 pde = de; in ext3_delete_entry()
|
/fs/ext4/ |
D | namei.c | 1648 struct ext4_dir_entry_2 *de, *pde; in ext4_delete_entry() local 1653 pde = NULL; in ext4_delete_entry() 1665 if (pde) in ext4_delete_entry() 1666 pde->rec_len = ext4_rec_len_to_disk( in ext4_delete_entry() 1667 ext4_rec_len_from_disk(pde->rec_len, in ext4_delete_entry() 1684 pde = de; in ext4_delete_entry()
|
/fs/ocfs2/ |
D | dir.c | 1160 struct ocfs2_dir_entry *de, *pde; in __ocfs2_delete_entry() local 1168 pde = NULL; in __ocfs2_delete_entry() 1184 if (pde) in __ocfs2_delete_entry() 1185 le16_add_cpu(&pde->rec_len, in __ocfs2_delete_entry() 1193 pde = de; in __ocfs2_delete_entry()
|