/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 352 struct stat st; local 354 if (fstat(fp->f_file, &st) == 0) 355 return st.st_size;
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 189 get_realfile(char *&path, struct stat *st) argument 197 if (err = lstat(path, st) < 0) { 201 if (!err && S_ISLNK(st->st_mode)) {
|
H A D | main.cc | 87 struct stat st; local 302 get_realfile(realfile, &st); 374 if (chmod(realfile, (int)st.st_mode) < 0) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslogtab.c | 374 struct stat st; local 378 if ((fstat(fileno(fd), &st) == 0) && 380 (utmpxp->ut_xtime > st.st_mtime)) {
|
H A D | nfslog_config.c | 193 struct stat st; local 199 if (stat(NFSL_CONFIG_FILE_PATH, &st) == -1) { 213 if (config_last_modification.tv_sec == st.st_mtim.tv_sec && 214 config_last_modification.tv_nsec == st.st_mtim.tv_nsec) 243 struct stat st; local 332 if (error = fstat(fileno(fp), &st)) { 344 config_last_modification = st.st_mtim;
|
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 235 struct stat st; local 240 if (stat(path, &st) != -1 && 241 (st.st_mode & S_IFMT) == S_IFDIR) {
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 211 struct stat st; local 223 if (recv_peek_ok < 0 && !fstat(fd, &st) && !S_ISSOCK(st.st_mode))
|
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | bootconf.h | 106 extern int bop_fstat(int fd, struct bootstat *st); 126 #define BOP_FSTAT(bop, fd, st) bop_fstat(fd, st)
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 743 sect_trailer_t *st; local 760 st = (sect_trailer_t *)(bp->b_un.b_addr + bp->b_bcount); 762 st->st_tid = ul->un_logmap->mtm_tid; 763 st->st_ident = ul->un_tail_ident++; 895 sect_trailer_t *st; local 928 st = (sect_trailer_t *) 929 ((bp->b_un.b_addr + bcount) - sizeof (*st)); 930 st->st_tid = ul->un_logmap->mtm_tid; 931 st->st_ident = ul->un_tail_ident++; 1385 sect_trailer_t *st; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | trestore.c | 146 slp->slnext = shp->st.staklist; 147 shp->st.staklist = 0; 151 if(shp->st.filename) 152 fp->functnam = stkcopy(shp->stk,shp->st.filename); 156 slp->slchild = shp->st.staklist;
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strlcpy.s | 96 st %l1, [%i2 + %g4] ! dst[] = src[] 100 srl %l1, 24, %g1 ! 1st byte 127 srl %l1, 24, %g1 ! 1st byte 165 sll %i5, 24, %i5 ! mask 1st byte = 0xff000000 191 srl %l1, 24, %g1 ! get 1st byte, then be hw aligned
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vatan2.S | 242 st %f26,[%l6] 247 st %f27,[%l6+4] 527 st %f6,[%l4] 530 st %f7,[%l4+4] 549 st %f16,[%l5] 552 st %f17,[%l5+4] 566 st %f26,[%l6] 567 st %f27,[%l6+4] 664 st %f0,[%fp+yscl] 666 st [all...] |
H A D | __vrhypot.S | 285 st %i0,[%fp+tmp_counter] 310 st %g0,[%fp+tmp_counter] 475 st %f14,[%fp+ftmp0] ! (7_1) iarr = ((int*)&dres)[0]; 552 st %f22,[%fp+ftmp0] ! (0_0) iarr = ((int*)&dres)[0]; 632 st %f18,[%fp+ftmp0] ! (1_0) iarr = ((int*)&dres)[0]; 716 st %f14,[%fp+ftmp0] ! (2_0) iarr = ((int*)&dres)[0]; 805 st %f22,[%fp+ftmp0] ! (3_0) iarr = ((int*)&dres)[0]; 898 st %f24,[%fp+ftmp0] ! (4_0) iarr = ((int*)&dres)[0]; 993 st %f16,[%fp+ftmp0] ! (5_1) iarr = ((int*)&dres)[0]; 998 st [all...] |
H A D | __vexp.S | 809 st %f6,[%l3] ! store previous loop x0 812 st %f7,[%l3+4] ! store previous loop x0 815 st %f16,[%l4] 820 st %f17,[%l4+4] 823 st %f26,[%l5] 826 st %f27,[%l5+4] 857 st %f8,[%fp+m0] ! store k, to shift return/use 861 st %f18,[%fp+m1] ! store k, to shift return/use 865 st %f28,[%fp+m2] ! store k, to shift return/use 1033 st [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterAdd.java | 488 StringTokenizer st = new StringTokenizer(o); 489 if (st.countTokens() == 0) { 492 psfilters = new String[st.countTokens()]; 493 for (i = 0; st.hasMoreTokens(); i++) { 494 psfilters[i] = st.nextToken();
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 554 ct_stathdl_t st; local 568 (errno = ct_status_read(stfd, CTD_FIXED, &st)) || 569 (errno = ct_pr_status_get_fatal(st, &eff_fatal)) || 570 (errno = ct_pr_status_get_param(st, &eff_param))) 573 ct_status_free(st);
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 414 struct stat64 st; local 431 if (fstat64(fd, &st) == -1) { 443 if (!(flags & FCREAT) && stat64(realpath, &st) == -1) 473 if (fstat64(fd, &st) == -1) { 483 vp->v_size = st.st_size; 562 struct stat64 st; local 564 if (fstat64(vp->v_fd, &st) == -1) { 569 vap->va_size = st.st_size; 783 struct stat64 st; local 786 if (fstat64(vp->v_fd, &st) [all...] |
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvMsg.java | 140 StringTokenizer st = new StringTokenizer(rq, "/", true); 146 st.nextToken().trim().toLowerCase() + ":"; 151 st.nextToken(); // get rid of slash. 155 String scope = st.nextToken().trim().toLowerCase(); 165 st.nextToken(); // get rid of slash. 192 while (st.hasMoreTokens()) { 193 q = q + st.nextToken();
|
/illumos-gate/usr/src/uts/intel/ia32/ml/ |
H A D | float.s | 117 fdivr %st(1), %st 118 fxch %st(1) 312 0: ffree %st(7) /* clear tag bit to remove possible stack overflow */ 340 0: ffree %st(7) /* clear tag bit to remove possible stack overflow */ 373 0: ffree %st(7) /* clear tag bit to remove possible stack overflow */ 400 0: ffree %st(7) /* clear tag bit to remove possible stack overflow */
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 504 net_time_t *st, net_time_t *et, char *stime, char *etime) 506 bzero(st, sizeof (net_time_t)); 513 dissect_time(stime, st); 518 return (chk_time_bound(stime == NULL ? NULL : st, 528 * an entry that is greater or equal to st. lasttime will point to the 533 net_time_t *st, char *stime, uint64_t *lasttime) 548 if (compare_time(st, 1043 net_time_t st, et; local 1068 net_table->net_ctime_tail, &st, &et, stime, etime); 1083 get_starting_point(start, &start, &st, stim 503 get_time_range(net_time_entry_t *head, net_time_entry_t *tail, net_time_t *st, net_time_t *et, char *stime, char *etime) argument 532 get_starting_point(net_time_entry_t *head, net_time_entry_t **start, net_time_t *st, char *stime, uint64_t *lasttime) argument 1191 net_time_t st, et, *t1; local 1370 net_time_t st; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex2.cc | 879 int st; local 917 if (x == 0 || (st = objFromLDAP(x, &o, 0, 0)) != 923 ldap_err2string(st)); 962 st = updateTableEntry(e, 1, t->objName, o, 0, 964 if (st == LDAP_SUCCESS) { 966 } else if (st == LDAP_COMPARE_TRUE) { 968 st = LDAP_SUCCESS; 973 ldap_err2string(st)); 975 stat = st; 997 int st; local [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 1662 int us, st = (alp->al_flags & (FMD_ASRU_FAULTY | FMD_ASRU_UNUSABLE)); local 1678 return (st | FMD_ASRU_UNUSABLE); 1682 return (st | FMD_ASRU_UNUSABLE); 1686 st |= (alp->al_flags & (FMD_ASRU_DEGRADED | FMD_ASRU_PRESENT)); 1688 st |= (alp->al_flags & (FMD_ASRU_DEGRADED)) | FMD_ASRU_PRESENT; 1704 st |= FMD_ASRU_UNUSABLE; 1706 st &= ~FMD_ASRU_UNUSABLE; 1709 st &= ~FMD_ASRU_DEGRADED; 1710 st |= FMD_ASRU_UNUSABLE; 1712 st 1735 int us, st, p = -1; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | tls.c | 149 struct stat st; local 160 if (fstat(fd, &st) < 0) 175 if (st.st_mtime + 600 < curtime()) 187 if (use && st.st_size < MIN_RAND_BYTES) 217 RAND_seed((void *) &st, sizeof(st)); 425 ** st -- status bit to set if ok 433 # define TLS_OK_F(var, fn, req, st, type) if (ok) \ 437 status |= st; \ 467 ** st [all...] |
H A D | queue.c | 22 # define ST_INODE(st) (st).st_ino 3924 struct stat st, stf; local 3999 fstat(sm_io_getinfo(qfp, SM_IO_WHAT_FD, NULL), &st) < 0) 4009 if (st.st_nlink != stf.st_nlink || 4010 st.st_dev != stf.st_dev || 4011 ST_INODE(st) != ST_INODE(stf) || 4013 st.st_gen != stf.st_gen || 4015 st.st_uid != stf.st_uid || 4016 st 4823 struct stat st; local 4888 struct stat st; local 6365 struct stat st; local 7031 struct stat st; local [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdebug.c | 754 { Vmstat_t st; local 757 vmstat(vm ? vm : Vmregion, &st); 760 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_busy,-1), ','); 762 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.s_busy),-1), '\n'); 764 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_free,-1), ','); 766 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.s_free),-1), '\n'); 768 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.m_busy),-1), ','); 770 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.m_free),-1), '\n'); 772 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_seg,-1), ','); 774 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st [all...] |