/illumos-gate/usr/src/uts/sparc/os/ |
H A D | archdep.c | 80 struct frame *fp, *minfp, *stacktop; local 114 fp = (struct frame *)(nextfp + STACK_BIAS); 117 if (fp <= minfp || fp >= stacktop) { 131 minfp = fp; 133 nextpc = (pc_t)fp->fr_savpc; 134 fp = (struct frame *)((uintptr_t)fp->fr_savfp + STACK_BIAS); 270 struct frame *fp = (struct frame *)(sp + STACK_BIAS); local 305 minfp = fp; [all...] |
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | dtrace_isa.c | 46 struct frame *fp = (struct frame *)dtrace_getfp(); local 57 minfp = fp; 65 nextfp = (struct frame *)fp->fr_savfp; 66 pc = fp->fr_savpc; 108 fp = nextfp; 109 minfp = fp; 417 struct frame *fp = (struct frame *)dtrace_getfp(); local 429 fp = (struct frame *)(fp->fr_savfp); 431 if (fp 508 struct frame *fp = (struct frame *)dtrace_getfp(); local [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 325 FILE *fp; local 347 if ( (fp = fopen(path, "r")) != NULL ) { 348 while ( fscanf(fp, "%s", buf) != EOF ) 350 while ( (ch = getc(fp)) != EOF && ch != '\n' ) ; 353 fclose(fp);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 465 printalert(FILE *fp, FALERT *alertp, int isfault) argument 469 (void)fprintf (fp, (char *)gettext("On fault: no alert\n")); 471 (void)fprintf (fp, (char *)gettext("No alert\n")); 478 (void)fprintf (fp, (char *)gettext("On fault: ")); 482 fp, 487 (void)fprintf (fp, (char *)gettext("Upon any being queued: ")); 501 (void)fprintf (fp, "%s to %s ", copy, cp); 503 (void)fprintf (fp, (char *)gettext("alert with \"%s\" "), alertp->shcmd); 506 (void)fprintf (fp, (char *)gettext("every %d minutes\n"), alertp->W); 508 (void)fprintf (fp, (cha [all...] |
H A D | files.c | 206 FILE *fp = NULL; local 211 if (!(fp = fdopen(fd, type))) { 215 return (fp); 218 close_lpfile(FILE *fp) argument 220 return (fclose(fp));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | t_kuser.h | 60 struct file *fp; member in struct:tiuser
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | soconfig.c | 202 FILE *fp; local 206 fp = fopen(filename, "r"); 207 if (fp == NULL) { 214 while (fgets(line, sizeof (line) - 1, fp) != NULL) { 250 (void) fclose(fp);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | collate.c | 419 wchar_t *bp, *fp, c; local 427 fp = tr + wcslen(tr) - 1; 428 while (bp < fp) { 430 *bp++ = *fp; 431 *fp-- = c; 571 wchar_t *bp, *fp, c; local 579 fp = tr + wcslen(tr) - 1; 580 while (bp < fp) { 582 *bp++ = *fp; 583 *fp [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 207 fpregset_t *fp = &ucp->uc_mcontext.fpregs; local 209 if (--fp->fpu_qcnt > 0) { 213 fqp = fp->fpu_q; 214 for (i = 0; i < fp->fpu_qcnt; i++)
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_autohome.c | 46 FILE *fp; member in struct:smb_autohome_info 258 (void) fseek(si->fp, 0L, SEEK_SET); 273 if ((si->fp = fopen(filename, "r")) == NULL) 292 (void) fclose(si->fp); 293 si->fp = 0; 330 if (fgets(si->buf, SMB_AUTOHOME_BUFSIZ, si->fp) == 0) 444 if ((si->magic1 == si) && (si->magic2 == si) && (si->fp != NULL))
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | rmtab.c | 429 FILE *fp; local 439 if ((fp = fopen(RMTAB, "r")) != NULL) { 450 while ((len = fread(buf, 1, RMTAB_LOADLEN, fp)) > 0) { 457 (void) fseek(fp, -i + 1, 469 (void) fclose(fp);
|
/illumos-gate/usr/src/common/fs/ |
H A D | bootfsops.c | 139 bfile_t *fp; local 150 if ((fp = bkmem_alloc(sizeof (bfile_t))) == NULL) { 156 canonicalise(cpath, fp->bf_name); 161 bkmem_free(fp, sizeof (bfile_t)); 165 fp->bf_addr = (void *)(uintptr_t)propval; 170 bkmem_free(fp, sizeof (bfile_t)); 174 fp->bf_size = (size_t)propval; 175 fp->bf_ino = i; 177 fp->bf_next = head; 178 head = fp; 189 bfile_t *fp; local 306 bfile_t *fp; local [all...] |
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | fpu_simulator.c | 164 int fp_notp = 1; /* fp checking not a problem */ 547 } fp; local 551 fp.i = inst; 570 if ((fp.inst.hibits == 2) && (fp.inst.op3 == 0x36)) { 571 ftt = vis_fpu_simulator(pfpsd, fp.inst, 574 } else if ((fp.inst.hibits == 2) && 575 ((fp.inst.op3 == 0x34) || (fp.inst.op3 == 0x35) || 576 (fp 605 } fp; local 634 } fp; local [all...] |
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 56 uint32_t fp; member in struct:__anon112 78 frame.fp = 0; /* initial address for %ebp (see EBP below) */
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 340 const struct facility *fp; local 373 for (fp = syslog_facs; fp->fac_name != NULL; fp++) { 374 if (strcmp(fp->fac_name, facname) == 0) 378 if (fp->fac_name == NULL) 382 syslog_ctl.pri = fp->fac_value;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_html.c | 399 enum htmltag fp; local 411 fp = i % 2 ? TAG_I : TAG_B; 414 fp = i % 2 ? TAG_B : TAG_I; 417 fp = i % 2 ? TAG_I : TAG_MAX; 420 fp = i % 2 ? TAG_MAX : TAG_I; 423 fp = i % 2 ? TAG_MAX : TAG_B; 426 fp = i % 2 ? TAG_B : TAG_MAX; 435 if (TAG_MAX != fp) 436 t = print_otag(h, fp, 0, NULL);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | ufs.c | 127 #define DIP(fp, field) \ 128 ((fp)->f_fs->fs_magic == FS_UFS1_MAGIC ? \ 129 (fp)->f_di.di1.field : (fp)->f_di.di2.field) 145 struct file *fp = (struct file *)f->f_fsdata; local 146 struct fs *fs = fp->f_fs; 169 if (fp->f_fs->fs_magic == FS_UFS1_MAGIC) 170 fp->f_di.di1 = ((struct ufs1_dinode *)buf) 173 fp->f_di.di2 = ((struct ufs2_dinode *)buf) 183 fp 202 struct file *fp = (struct file *)f->f_fsdata; local 307 struct file *fp = (struct file *)f->f_fsdata; local 385 struct file *fp = (struct file *)f->f_fsdata; local 447 struct file *fp = (struct file *)f->f_fsdata; local 496 struct file *fp; local 695 struct file *fp = (struct file *)f->f_fsdata; local 724 struct file *fp = (struct file *)f->f_fsdata; local 766 struct file *fp = (struct file *)f->f_fsdata; local 797 struct file *fp = (struct file *)f->f_fsdata; local 821 struct file *fp = (struct file *)f->f_fsdata; local 834 struct file *fp = (struct file *)f->f_fsdata; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 211 struct preloaded_file *fp; local 218 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 219 MOD_NAME(addr, fp->f_name, c); /* This must come first. */ 220 MOD_TYPE(addr, fp->f_type, c); 221 if (fp->f_args) 222 MOD_ARGS(addr, fp->f_args, c); 223 v = fp [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | linux.c | 65 find_real_addr(struct preloaded_file *fp) argument 72 md = file_findmetadata(fp, MODINFOMD_SMAP); 93 struct preloaded_file *fp; local 113 fp = file_findfile(NULL, NULL); 114 if (fp != NULL) 150 fp = file_alloc(); 151 if (fp == NULL) { 156 bios_addsmapdata(fp); 165 linux_data_real_addr = find_real_addr(fp); 168 file_discard(fp); 277 linux_exec(struct preloaded_file *fp) argument [all...] |
H A D | multiboot.c | 72 extern int elf64_load_modmetadata(struct preloaded_file *fp, u_int64_t dest); 80 static int multiboot_obj_exec(struct preloaded_file *fp); 105 struct preloaded_file *fp; local 108 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 109 if (addr < (fp->f_addr + fp->f_size)) 110 addr = fp 127 struct preloaded_file *fp; local 369 kernel_cmdline(struct preloaded_file *fp, struct i386_devdesc *rootdev) argument 405 multiboot_exec(struct preloaded_file *fp) argument 702 multiboot_obj_exec(struct preloaded_file *fp) argument [all...] |
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 350 struct file *fp; local 358 if (((fp = ufp->uf_file) == NULL) || (fp->f_count < 1)) { 366 fdinfo.pr_fileflags = fp->f_flag2; 368 fdinfo.pr_fileflags |= fp->f_flag; 371 fdinfo.pr_offset = fp->f_offset; 374 fvp = fp->f_vnode;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 122 mlsetup(struct regs *rp, kfpu_t *fp) argument 175 mpcb->mpcb_fpu = fp;
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set_tkr.c | 638 char *fp; local 645 if ((fp = (char *)Malloc(len+1)) == NULL) { 650 (void) snprintf(fp, len + 1, "%ss0", 652 if ((fd = open(fp, O_RDONLY|O_NDELAY)) < 0) { 653 (void) mdsyserror(ep, EIO, fp); 657 Free(fp); 660 (void) mdsyserror(ep, EIO, fp); 665 (void) mdsyserror(ep, EIO, fp); 671 (void) mdsyserror(ep, EIO, fp);
|
/illumos-gate/usr/src/lib/mpss/common/ |
H A D | mpss.c | 91 mpsserr(FILE *fp, char *fmt, ...) argument 95 if (fp) 96 (void) vfprintf(fp, fmt, ap); 308 FILE *fp = NULL, *errfp = NULL; local 364 fp = fopen(cfgfile, "rF"); 365 if (!fp) { 372 fp = fopen(cfgfile, "rF"); 377 if (fp) { 386 while (fgets(lbuf, MAXLINELEN, fp)) { 488 (void) fclose(fp); [all...] |
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 152 FILE *fp; local 155 if ((fp = fopen(PASSWD, "rF")) == NULL) 159 while (!found && fgetpwent_r(fp, result, buffer, buflen) != NULL) { 164 (void) fclose(fp); 189 FILE *fp; local 192 fp = fopen(SHADOW, "rF"); 193 if (fp == NULL) 197 while (!found && fgetspent_r(fp, result, buffer, buflen) != NULL) { 202 (void) fclose(fp);
|