Home
last modified time | relevance | path

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

1234567

/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c92 nss_status_t lstat; in getbyname() local
170 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, in getbyname()
173 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyname()
176 argp->h_errno = __nss2herrno(lstat); in getbyname()
177 return ((nss_status_t)lstat); in getbyname()
195 nss_status_t lstat; in getbyaddr() local
226 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, in getbyaddr()
229 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyaddr()
232 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
233 return ((nss_status_t)lstat); in getbyaddr()
H A Dgethostent.c273 nss_status_t lstat; in getbyname() local
352 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, searchfilter, in getbyname()
354 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyname()
357 argp->h_errno = __nss2herrno(lstat); in getbyname()
358 return ((nss_status_t)lstat); in getbyname()
379 nss_status_t lstat; in getbyaddr() local
402 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, searchfilter, in getbyaddr()
404 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyaddr()
407 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
408 return ((nss_status_t)lstat); in getbyaddr()
H A Dgetgrent.c289 nss_status_t lstat; in getbymember() local
319 lstat = (nss_status_t)_nss_ldap_nocb_lookup(be, NULL, in getbymember()
321 if (lstat != (nss_status_t)NS_LDAP_SUCCESS) in getbymember()
322 return ((nss_status_t)lstat); in getbymember()
347 lstat = (nss_status_t)_nss_ldap_nocb_lookup(be, NULL, in getbymember()
349 if (lstat != (nss_status_t)NS_LDAP_SUCCESS) in getbymember()
350 return ((nss_status_t)lstat); in getbymember()
/titanic_50/usr/src/cmd/make/lib/vroot/
H A Dlstat.cc30 extern int lstat(const char *path, struct stat *buf);
37 vroot_result= lstat(path, vroot_args.lstat.buffer); in lstat_thunk()
43 vroot_args.lstat.buffer= buffer; in lstat_vroot()
/titanic_50/usr/src/lib/libast/common/comp/
H A Dlstat.c29 NoN(lstat)
34 lstat(const char* path, struct stat* st)
/titanic_50/usr/src/lib/libnisdb/
H A Dnis_db.cc509 int lstat; in dbFindObject() local
547 WRITELOCKNR(mindex, lstat, "mindex w dbFindObject"); in dbFindObject()
548 if (lstat != 0) { in dbFindObject()
560 WRITEUNLOCKNR(mindex, lstat, "mindex wu dbFindObject"); in dbFindObject()
575 WRITEUNLOCKNR(mindex, lstat, "mindex wu dbFindObject"); in dbFindObject()
576 if (lstat != 0) { in dbFindObject()
660 int lstat = LDAP_SUCCESS; in findObj() local
671 o = ldapFindObj(0, name, &lstat); in findObj()
673 if (lstat != LDAP_SUCCESS && in findObj()
674 lstat != LDAP_NO_SUCH_OBJECT) in findObj()
[all …]
H A Ddb_mindex3.cc340 int lstat; in entriesFromLDAPreal() local
466 lstat = lockTransLog(myself, 1, 1); in entriesFromLDAPreal()
467 if (lstat != 0) { in entriesFromLDAPreal()
468 if (lstat == EBUSY) in entriesFromLDAPreal()
475 myself, lstat, NIL(t->objName)); in entriesFromLDAPreal()
913 WRITEUNLOCKNR(((db *)mindex->getDbPtr()), lstat, in entriesFromLDAPreal()
922 if (lstat != 0) in entriesFromLDAPreal()
924 "%s: Error %d unlocking db", myself, lstat); in entriesFromLDAPreal()
H A Ddb_mindex2.cc165 int lstat = LDAP_SUCCESS; in updateMappingObj() local
175 o = ldapFindObj(t, objName, &lstat); in updateMappingObj()
204 } else if (lstat != LDAP_SUCCESS) { in updateMappingObj()
207 myself, lstat, NIL(objName)); in updateMappingObj()
1648 int lstat, lck = 1; in storeLDAP() local
1656 WRITELOCKNR(table, lstat, in storeLDAP()
1658 if (lstat == 0) { in storeLDAP()
1662 WRITEUNLOCKNR(table, lstat, in storeLDAP()
1665 if (lstat != 0) { in storeLDAP()
1668 myself, lck?"L":"Unl", lstat, in storeLDAP()
/titanic_50/usr/src/uts/sparc/sys/
H A Dstat_impl.h55 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
69 extern int lstat(), mknod();
/titanic_50/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c257 static cfga_err_t stat_plugin_v2(list_stat_t *lstat, lib_loc_t *libloc_p,
259 static cfga_err_t stat_plugin_v1(list_stat_t *lstat, lib_loc_t *libloc_p,
570 list_stat_t lstat = {NULL}; in config_stat() local
588 lstat.countp = &nstat; in config_stat()
589 lstat.opts = options; in config_stat()
590 lstat.errstr = errstring; in config_stat()
591 lstat.shp_errstr = NULL; in config_stat()
595 lstat.use_vers.v_max = lstat.use_vers.v_min = CFGA_HSL_V1; in config_stat()
597 rc = stat_common(num_ap_ids, ap_ids, NULL, &lstat); in config_stat()
599 assert(*lstat.countp == num_ap_ids); in config_stat()
[all …]
/titanic_50/usr/src/cmd/mkdir/
H A Dmkdir.c165 if (lstat(d, &buf) != -1) { in main()
180 if (lstat(d, &buf) != -1) { in main()
229 (void) lstat(d, &buf); in main()
262 (void) lstat(d, &buf); in main()
/titanic_50/usr/src/uts/intel/sys/
H A Dstat_impl.h54 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
69 extern int lstat();
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dgetcwd.c107 if (lstat(up, &s)) in getcwd()
148 if (!(dir = opendir(up)) || lstat(up,&s)) in getcwd()
176 if (lstat(up, &s)) { in getcwd()
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c97 stat_com(int lstat, char *path, struct stat *buf) in stat_com() argument
101 int follow = lstat? AT_SYMLINK_NOFOLLOW : 0; in stat_com()
117 ret = stat_com(lstat, "/etc/mnttab", buf); in stat_com()
/titanic_50/usr/src/lib/libc/port/sys/
H A Dstat.c95 #pragma weak _lstat = lstat
97 lstat(const char *name, struct stat *sb) in lstat() function
/titanic_50/usr/src/uts/common/sys/
H A Dstat.h168 #pragma redefine_extname lstat lstat64
178 #define lstat lstat64
196 #pragma redefine_extname lstat64 lstat
206 #define lstat64 lstat
/titanic_50/usr/src/tools/scripts/
H A Dvalidate_pkg.py362 lstat = os.lstat(path)
363 mode = lstat.st_mode
392 if lstat.st_nlink > 1:
397 self.hardkey = lstat.st_ino
672 stat.S_ISREG(os.lstat(os.path.join(mdir, mfile)).st_mode)):
/titanic_50/usr/src/ucbcmd/chown/
H A Dchown.c139 if (lstat(argv[c], &stbuf) < 0) { in main()
194 if (lstat(dp->d_name, &st) < 0) { in chownr()
/titanic_50/usr/src/lib/libast/common/path/
H A Dpathstat.c41 return(lstat(path, st)); in pathstat()
/titanic_50/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c110 if (lstat(dir, &sb) < 0) { in validate_dir()
228 if (lstat(timestampfile, &sb) == 0 && sb.st_size != 0) { in pam_sm_authenticate()
366 if (lstat(timestampfile, &sb) == 0) { in pam_sm_setcred()
/titanic_50/usr/src/cmd/sh/
H A Dtest.c41 extern int lstat();
240 int (*statf)() = (field == S_IFLNK) ? lstat : stat; in filtyp()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c332 if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) {
748 if (lstat(target, &stb) < 0) {
859 if (lstat(target, &stb) == 0) {
1025 (void) lstat(new, &stb);
1089 if (lstat(target, &stb) == 0) {
1105 if (exists && lstat(oldname, &nstb) == 0 &&
1145 if (lstat(name, &stb) < 0) {
1270 else if (lstat(target, &stb) < 0)
1354 if (lstat(target, &stb) < 0) {
1432 if (lstat(target, &stb) < 0) {
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/
H A Dstat.c57 int lstat(path, buf) in lstat() function
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/
H A Dstat.c56 int lstat(path, buf) in lstat() function
/titanic_50/usr/src/lib/libc/i386/sys/
H A Dxstat.c59 return (lstat(path, statb)); in _lxstat()

1234567