/third_party/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename01.c | 57 TST_EXP_EQ_LU(old_file_st.st_ino, new_file_st.st_ino); in run() 60 TST_EXP_EQ_LU(old_dir_st.st_ino, new_dir_st.st_ino); in run()
|
H A D | rename03.c | 48 TST_EXP_EQ_LU(old_file_st.st_ino, new_file_st.st_ino); in run() 51 TST_EXP_EQ_LU(old_dir_st.st_ino, new_dir_st.st_ino); in run()
|
H A D | rename13.c | 39 TST_EXP_EQ_LU(buf1.st_ino, buf2.st_ino); in run()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl_ns06.c | 84 if (my_stat.st_ino != parent_stat.st_ino) in run() 86 else if (parent_stat.st_ino == child_stat.st_ino) in run()
|
H A D | ioctl_ns05.c | 88 if (my_stat.st_ino != parent_stat.st_ino) in run() 90 else if (parent_stat.st_ino == child_stat.st_ino) in run()
|
/third_party/ltp/testcases/kernel/syscalls/vfork/ |
H A D | vfork01.c | 225 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/ |
H A D | du.c | 83 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/toybox/toys/posix/ |
H A D | du.c | 97 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()
|
H A D | pwd.c | 44 if (stat(pwd, &st1) || stat(PWD, &st2) || st1.st_ino != st2.st_ino || in pwd_main()
|
/third_party/mesa3d/src/util/ |
H A D | u_hash_table.c | 66 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/pending/ |
H A D | lsof.c | 46 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() 284 // Stash st_dev and st_ino for filtering. in fill_stat() 286 fi->st_ino = sb.st_ino; in fill_stat() [all...] |
/third_party/rust/crates/rustix/src/io/ |
H A D | procfs.rs | 111 if stat.st_ino != PROC_ROOT_INO { 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/node/test/wasi/c/ |
H A D | link.c | 15 assert(st_old.st_ino == st_new.st_ino); in main()
|
/third_party/musl/src/misc/ |
H A D | get_current_dir_name.c | 12 && (a.st_dev == b.st_dev) && (a.st_ino == b.st_ino)) in get_current_dir_name()
|
H A D | nftw.c | 38 st.st_dev = st.st_ino = 0; in do_nftw() 68 new.ino = st.st_ino; in do_nftw() 95 if (h->dev == st.st_dev && h->ino == st.st_ino) in do_nftw()
|
/third_party/ltp/testcases/kernel/syscalls/dup/ |
H A D | dup01.c | 27 TST_EXP_EQ_LU(buf1.st_ino, buf2.st_ino); in verify_dup()
|
/third_party/musl/src/unistd/ |
H A D | ttyname_r.c | 24 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) in ttyname_r()
|
/third_party/ltp/testcases/kernel/syscalls/dup2/ |
H A D | dup204.c | 45 TST_EXP_EQ_LU(oldbuf.st_ino, newbuf.st_ino); in run()
|
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/ |
H A D | etnaviv_drm_winsys.c | 49 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/python/Python/ |
H A D | bootstrap_hash.c | 269 ino_t st_ino; member 292 st_dev and st_ino fields of the file descriptor (from fstat()) are cached to 317 || st.st_ino != urandom_cache.st_ino) { in dev_urandom() 351 urandom_cache.st_ino = st.st_ino; in dev_urandom()
|
/third_party/toybox/toys/other/ |
H A D | mountpoint.c | 61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | aarch64.rs | 10 pub st_ino: ::ino_t, 32 pub st_ino: ::ino_t,
|
/third_party/node/src/ |
H A D | node_binding.cc | 124 // functions, and using st_dev and st_ino for the file that is to be loaded 132 uint64_t st_ino; member 139 std::hash<uint64_t>()(wrap->st_ino); in operator ()() 146 return a->st_dev == b->st_dev && a->st_ino == b->st_ino; in operator ()() 175 req.statbuf.st_ino, in wrapped_dlopen() 192 wrap->st_ino = req.statbuf.st_ino; in wrapped_dlopen()
|
/third_party/ffmpeg/libavformat/ |
H A D | os_support.h | 68 _ino_t st_ino; /* inode number */ member 219 buf->st_ino = crtstat->st_ino; in copy_stat()
|
/third_party/musl/src/stat/ |
H A D | fstatat.c | 45 .st_ino = stx.stx_ino, in fstatat_statx() 110 .st_ino = kst.st_ino, in fstatat_kstat()
|