/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathstat.c | 33 pathstat(const char* path, struct stat* st) argument 39 if (!stat(path, st)) return(0); 41 return(lstat(path, st)); 43 return(stat(path, st));
|
H A D | pathshell.c | 58 struct stat st; local 66 if (stat(sh, &st)) 68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)")) 84 if (stat(s, &st)) 86 if (ru != eu && st.st_uid == ru) 88 if (rg != eg && st.st_gid == rg)
|
H A D | pathcheck.c | 56 struct stat st; local 58 if (strmatch(tool, PARANOID) && environ && (s = *environ) && *s++ == '_' && *s++ == '=' && !stat(s, &st)) 65 o = st.st_ctime;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | lvm.c | 32 struct stat st; local 40 err = stat (devname, &st);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | makebuf.c | 99 struct stat st; local 101 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0) 109 *couldbetty = S_ISCHR(st.st_mode); 110 if (st.st_blksize == 0) 117 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE) 118 st.st_blksize = SM_IO_MAX_BUF_FILE; 122 if (!S_ISREG(st.st_mode)) 125 if (st.st_blksize > SM_IO_MAX_BUF) 126 st [all...] |
H A D | fseek.c | 88 struct stat st; local 202 fp->f_file < 0 || fstat(fp->f_file, &st) || 203 (st.st_mode & S_IFMT) != S_IFREG) 208 fp->f_blksize = st.st_blksize; 221 if (fstat(fp->f_file, &st)) 223 target = st.st_size + offset;
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | memfatal.c | 50 Vmstat_t st; local 59 vmstat(region, &st); 60 error(ERROR_SYSTEM|3, "storage allocator out of space on %lu byte request ( region %lu segments %lu busy %lu:%lu:%lu free %lu:%lu:%lu )", (size_t)obj, st.extent, st.n_seg, st.n_busy, st.s_busy, st.m_busy, st.n_free, st.s_free, st [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | mimetype.c | 51 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument 68 return magictype(mp->magic, fp, file, st);
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfsize.c | 68 { sfstat_t st; local 69 if(sysfstatf(f->file,&st) < 0) 71 else if((f->extent = st.st_size) < f->here)
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtdev.c | 35 fmtdev(struct stat* st) argument 40 unsigned int ma = major(idevice(st)); 41 unsigned int mi = minor(idevice(st));
|
H A D | fmtfs.c | 40 fmtfs(struct stat* st) argument 42 return st->st_fstype; 57 fmtfs(struct stat* st) argument 75 else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) 80 while ((mnt = mntread(mp)) && (stat(mnt->dir, &rt) || rt.st_dev != st->st_dev));
|
H A D | fmtls.c | 43 * st file stat buffer 52 fmtls(char* buf, const char* name, register struct stat* st, const char* info, const char* link, register int flags) argument 60 s += sfsprintf(s, LS_W_MAX, "%*I*u ", LS_W_INUMBER - 1, sizeof(st->st_ino), st->st_ino); 63 n = iblocks(st); 68 s += sfsprintf(s, LS_W_MAX, "%s%3u", fmtmode(st->st_mode, flags & LS_EXTERNAL), (unsigned int)st->st_nlink); 72 s += sfsprintf(s, LS_W_MAX, " %-*I*d", LS_W_NAME - 1, sizeof(st->st_uid), st->st_uid); 74 s += sfsprintf(s, LS_W_MAX, " %-*s", LS_W_NAME - 1, fmtuid(st [all...] |
/osnet-11/usr/src/lib/libast/common/vec/ |
H A D | vecfile.c | 45 struct stat st; local 50 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1, 0)))
|
/osnet-11/usr/src/lib/libgen/common/ |
H A D | rmdirp.c | 56 struct stat64 st, cst; local 100 if (stat64(d, &st) < 0) { 106 if ((st.st_ino == cst.st_ino) && 107 (st.st_dev == cst.st_dev)) {
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | gross.c | 35 extern int fstat(int fd, struct stat* st) argument 38 return __fxstat(_STAT_VER, fd, st); 40 return _fxstat(_STAT_VER, fd, st); 44 extern int lstat(const char* path, struct stat* st) argument 47 return __lxstat(_STAT_VER, path, st); 49 return _lxstat(_STAT_VER, path, st); 53 extern int stat(const char* path, struct stat* st) argument 56 return __xstat(_STAT_VER, path, st); 58 return _xstat(_STAT_VER, path, st); 66 extern int fstat64(int fd, struct stat64* st) argument 75 lstat64(const char* path, struct stat64* st) argument 84 stat64(const char* path, struct stat64* st) argument [all...] |
H A D | nftw.c | 38 struct stat st; local 42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st)))
|
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | iblocks.c | 50 #define B_SIZE BSIZE(st->st_dev) 51 #define B_INDIRECT NINDIR(st->st_dev) 72 _iblocks(register struct stat* st) argument 76 return (st->st_blocks <= 0 || st->st_size <= 0) ? 0 : st->st_blocks; 82 t = b = (st->st_size + B_SIZE - 1) / B_SIZE;
|
H A D | astcopy.c | 58 struct stat st; local 67 if (!fstat(rfd, &st) && S_ISREG(st.st_mode) && (pos = lseek(rfd, (off_t)0, 1)) != ((off_t)-1)) 69 if (pos >= st.st_size) return(0); 70 mapsize = st.st_size - pos;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ftok.c | 46 struct stat64 st; local 51 if (stat64(path, &st) < 0) 69 devpiece = st.st_dev & 0xfff; 72 ((uint32_t)st.st_ino & 0x0fff)));
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_krbcontainer.c | 78 krb5_error_code st=0, tempst=0; local 95 if ((st=profile_get_string(context->profile, KDB_MODULE_SECTION, ldap_context->conf_section, 98 krb5_set_error_message(context, st, 107 if ((st=profile_get_string(context->profile, KDB_MODULE_DEF_SECTION, 110 krb5_set_error_message(context, st, 123 st = KRB5_KDB_SERVER_INTERNAL_ERR; 124 krb5_set_error_message(context, st, gettext("Kerberos container location not specified")); 134 if (st != LDAP_SUCCESS && st != LDAP_NO_SUCH_OBJECT) { 135 st [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/efi/ |
H A D | lsefisystab.c | 51 const grub_efi_system_table_t *st = grub_efi_system_table; local 56 st->hdr.signature, st->hdr.revision); 62 for (vendor_utf16 = st->firmware_vendor; *vendor_utf16; vendor_utf16++); 63 vendor = grub_malloc (4 * (vendor_utf16 - st->firmware_vendor) + 1); 66 *grub_utf16_to_utf8 ((grub_uint8_t *) vendor, st->firmware_vendor, 67 vendor_utf16 - st->firmware_vendor) = 0; 72 grub_printf (", Version=%x\n", st->firmware_revision); 74 grub_printf ("%ld tables:\n", st->num_table_entries); 75 t = st [all...] |
H A D | lssal.c | 135 const grub_efi_system_table_t *st = grub_efi_system_table; local 136 grub_efi_configuration_table_t *t = st->configuration_table; 140 for (i = 0; i < st->num_table_entries; i++)
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmstat.c | 36 int vmstat(Vmalloc_t* vm, Vmstat_t* st) argument 38 int vmstat(vm, st) 40 Vmstat_t* st; 50 if(!st) 62 st->n_busy = st->n_free = 0; 63 st->s_busy = st->s_free = st->m_busy = st [all...] |
/osnet-11/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 56 struct stat st; local 67 if (stat(sessionlog, &st) == 0) { 68 if (st.st_size > MAX_SESSION_LOG) {
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | copywin.c | 101 cchar_t *st, *tt; local 111 st = s->_line[sminr] + sminc; 122 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) { 124 if (iswspace(st->_wc[0])) 126 *tt = *st;
|