Lines Matching refs:unlikely

136 	if (unlikely(!result))  in getname_flags()
147 if (unlikely(len < 0)) { in getname_flags()
158 if (unlikely(len == EMBEDDED_NAME_MAX)) { in getname_flags()
168 if (unlikely(!result)) { in getname_flags()
174 if (unlikely(len < 0)) { in getname_flags()
179 if (unlikely(len == PATH_MAX)) { in getname_flags()
188 if (unlikely(!len)) { in getname_flags()
216 if (unlikely(!result)) in getname_kernel()
225 if (unlikely(!tmp)) { in getname_kernel()
378 if (unlikely(!(inode->i_opflags & IOP_FASTPERM))) { in do_inode_permission()
406 if (unlikely(mask & MAY_WRITE)) { in __inode_permission()
436 if (unlikely(mask & MAY_WRITE)) { in sb_permission()
550 if (unlikely(!p)) in __nd_alloc_stack()
555 if (unlikely(!p)) in __nd_alloc_stack()
629 if (unlikely(res)) { in legitimize_path()
635 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in legitimize_path()
647 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links()
687 if (unlikely(!legitimize_links(nd))) in unlazy_walk()
689 if (unlikely(!legitimize_mnt(nd->path.mnt, nd->m_seq))) in unlazy_walk()
691 if (unlikely(!lockref_get_not_dead(&parent->d_lockref))) in unlazy_walk()
721 if (unlikely(!legitimize_path(nd, &nd->root, nd->root_seq))) { in unlazy_walk()
749 if (unlikely(!legitimize_path(nd, link, seq))) { in unlazy_link()
788 if (unlikely(unlazy_walk(nd, NULL, 0))) in complete_walk()
994 if (unlikely(unlazy_walk(nd, NULL, 0))) in get_link()
1001 if (unlikely(error)) in get_link()
1008 if (unlikely(unlazy_walk(nd, NULL, 0))) in get_link()
1026 if (unlikely(read_seqcount_retry(&d->d_seq, nd->seq))) in get_link()
1037 while (unlikely(*++res == '/')) in get_link()
1175 unlikely(managed != 0)) { in follow_managed()
1223 if (unlikely(ret < 0)) in follow_managed()
1310 if (unlikely(read_seqcount_retry(&old->d_seq, nd->seq))) in follow_dotdot_rcu()
1314 if (unlikely(!path_connected(&nd->path))) in follow_dotdot_rcu()
1323 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
1334 while (unlikely(d_mountpoint(nd->path.dentry))) { in follow_dotdot_rcu()
1337 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
1361 unlikely(managed & DCACHE_MANAGED_DENTRY)) { in follow_down()
1432 if (unlikely(!path_connected(&nd->path))) in follow_dotdot()
1462 if (unlikely(error <= 0)) { in lookup_dcache()
1477 if (unlikely(!dentry)) in lookup_dcache()
1497 if (unlikely(IS_DEADDIR(dir))) { in lookup_real()
1503 if (unlikely(old)) { in lookup_real()
1570 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) { in lookup_fast()
1572 if (unlikely(status <= 0)) { in lookup_fast()
1595 if (unlikely(!dentry)) in lookup_fast()
1598 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE) && need_reval) in lookup_fast()
1600 if (unlikely(status <= 0)) { in lookup_fast()
1610 if (unlikely(d_is_negative(dentry))) { in lookup_fast()
1671 if (unlikely(nd->total_link_count++ >= MAXSYMLINKS)) { in pick_link()
1680 if (unlikely(error)) { in pick_link()
1682 if (unlikely(unlazy_link(nd, link, seq))) in pick_link()
1735 if (unlikely(nd->last_type != LAST_NORM)) { in walk_component()
1742 if (unlikely(err)) { in walk_component()
1760 if (unlikely(err)) in walk_component()
1930 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk()
1953 } while (unlikely(*name == '/')); in link_path_walk()
1954 if (unlikely(!*name)) { in link_path_walk()
1977 if (unlikely(!s)) { in link_path_walk()
1986 if (unlikely(!d_can_lookup(nd->path.dentry))) { in link_path_walk()
2100 if (unlikely(error)) in trailing_symlink()
2160 if (unlikely(root)) { in filename_lookup()
2166 if (unlikely(retval == -ECHILD)) in filename_lookup()
2168 if (unlikely(retval == -ESTALE)) in filename_lookup()
2209 if (unlikely(retval == -ECHILD)) in filename_parentat()
2211 if (unlikely(retval == -ESTALE)) in filename_parentat()
2237 if (unlikely(type != LAST_NORM)) { in kern_path_locked()
2301 if (unlikely(name[0] == '.')) { in lookup_one_len()
2397 if (unlikely(nd->last_type != LAST_NORM)) { in mountpoint_last()
2437 if (unlikely(error)) in mountpoint_last()
2482 if (unlikely(error == -ECHILD)) in filename_mountpoint()
2484 if (unlikely(error == -ESTALE)) in filename_mountpoint()
2796 if (unlikely(IS_DEADDIR(dir))) { in atomic_open()
2819 (open_flag & O_ACCMODE) != O_RDONLY) && unlikely(!got_write)) { in atomic_open()
3030 if (unlikely(error)) in do_last()
3060 if (unlikely(nd->last.name[nd->last.len])) in do_last()
3116 if (unlikely((open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT))) { in do_last()
3122 if (unlikely(error < 0)) in do_last()
3127 if (unlikely(d_is_negative(path.dentry))) { in do_last()
3137 if (unlikely(error)) in do_last()
3158 if (unlikely(d_is_symlink(nd->path.dentry)) && !(open_flag & O_PATH)) { in do_last()
3205 if (unlikely(error > 0)) { in do_last()
3246 if (unlikely(error)) in do_tmpfile()
3249 if (unlikely(error)) in do_tmpfile()
3261 if (unlikely(!child)) { in do_tmpfile()
3309 if (unlikely(file->f_flags & __O_TMPFILE)) { in path_openat()
3334 if (unlikely(error)) { in path_openat()
3355 if (unlikely(filp == ERR_PTR(-ECHILD))) in do_filp_open()
3357 if (unlikely(filp == ERR_PTR(-ESTALE))) in do_filp_open()
3383 if (unlikely(file == ERR_PTR(-ECHILD))) in do_file_open_root()
3385 if (unlikely(file == ERR_PTR(-ESTALE))) in do_file_open_root()
3416 if (unlikely(type != LAST_NORM)) in filename_create()
3440 if (unlikely(!is_dir && last.name[last.len])) { in filename_create()
3444 if (unlikely(err2)) { in filename_create()
4094 if (unlikely(error)) in SYSCALL_DEFINE5()