Home
last modified time | relevance | path

Searched refs:st_ino (Results 1 – 25 of 257) sorted by relevance

1234567891011

/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup204.c47 if (oldbuf.st_ino != newbuf.st_ino) in run()
50 oldbuf.st_ino, newbuf.st_ino); in run()
54 oldbuf.st_ino, newbuf.st_ino); in run()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_ns06.c82 if (my_stat.st_ino != parent_stat.st_ino) in run()
84 else if (parent_stat.st_ino == child_stat.st_ino) in run()
Dioctl_ns05.c86 if (my_stat.st_ino != parent_stat.st_ino) in run()
88 else if (parent_stat.st_ino == child_stat.st_ino) in run()
/third_party/toybox/toys/pending/
Dlsof.c46 ino_t st_ino; member
59 if (TT.sought_files[i].st_ino==fi->st_ino) break; in print_info()
133 fi->st_ino = inode; in add_socket()
236 if (s->st_ino == inode) { in find_socket()
268 if (S_ISSOCK(sb.st_mode)) find_socket(fi, sb.st_ino); in fill_stat()
282 snprintf(fi->node, sizeof(fi->node), "%ld", (long)sb.st_ino); in fill_stat()
286 fi->st_ino = sb.st_ino; in fill_stat()
/third_party/ltp/testcases/kernel/syscalls/vfork/
Dvfork01.c225 if ((StatPbuf.st_ino != StatCbuf.st_ino) || in main()
241 if ((Stat_cwd_Pbuf.st_ino != in main()
242 Stat_cwd_Cbuf.st_ino) || in main()
/third_party/toybox/porting/liteos_a/toys/posix/
Ddu.c83 if(new->ino == st->st_ino && new->dev == st->st_dev) in seen_inode()
87 new->ino = st->st_ino; in seen_inode()
111 if (node->st.st_dev==try->st.st_dev && node->st.st_ino==try->st.st_ino) in do_du()
/third_party/ltp/testcases/kernel/syscalls/rename/
Drename13.c123 if (buf2.st_dev != olddev || buf2.st_ino != oldino) { in main()
132 if (buf1.st_dev != olddev || buf1.st_ino != oldino) { in main()
168 oldino = buf1.st_ino; in setup()
Drename01.c143 buf1.st_ino != *TC[i].oldino) { in main()
196 f_oldino = buf1.st_ino; in setup()
204 d_oldino = buf1.st_ino; in setup()
Drename03.c140 buf2.st_ino != *TC[i].oldino) { in main()
204 f_oldino = buf1.st_ino; in setup2()
213 d_oldino = buf1.st_ino; in setup2()
Drename05.c147 oldino = buf1.st_ino; in setup()
160 oldino1 = buf2.st_ino; in setup()
Drename04.c157 oldino = buf1.st_ino; in setup()
168 oldino1 = buf2.st_ino; in setup()
Drename07.c132 oldino = buf1.st_ino; in setup()
140 oldino1 = buf2.st_ino; in setup()
Drename06.c147 oldino = buf1.st_ino; in setup()
159 oldino1 = buf2.st_ino; in setup()
/third_party/mesa3d/src/util/
Du_hash_table.c66 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_fd()
84 stat1.st_ino == stat2.st_ino && in equal_fd()
/third_party/toybox/toys/posix/
Ddu.c97 if(new->ino == st->st_ino && new->dev == st->st_dev) in seen_inode()
101 new->ino = st->st_ino; in seen_inode()
127 if (node->st.st_dev==try->st.st_dev && node->st.st_ino==try->st.st_ino) in do_du()
Dpwd.c44 if (stat(pwd, &st1) || stat(PWD, &st2) || st1.st_ino != st2.st_ino || in pwd_main()
/third_party/python/Python/
Dbootstrap_hash.c294 ino_t st_ino; member
342 || st.st_ino != urandom_cache.st_ino) { in dev_urandom()
376 urandom_cache.st_ino = st.st_ino; in dev_urandom()
/third_party/node/test/wasi/c/
Dlink.c15 assert(st_old.st_ino == st_new.st_ino); in main()
/third_party/musl/src/misc/
Dget_current_dir_name.c12 && (a.st_dev == b.st_dev) && (a.st_ino == b.st_ino)) in get_current_dir_name()
/third_party/rust/crates/rustix/src/io/
Dprocfs.rs111 if stat.st_ino != PROC_ROOT_INO { in check_proc_root()
161 if stat.st_ino == PROC_ROOT_INO { in check_proc_nonroot()
433 if (dot_stat.st_dev, dot_stat.st_ino) != (dir_stat.st_dev, dir_stat.st_ino) { in open_and_check_file()
441 if entry.ino() == file_stat.st_ino in open_and_check_file()
450 } else if entry.ino() == dir_stat.st_ino in open_and_check_file()
/third_party/musl/src/unistd/
Dttyname_r.c24 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) in ttyname_r()
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c49 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_file_description()
86 stat1.st_ino == stat2.st_ino && in equal_file_description()
/third_party/toybox/toys/other/
Dmountpoint.c61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
/third_party/node/src/
Dnode_binding.cc121 uint64_t st_ino; member
128 std::hash<uint64_t>()(wrap->st_ino); in operator ()()
135 return a->st_dev == b->st_dev && a->st_ino == b->st_ino; in operator ()()
164 req.statbuf.st_ino, in wrapped_dlopen()
181 wrap->st_ino = req.statbuf.st_ino; in wrapped_dlopen()
/third_party/flutter/engine/flutter/tools/fuchsia/
Dcopy_path.py26 return s1.st_ino == s2.st_ino and s1.st_dev == s2.st_dev

1234567891011