Lines Matching refs:unlikely

165 	if (unlikely(!p))
172 if (unlikely(len < 0))
174 if (unlikely(len == PATH_MAX - EMBEDDED_NAME_MAX))
188 if (unlikely(!result))
202 if (unlikely(len <= 0)) {
214 if (unlikely(len == EMBEDDED_NAME_MAX))
216 if (unlikely(len < 0)) {
263 if (unlikely(len > PATH_MAX))
267 if (unlikely(!result))
275 if (unlikely(!p)) {
301 if (unlikely(refcnt != 1)) {
309 if (unlikely(name->name != name->iname))
581 if (unlikely(!(inode->i_opflags & IOP_FASTPERM))) {
634 if (unlikely(retval))
641 if (unlikely(IS_IMMUTABLE(inode)))
649 if (unlikely(HAS_UNMAPPED_ID(idmap, inode)))
654 if (unlikely(retval))
658 if (unlikely(retval))
692 if (unlikely(!(inode->i_opflags & (IOP_FASTPERM | IOP_FASTPERM_MAY_EXEC))))
695 if (unlikely(((inode->i_mode & 0111) != 0111) || !no_acl_inode(inode)))
777 if (unlikely(root)) {
800 if (unlikely(!p))
845 if (unlikely(nd->depth))
868 if (unlikely(res)) {
874 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) {
895 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) {
941 if (unlikely(nd->flags & LOOKUP_CACHED)) {
946 if (unlikely(nd->depth && !legitimize_links(nd)))
948 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq)))
950 if (unlikely(!legitimize_root(nd)))
982 if (unlikely(nd->flags & LOOKUP_CACHED)) {
987 if (unlikely(nd->depth && !legitimize_links(nd)))
990 if (unlikely(res)) {
995 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref)))
1005 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref)))
1013 if (unlikely(!legitimize_root(nd)))
1034 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE))
1068 if (unlikely(nd->flags & LOOKUP_IS_SCOPED)) {
1134 if (unlikely(nd->flags & LOOKUP_BENEATH))
1136 if (unlikely(nd->flags & LOOKUP_NO_XDEV)) {
1143 if (unlikely(error))
1173 if (unlikely(nd->flags & LOOKUP_NO_MAGICLINKS))
1177 if (unlikely(nd->flags & LOOKUP_NO_XDEV)) {
1182 if (unlikely(nd->flags & LOOKUP_IS_SCOPED))
1495 if (unlikely(root->dentry == mountpoint &&
1518 if (unlikely(!found)) {
1606 if (unlikely(lookup_flags & LOOKUP_NO_XDEV)) {
1629 if (!ret && unlikely(d_flags_negative(flags)))
1643 if (unlikely(d_flags_negative(flags)))
1692 if (unlikely(nd->flags & LOOKUP_NO_XDEV))
1700 if (unlikely(flags & DCACHE_MANAGE_TRANSIT)) {
1746 if (unlikely(!try_to_unlazy_next(nd, dentry)))
1752 if (unlikely(ret)) {
1771 if (unlikely(error <= 0)) {
1803 if (unlikely(IS_DEADDIR(dir)))
1807 if (unlikely(!dentry))
1811 if (unlikely(old)) {
1855 if (unlikely(!dentry)) {
1879 if (unlikely(!dentry))
1883 if (unlikely(status <= 0)) {
1901 if (unlikely(IS_DEADDIR(inode)))
1907 if (unlikely(!d_in_lookup(dentry))) {
1909 if (unlikely(error <= 0)) {
1921 if (unlikely(old)) {
1981 if (unlikely(nd->total_link_count++ >= MAXSYMLINKS))
2024 if (unlikely(error)) {
2036 if (unlikely(error))
2040 if (unlikely(nd->flags & LOOKUP_NO_SYMLINKS) ||
2041 unlikely(link->mnt->mnt_flags & MNT_NOSYMFOLLOW))
2044 if (unlikely(atime_needs_update(&last->link, inode))) {
2055 if (unlikely(error))
2077 if (unlikely(error))
2079 while (unlikely(*++res == '/'))
2132 if (unlikely(err < 0))
2142 if (unlikely(!inode))
2145 if (unlikely(unlink_may_reveal(nd, flags, &path, dentry)))
2173 if (unlikely(!inode))
2190 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) {
2196 if (unlikely(nd->flags & LOOKUP_NO_XDEV))
2212 if (unlikely(!path_connected(nd->path.mnt, parent)))
2218 if (unlikely(nd->flags & LOOKUP_BENEATH))
2230 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) {
2239 if (unlikely(nd->flags & LOOKUP_NO_XDEV))
2244 if (unlikely(!path_connected(nd->path.mnt, parent))) {
2251 if (unlikely(nd->flags & LOOKUP_BENEATH))
2264 if (unlikely(error))
2274 if (unlikely(error))
2277 if (unlikely(nd->flags & LOOKUP_IS_SCOPED)) {
2302 if (unlikely(nd->last_type != LAST_NORM)) {
2303 if (unlikely(nd->depth) && !(flags & WALK_MORE))
2310 if (unlikely(!dentry)) {
2315 if (unlikely(nd->depth) && !(flags & WALK_MORE))
2329 * do not trap on the (extremely unlikely) case of a page
2619 } while (unlikely(*name == '/'));
2621 if (unlikely(!*name)) {
2634 if (unlikely(err))
2655 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) {
2670 } while (unlikely(*name == '/'));
2671 if (unlikely(!*name)) {
2687 if (unlikely(link)) {
2695 if (unlikely(!d_can_lookup(nd->path.dentry))) {
2712 if (unlikely((flags & (LOOKUP_RCU | LOOKUP_CACHED)) == LOOKUP_CACHED))
2715 if (unlikely(!*s))
2729 if (unlikely(nd->state & ND_ROOT_PRESET)) {
2732 if (*s && unlikely(!d_can_lookup(root)))
2750 if (unlikely(error))
2787 if (*s && unlikely(!d_can_lookup(dentry)))
2801 if (unlikely(flags & LOOKUP_IS_SCOPED)) {
2835 if (unlikely(flags & LOOKUP_DOWN) && !IS_ERR(s)) {
2837 if (unlikely(err < 0))
2844 if (!err && unlikely(nd->flags & LOOKUP_MOUNTPOINT)) {
2872 if (unlikely(retval == -ECHILD))
2874 if (unlikely(retval == -ESTALE))
2914 if (unlikely(retval == -ECHILD))
2916 if (unlikely(retval == -ESTALE))
3004 if (unlikely(type != LAST_NORM))
3051 if (unlikely(type != LAST_NORM))
3086 if (unlikely(type != LAST_NORM)) {
3593 if (unlikely(IS_DEADDIR(parent->d_inode) ||
3626 if (unlikely(IS_DEADDIR(parent->d_inode) ||
3649 if (unlikely(!path_connected(path->mnt, parent))) {
4405 if (unlikely(opened != dentry)) {
4417 if (unlikely(d_is_negative(dentry)))
4429 if (unlikely(create_error) && error == -ENOENT) {
4491 if (unlikely(IS_DEADDIR(dir_inode))) {
4533 if (unlikely(!got_write))
4560 if (unlikely(res)) {
4580 if (unlikely(create_error)) {
4810 if (unlikely(res))
4842 if (unlikely(error))
4871 if (unlikely(error > 0)) {
4916 if (unlikely(!child))
4981 if (unlikely(error))
4984 if (unlikely(error))
5019 if (unlikely(file->f_flags & __O_TMPFILE)) {
5021 } else if (unlikely(file->f_flags & O_PATH)) {
5059 if (unlikely(filp == ERR_PTR(-ECHILD)))
5061 if (unlikely(filp == ERR_PTR(-ESTALE)))
5083 if (unlikely(file == ERR_PTR(-ECHILD)))
5085 if (unlikely(file == ERR_PTR(-ESTALE)))
5110 if (unlikely(type != LAST_NORM))
5125 if (unlikely(error))
5244 if (unlikely(error))
5735 if (unlikely(last.name[last.len])) {
6017 if (unlikely(error))
6407 if (unlikely(copylen > (unsigned) buflen))
6434 if (unlikely(!(inode->i_opflags & IOP_DEFAULT_READLINK))) {
6435 if (unlikely(inode->i_op->readlink))