Lines Matching refs:last

570 	struct qstr	last;  member
668 struct saved *last = nd->stack + i; in drop_links() local
669 do_delayed_call(&last->done); in drop_links()
670 clear_delayed_call(&last->done); in drop_links()
733 struct saved *last = nd->stack + i; in legitimize_links() local
734 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links()
1025 struct saved *last = nd->stack + --nd->depth; in put_link() local
1026 do_delayed_call(&last->done); in put_link()
1028 path_put(&last->link); in put_link()
1629 dentry = __d_lookup_rcu(parent, &nd->last, &nd->next_seq); in lookup_fast()
1652 dentry = __d_lookup(parent, &nd->last); in lookup_fast()
1758 struct saved *last; in pick_link() local
1767 last = nd->stack + nd->depth++; in pick_link()
1768 last->link = *link; in pick_link()
1769 clear_delayed_call(&last->done); in pick_link()
1770 last->seq = nd->next_seq; in pick_link()
1783 touch_atime(&last->link); in pick_link()
1785 } else if (atime_needs_update(&last->link, inode)) { in pick_link()
1788 touch_atime(&last->link); in pick_link()
1802 res = get(NULL, inode, &last->done); in pick_link()
1804 res = get(link->dentry, inode, &last->done); in pick_link()
1806 res = get(link->dentry, inode, &last->done); in pick_link()
2002 dentry = lookup_slow(&nd->last, nd->path.dentry, nd->flags); in walk_component()
2301 nd->last.hash_len = hash_len; in link_path_walk()
2302 nd->last.name = name; in link_path_walk()
2456 if (nd->last_type == LAST_NORM && nd->last.name[nd->last.len]) in lookup_last()
2545 struct qstr *last, int *type, in __filename_parentat() argument
2560 *last = nd.last; in __filename_parentat()
2570 struct qstr *last, int *type) in filename_parentat() argument
2572 return __filename_parentat(dfd, name, flags, parent, last, type, NULL); in filename_parentat()
2579 struct qstr last; in __kern_path_locked() local
2582 error = filename_parentat(AT_FDCWD, name, 0, path, &last, &type); in __kern_path_locked()
2590 d = lookup_one_qstr_excl(&last, path->dentry, 0); in __kern_path_locked()
2628 struct path *parent, struct qstr *last, int *type, in vfs_path_parent_lookup() argument
2631 return __filename_parentat(AT_FDCWD, filename, flags, parent, last, in vfs_path_parent_lookup()
3410 dentry = d_lookup(dir, &nd->last); in lookup_open()
3413 dentry = d_alloc_parallel(dir, &nd->last, &wq); in lookup_open()
3522 if (nd->last.name[nd->last.len]) in open_last_lookups()
3540 if (unlikely(nd->last.name[nd->last.len])) in open_last_lookups()
3855 struct qstr last; in filename_create() local
3863 error = filename_parentat(dfd, name, reval_flag, path, &last, &type); in filename_create()
3880 if (last.name[last.len] && !want_dir) in filename_create()
3883 dentry = lookup_one_qstr_excl(&last, path->dentry, in filename_create()
4219 struct qstr last; in do_rmdir() local
4223 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); in do_rmdir()
4244 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags); in do_rmdir()
4358 struct qstr last; in do_unlinkat() local
4364 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); in do_unlinkat()
4377 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags); in do_unlinkat()
4382 if (last.name[last.len]) in do_unlinkat()