Lines Matching refs:ufs_dir_entry
36 const unsigned char *name, struct ufs_dir_entry *de) in ufs_match()
73 struct ufs_dir_entry *de; in ufs_inode_by_name()
86 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link()
118 struct ufs_dir_entry *p; in ufs_check_page()
129 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
179 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
222 static inline struct ufs_dir_entry *
223 ufs_next_entry(struct super_block *sb, struct ufs_dir_entry *p) in ufs_next_entry()
225 return (struct ufs_dir_entry *)((char *)p + in ufs_next_entry()
229 struct ufs_dir_entry *ufs_dotdot(struct inode *dir, struct page **p) in ufs_dotdot()
232 struct ufs_dir_entry *de = NULL; in ufs_dotdot()
236 (struct ufs_dir_entry *)page_address(page)); in ufs_dotdot()
250 struct ufs_dir_entry *ufs_find_entry(struct inode *dir, const struct qstr *qstr, in ufs_find_entry()
261 struct ufs_dir_entry *de; in ufs_find_entry()
281 de = (struct ufs_dir_entry *) kaddr; in ufs_find_entry()
315 struct ufs_dir_entry *de; in ufs_add_link()
339 de = (struct ufs_dir_entry *)kaddr; in ufs_add_link()
365 de = (struct ufs_dir_entry *) ((char *) de + rec_len); in ufs_add_link()
380 struct ufs_dir_entry *de1 = in ufs_add_link()
381 (struct ufs_dir_entry *) ((char *) de + name_len); in ufs_add_link()
411 struct ufs_dir_entry *de = (struct ufs_dir_entry*)(base + offset); in ufs_validate_entry()
412 struct ufs_dir_entry *p = (struct ufs_dir_entry*)(base + (offset&mask)); in ufs_validate_entry()
442 struct ufs_dir_entry *de; in ufs_readdir()
462 de = (struct ufs_dir_entry *)(kaddr+offset); in ufs_readdir()
495 int ufs_delete_entry(struct inode *inode, struct ufs_dir_entry *dir, in ufs_delete_entry()
503 struct ufs_dir_entry *pde = NULL; in ufs_delete_entry()
504 struct ufs_dir_entry *de = (struct ufs_dir_entry *) (kaddr + from); in ufs_delete_entry()
549 struct ufs_dir_entry * de; in ufs_make_empty()
566 de = (struct ufs_dir_entry *) base; in ufs_make_empty()
573 de = (struct ufs_dir_entry *) in ufs_make_empty()
599 struct ufs_dir_entry *de; in ufs_empty_dir()
606 de = (struct ufs_dir_entry *)kaddr; in ufs_empty_dir()