Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 25 of 121) sorted by relevance

12345

/dragonfly/contrib/lvm2/dist/lib/activate/
HDfs.c102 if (!lstat(path, &buf)) { in _rm_blks()
115 if (!lstat(path, &buf)) { in _rm_blks()
160 if (!lstat(raw_lv_path, &buf)) { in _mk_link()
206 if (!lstat(lvm1_group_path, &buf)) { in _mk_link()
219 if (!lstat(lv_path, &buf)) { in _mk_link()
283 if (lstat(raw_lv_path, &buf) || !S_ISLNK(buf.st_mode)) { in _rm_link()
302 if (lstat(lv_path, &buf) && errno == ENOENT) in _rm_link()
/dragonfly/bin/pax/
HDfile_subs.c177 if (lstat(arcn->ln_name, &sb) < 0) { in lnk_creat()
235 if (lstat(arcn->name, &sb) < 0) in chk_same()
274 if (lstat(from, &sb) == 0) { in mk_link()
457 if (lstat(arcn->name, &sb) < 0) { in node_creat()
508 if (lstat(name, &sb) < 0) in unlnk_exist()
582 if (lstat(name, &sb) == 0) { in chk_path()
613 (lstat(name, &sb) == 0)) { in chk_path()
648 if (lstat(fnm, &sb) == 0) { in set_ftime()
HDar_subs.c205 if ((uflag || Dflag) && ((lstat(arcn->name, &sb) == 0))) { in extract()
241 if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) { in extract()
812 res = lstat(dirbuf, &sb); in copy()
848 if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) { in copy()
/dragonfly/bin/mv/
HDmv.c131 if (lstat(argv[1], &sb) == 0 && S_ISLNK(sb.st_mode)) in main()
183 if (lstat(from, &sb) == -1) { in do_move()
230 if (!lstat(to, &sb) && S_ISREG(sb.st_mode)) in do_move()
236 if (lstat(from, &sb) == -1) { in do_move()
270 if (lstat(from, &sb)) { in do_move()
374 if (lstat(to, &sb) == 0) { in copy()
/dragonfly/gnu/usr.bin/grep/libgreputils/sys/
HDstat.h774 # define lstat stat macro
776 _GL_CXXALIAS_RPL_1 (lstat, stat, int, (const char *name, struct stat *buf));
779 # undef lstat
780 # define lstat rpl_lstat macro
782 _GL_FUNCDECL_RPL (lstat, int, (const char *name, struct stat *buf)
784 _GL_CXXALIAS_RPL (lstat, int, (const char *name, struct stat *buf));
786 _GL_CXXALIAS_SYS (lstat, int, (const char *name, struct stat *buf));
789 _GL_CXXALIASWARN (lstat);
792 # undef lstat
794 _GL_WARN_ON_USE (lstat, "lstat is unportable - "
/dragonfly/contrib/cvs-1.12/lib/
HDlstat.h22 # undef lstat
23 # define lstat rpl_lstat macro
/dragonfly/bin/ln/
HDln.c148 if (hflag && lstat(targetdir, &sb) == 0 && S_ISLNK(sb.st_mode)) { in main()
223 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit()
240 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) || in linkit()
282 exists = !lstat(target, &sb); in linkit()
/dragonfly/contrib/binutils-2.34/libiberty/
HDunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
/dragonfly/contrib/gcc-4.7/libiberty/
HDunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
/dragonfly/contrib/gcc-8.0/libiberty/
HDunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
/dragonfly/contrib/binutils-2.27/libiberty/
HDunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
/dragonfly/contrib/gdb-7/libiberty/
HDunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0 in unlink_if_ordinary()
/dragonfly/usr.sbin/pw/
HDrm_r.c53 if (lstat(file, &st) == 0) { /* Need symlinks, not in rm_r()
65 if (lstat(dir, &st) == 0) { in rm_r()
/dragonfly/sbin/hammer2/
HDcmd_setcheck.c77 if (lstat(*paths, &st) == 0) { in cmd_setcheck()
140 if (lstat(path, st) == 0) in cmd_setcheck_core()
HDcmd_setcomp.c111 if (lstat(*paths, &st) == 0) { in cmd_setcomp()
176 if (lstat(path, st) == 0) in cmd_setcomp_core()
/dragonfly/contrib/cvs-1.12/src/
HDfilesubr.c142 if ((lstat (file, &sb) >= 0) && S_ISLNK (sb.st_mode)) in islink()
159 if (lstat (file, &sb) < 0) in isdevice()
574 if (lstat (file1, &sb1) < 0) in xcmp()
576 if (lstat (file2, &sb2) < 0) in xcmp()
/dragonfly/contrib/binutils-2.34/binutils/
HDrename.c130 #define lstat stat macro
144 exists = lstat (to, &s) == 0; in smart_rename()
/dragonfly/contrib/binutils-2.27/binutils/
HDrename.c130 #define lstat stat macro
144 exists = lstat (to, &s) == 0; in smart_rename()
/dragonfly/lib/libc/gen/
HDgetdevpath.c66 if (lstat(path, &st) < 0) { in getdevpath()
83 if (stgood == 0 && lstat(path, &st) == 0) in getdevpath()
/dragonfly/lib/libc/stdio/
HDremove.c47 if (lstat(file, &sb) < 0) in remove()
/dragonfly/bin/rm/
HDrm.c360 if (lstat(f, &sb)) { in rm_file()
438 if (lstat(file, &sb)) in rm_overwrite()
587 if (lstat(argv[i], &st) == 0) { in check2()
/dragonfly/test/stress/fsstress/
HDglobal.h76 #define lstat64 lstat
/dragonfly/lib/libutil/
HD_secure_path.c51 if (lstat(path, &sb) < 0) { in _secure_path()
/dragonfly/lib/libhammer/
HDcompat.c81 if (lstat(fpath, &st) == 0 && in libhammer_compat_old_snapcount()
/dragonfly/sbin/hammer/
HDcmd_pfs.c75 if (lstat(path, &st)) in getlink()
83 lstat(linkpath, &st); in getlink()
272 if (lstat(path, &st) == 0) { in hammer_cmd_pseudofs_create()

12345