Lines Matching refs:last

100  *	in the last component in creation/removal/renaming - never follow.
107 * restored for 2.4. This is the last surviving part of old 4.2BSD bug.
569 struct qstr last;
667 struct saved *last = nd->stack + i;
668 do_delayed_call(&last->done);
669 clear_delayed_call(&last->done);
732 struct saved *last = nd->stack + i;
733 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) {
756 * mode. Refcounts are grabbed at the last known good point before rcu-walk
1024 struct saved *last = nd->stack + --nd->depth;
1025 do_delayed_call(&last->done);
1027 path_put(&last->link);
1627 dentry = __d_lookup_rcu(parent, &nd->last, &nd->next_seq);
1650 dentry = __d_lookup(parent, &nd->last);
1760 struct saved *last;
1769 last = nd->stack + nd->depth++;
1770 last->link = *link;
1771 clear_delayed_call(&last->done);
1772 last->seq = nd->next_seq;
1785 touch_atime(&last->link);
1787 } else if (atime_needs_update(&last->link, inode)) {
1790 touch_atime(&last->link);
1804 res = get(NULL, inode, &last->done);
1806 res = get(link->dentry, inode, &last->done);
1808 res = get(link->dentry, inode, &last->done);
2004 dentry = lookup_slow(&nd->last, nd->path.dentry, nd->flags);
2303 nd->last.hash_len = hash_len;
2304 nd->last.name = name;
2326 /* last component of nested symlink */
2330 /* not the last component */
2466 if (nd->last_type == LAST_NORM && nd->last.name[nd->last.len])
2555 struct qstr *last, int *type,
2570 *last = nd.last;
2580 struct qstr *last, int *type)
2582 return __filename_parentat(dfd, name, flags, parent, last, type, NULL);
2589 struct qstr last;
2592 error = filename_parentat(dfd, name, 0, path, &last, &type);
2600 d = lookup_one_qstr_excl(&last, path->dentry, 0);
2643 * @last: last component
2644 * @type: type of the last component
2648 struct path *parent, struct qstr *last, int *type,
2651 return __filename_parentat(AT_FDCWD, filename, flags, parent, last,
3396 * Look up and maybe create and open the last component.
3427 dentry = d_lookup(dir, &nd->last);
3430 dentry = d_alloc_parallel(dir, &nd->last, &wq);
3539 if (nd->last.name[nd->last.len])
3558 if (unlikely(nd->last.name[nd->last.len]))
3604 * Handle the last step of open()
3873 struct qstr last;
3881 error = filename_parentat(dfd, name, reval_flag, path, &last, &type);
3886 * Yucky last component or no last component at all?
3898 if (last.name[last.len] && !want_dir)
3901 dentry = lookup_one_qstr_excl(&last, path->dentry,
4237 struct qstr last;
4241 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type);
4262 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags);
4376 struct qstr last;
4382 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type);
4395 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags);
4400 if (last.name[last.len] || d_is_negative(dentry))