Searched refs:st (Results 176 - 200 of 722) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A Dchain.c46 struct stat st; local
68 if (fstat(fd, &st) == -1) {
73 size = st.st_size;
/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c64 ct_stathdl_t st; local
70 if ((r = ct_status_read(cfd, CTD_COMMON, &st)) != 0) {
75 result = ct_status_get_id(st);
76 ct_status_free(st);
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A Dfpgetrnd.s38 st %fsr, [%sp+ARGPUSH] ! get fsr value
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A Dfpgetrnd.s38 st %fsr, [%sp+STACK_BIAS+ARGPUSH] ! get fsr value
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkdir.c76 struct stat st; local
162 if (stat(name, &st))
167 if ((st.st_mode & (S_ISVTX|S_ISUID|S_ISGID)) != (mode & (S_ISVTX|S_ISUID|S_ISGID)) && chmod(name, mode))
169 error(ERROR_system(0), "%s: cannot change mode from %s to %s", name, fmtperm(st.st_mode & (S_ISVTX|S_ISUID|S_ISGID)), fmtperm(mode));
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dfmodl.s42 fstp %st(1)
H A Dremainderl.s42 fstp %st(1)
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dfmodf.s42 fstp %st(1)
H A Dfmodl.s42 fstp %st(1)
H A Dremainderf.s42 fstp %st(1)
H A Dremainderl.s42 fstp %st(1)
/illumos-gate/usr/src/common/tsol/
H A Dstol.c224 char *st = s; local
235 if (st == NULL) {
241 free(st);
305 datasize = CALL_SIZE_STR(sl_call_t, strlen(st) + 1);
308 free(st);
318 (void) strcpy(slcall.string, st);
353 free(st);
358 free(st);
364 free(st);
/illumos-gate/usr/src/lib/brand/shared/brand/amd64/
H A Dcrt.s65 movq 16(%rbp), %rdi / argc in %rax (1st param)
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterView.java310 StringTokenizer st;
316 st = new StringTokenizer(str);
317 if (st.countTokens() != 0) {
318 file_contents = new String[st.countTokens()];
319 for (i = 0; st.hasMoreTokens(); i++) {
320 file_contents[i] = st.nextToken();
336 st = new StringTokenizer(str);
337 if (st.countTokens() != 0) {
338 user_allow_list = new String[st.countTokens()];
339 for (i = 0; st
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c112 cmd_mem_retirestat_create(fmd_hdl_t *hdl, fmd_stat_t *st, const char *unum, argument
128 (void) snprintf(st->fmds_name, sizeof (st->fmds_name), "%s%s",
130 (void) snprintf(st->fmds_desc, sizeof (st->fmds_desc),
132 st->fmds_type = FMD_TYPE_UINT64;
133 st->fmds_value.ui64 = value;
139 for (c = st->fmds_name; *c != '\0'; c++) {
145 (void) fmd_stat_create(hdl, FMD_STAT_NOALLOC, 1, st);
/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dmain.c130 struct stat st; local
143 if (fstat(fd, &st) != 0) {
150 if (st.st_size == 0) {
157 if ((p = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0))
175 end_p = p + st.st_size;
182 (void) munmap(p, st.st_size);
188 if ((err = tnf_reader_begin(p, st.st_size, &tnf)) != TNF_ERR_NONE) {
191 (void) munmap(p, st.st_size);
210 (void) munmap(p, st.st_size);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dfcntl.c56 struct stat st;
71 op = fstat(fd, &st);
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathcanon.c95 struct stat st; local
98 if (stat(phys, &st))
176 struct stat st; local
179 if (stat(phys, &st))
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetbuf.c56 #define sysfstatf(fd,st) (-1)
104 sfstat_t st; local
208 st.st_mode = 0;
224 if(sysfstatf((int)f->file,&st) < 0)
229 f->blksz = (size_t)st.st_blksize;
232 if(S_ISDIR(st.st_mode) || (Sfoff_t)st.st_size < (Sfoff_t)SF_GRAIN)
234 if(S_ISREG(st.st_mode) || S_ISDIR(st.st_mode))
249 { f->extent = (Sfoff_t)st
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dfault.c91 trap = shp->st.trapcom[sig];
242 shp->st.trapcom = (char**)calloc(n,sizeof(char*));
269 sh.st.otrapcom = 0;
314 register int flag, sig=sh.st.trapmax;
317 if(trap=sh.st.trapcom[sig])
324 sh.st.trapcom[sig] = 0;
338 if(trap=sh.st.trap[sig])
342 sh.st.trap[sig] = 0;
346 sh.st.trapcom[0] = 0;
348 sh.st
[all...]
H A Dmain.c124 shp->st.filename = path_fullname(stakptr(PATH_OFFSET));
261 shp->st.cmdname = error_info.id = command;
301 shp->st.dolv[0] = av[0];
302 fixargs(shp->st.dolv,1);
319 shp->st.filename = path_fullname(name);
332 shp->st.filename = path_fullname(sp);
346 if(shp->st.dolc)
367 fixargs(shp->st.dolv,1);
392 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
443 shp->st
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c152 struct stat64 st; local
168 if (stat64(special, &st) >= 0) {
172 if ((st.st_mode & S_IFMT) == S_IFDIR) {
173 if (st.st_ino == UFSROOTINO)
178 } else if ((st.st_mode & S_IFMT) == S_IFBLK ||
179 (st.st_mode & S_IFMT) == S_IFCHR) {
180 if (ustat(st.st_rdev, &ustatarea) >= 0)
201 if (stat64(special, &st) < 0) {
211 if (ustat(st.st_rdev, &ustatarea) >= 0) {
219 if ((st
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c443 struct swapent st, *ust; local
580 struct swapent st; local
586 if (copyin(ust, &st, sizeof (swapent_t)) != 0)
588 st.ste_start = PAGESIZE >> SCTRSHFT;
589 st.ste_length = (off_t)0;
590 st.ste_pages = 0;
591 st.ste_free = 0;
592 st.ste_flags = 0;
598 st.ste_length +=
600 st
779 struct swapent32 st, *ust; local
875 struct swapent32 st; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dalarm.c136 tptop= (struct tevent*)sh.st.timetrap;
209 sh.st.timetrap = time_delete(tp,sh.st.timetrap);
211 sh.st.timetrap = time_add(tp,sh.st.timetrap);
216 sh.st.timetrap = time_delete(tp,sh.st.timetrap);
257 print_alarms(shp->st.timetrap);
H A Dgetopts.c99 argv = shp->st.dolv;
100 argc = shp->st.dolc;
102 opt_info.index = shp->st.optindex;
103 opt_info.offset = shp->st.optchar;
137 shp->st.opterror = 1;
145 if(shp->st.opterror)
167 shp->st.optindex = opt_info.index;
168 shp->st.optchar = opt_info.offset;

Completed in 92 milliseconds

1234567891011>>