Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/coreutils/
Dtouch.c133 struct stat stbuf; in touch_main() local
134 xstat(reference_file, &stbuf); in touch_main()
135 timebuf[0].tv_sec = stbuf.st_atime; in touch_main()
136 timebuf[1].tv_sec = stbuf.st_mtime; in touch_main()
137 timebuf[0].tv_nsec = stbuf.st_atim.tv_nsec; in touch_main()
138 timebuf[1].tv_nsec = stbuf.st_mtim.tv_nsec; in touch_main()
/busybox-1.35.0/util-linux/
Dmkswap.c45 struct stat stbuf; in mkswap_selinux_setcontext() local
50 xfstat(fd, &stbuf, path); in mkswap_selinux_setcontext()
51 if (S_ISREG(stbuf.st_mode)) { in mkswap_selinux_setcontext()
59 if (matchpathcon(path, stbuf.st_mode, &oldcon) < 0) in mkswap_selinux_setcontext()
/busybox-1.35.0/selinux/
Dsestatus.c143 struct stat stbuf; in display_verbose() local
147 if (lstat(fc[i], &stbuf) == 0) { in display_verbose()
148 if (S_ISLNK(stbuf.st_mode)) { in display_verbose()
Dchcon.c67 struct stat *stbuf UNUSED_PARAM) in change_filedir_context()
/busybox-1.35.0/findutils/
Dfind.c1537 struct stat stbuf; in parse_params() local
1541 xstat(arg1, &stbuf); in parse_params()
1542 else if (lstat(arg1, &stbuf)) in parse_params()
1545 ap->inode_num = stbuf.st_ino; in parse_params()
1546 ap->device = stbuf.st_dev; in parse_params()
1690 struct stat stbuf; in find_main() local
1697 if (stat(argv[i], &stbuf) == 0) in find_main()
1698 G.xdev_dev[i] = stbuf.st_dev; in find_main()
/busybox-1.35.0/miscutils/
Dless.c667 struct stat stbuf; in update_num_lines() local
684 if (fstat(fd, &stbuf) != 0 || !S_ISREG(stbuf.st_mode)) { in update_num_lines()