/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 50 file_info_t *fp; local 54 if (mp == NULL || (fp = mp->map_file) == NULL || 55 fp->file_plt_base == 0 || 56 pltaddr - fp->file_plt_base >= fp->file_plt_size) { 61 i = (pltaddr - fp->file_plt_base) / M_PLT_ENTSIZE - M_PLT_XNumber; 66 r_addr = fp->file_jmp_rel + i * sizeof (r); 69 (i = ELF64_R_SYM(r.r_info)) < fp->file_dynsym.sym_symn) { 70 Elf_Data *data = fp->file_dynsym.sym_data_pri; 73 return (fp 243 prgreg32_t fp; member in struct:__anon3784 250 uint32_t fp, pfp, pc; local 260 prgreg32_t fp; member in struct:__anon3785 355 read_args(struct ps_prochandle *P, uintptr_t fp, uintptr_t pc, prgreg_t *args, size_t argsize) argument 471 uintptr_t fp; member in struct:__anon3786 477 prgreg_t fp, pfp; local 495 prgreg_t fp; member in struct:__anon3787 [all...] |
/illumos-gate/usr/src/cmd/mail/ |
H A D | printhdr.c | 35 printhdr(int type, int hdrtype, struct hdrs *hptr, FILE *fp) argument 51 if (fwrite(buf, 1, n, fp) != n) { 62 if (fwrite(buf, 1, n, fp) != n) {
|
/illumos-gate/usr/src/cmd/mailwrapper/ |
H A D | fgetln.c | 44 fgetln(FILE *fp, size_t *len) argument 57 if (fgets(buf, bufsiz, fp) == NULL) 75 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL)
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | hostname.c | 67 char *fp; local 70 if (fp = xgetenv("CLUSTER")) { 71 nstrcpy(host, sizeof (host), fp);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puthelp.c | 42 puthelp(FILE *fp, char *defmesg, char *help) argument 71 (void) puttext(fp, help, ckindent, ckwidth); 72 (void) fputc('\n', fp);
|
H A D | putprmpt.c | 40 putprmpt(FILE *fp, char *prompt, char *choices[], char *defstr) argument 45 (void) fputc('\n', fp); 70 (void) puttext(fp, buffer, 0, ckwidth);
|
H A D | pkgparam.c | 110 FILE *fp = NULL; local 114 fp = fopen(temp, "r"); 116 return (fp); 121 fpkgparam(FILE *fp, char *param) argument 137 for (;;) { /* For each entry in the file fp */ 142 while ((c = getc(fp)) != EOF) { 183 while ((c = getc(fp)) != EOF) { 321 static FILE *fp = NULL; local 329 if (fp) { 330 (void) fclose(fp); [all...] |
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_util.c | 99 ctf_strraw(ctf_file_t *fp, uint_t name) argument 101 ctf_strs_t *ctsp = &fp->ctf_str[CTF_NAME_STID(name)]; 111 ctf_strptr(ctf_file_t *fp, uint_t name) argument 113 const char *s = ctf_strraw(fp, name); 148 ctf_set_errno(ctf_file_t *fp, int err) argument 150 fp->ctf_errno = err;
|
H A D | ctf_decl.c | 87 ctf_decl_push(ctf_decl_t *cd, ctf_file_t *fp, ctf_id_t type) argument 97 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) { 98 cd->cd_err = fp->ctf_errno; 102 switch (kind = LCTF_INFO_KIND(fp, tp->ctt_info)) { 104 (void) ctf_array_info(fp, type, &ar); 105 ctf_decl_push(cd, fp, ar.ctr_contents); 111 if (ctf_strptr(fp, tp->ctt_name)[0] == '\0') { 112 ctf_decl_push(cd, fp, tp->ctt_type); 119 ctf_decl_push(cd, fp, tp->ctt_type); 124 ctf_decl_push(cd, fp, t [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_vcb.c | 158 mdb_vcb_insert(mdb_vcb_t *vcb, mdb_frame_t *fp) argument 160 if (fp->f_pcmd != NULL) { 161 mdb_cmd_t *cp = fp->f_pcmd; 173 mdb_vcb_update(struct mdb_frame *fp, uintptr_t value) argument 177 for (vcb = fp->f_pcmd->c_vcbs; vcb != NULL; vcb = vcb->vc_link) { 189 mdb_vcb_find(mdb_var_t *var, mdb_frame_t *fp) argument 193 if (fp->f_pcmd != NULL) { 194 vcb = fp->f_pcmd->c_vcbs;
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/ |
H A D | tst.branch.s | 41 stb %g0, [%fp - 4] 44 sub %fp, 4, %o0
|
H A D | tst.embedded.s | 41 stb %g0, [%fp - 4] 44 sub %fp, 4, %o0
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | dockdeps.c | 84 static void ckpreq(FILE *fp, char *dname, boolean_t a_preinstallCheck); 91 static int getaline(FILE *fp); 102 FILE *fp; local 113 if ((fp = fopen(file, "r")) == NULL) 116 if ((fp = fopen(a_depfile, "r")) == NULL) { 123 while (getaline(fp)) { 179 (void) fclose(fp); 309 getaline(FILE *fp) argument 330 while ((c = getc(fp)) != EOF) { 331 (void) ungetc(c, fp); 380 FILE *fp; local 403 ckpreq(FILE *fp, char *dname, boolean_t a_preinstallCheck) argument [all...] |
/illumos-gate/usr/src/stand/sys/ |
H A D | sacache.h | 49 extern caddr_t get_bcache(fileid_t *fp); 50 extern int set_bcache(fileid_t *fp);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | pass1.c | 97 register struct file_entry *fp; local 119 fp = (struct file_entry *)bp->b_un.b_buf; 120 fip->fe_lcount = fp->fe_lcount; 121 fip->fe_type = fp->fe_icb_tag.itag_ftype; 122 if (fp->fe_uniq_id >= maxuniqid) 123 maxuniqid = fp->fe_uniq_id + 1; 135 fip->fe_lseen, fp->fe_info_len); 141 end = fp->fe_info_len; 143 opndir(fp); 146 err = getdir(fp, 195 opndir(struct file_entry *fp) argument 238 getallocext(struct file_entry *fp, uint32_t loc, uint32_t len) argument 301 getdir(struct file_entry *fp, struct bufarea **fbp, u_offset_t *poffset, struct file_id **fidpp) argument 472 ckinode(struct file_entry *fp) argument 541 register struct file_entry *fp; local 576 register char *bp, *fp; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 588 file_t *fp; local 601 if ((fp = ufp->uf_file) == NULL) { 615 return (fp); 632 file_t *fp; local 665 if ((fp = ufp->uf_file) == NULL) { 677 if ((fp = ufp->uf_file) == NULL) { 770 checkwfdlist(fp->f_vnode, ufp->uf_fpollinfo); 797 error = closef(fp); 888 file_t *fp; local 893 if ((fp 924 closef(file_t *fp) argument 987 ufalloc_file(int start, file_t *fp) argument 1092 file_t *fp; local 1126 file_t *fp = buf; local 1136 file_t *fp = buf; local 1149 unfalloc(file_t *fp) argument 1170 setf(int fd, file_t *fp) argument 1204 file_t *fp; local 1242 file_t *fp; local 1378 file_t *fp; local 1411 file_t *fp; local 1433 file_t *fp; local 1594 file_t *fp; local 1622 file_t *fp; local [all...] |
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astconf.c | 302 * synthesize state for fp 303 * fp==0 initializes from getenv(state.name) 309 synthesize(register Feature_t* fp, const char* path, const char* value) argument 318 if (fp) 319 error(-2, "astconf synthesize name=%s path=%s value=%s fp=%p%s", fp->name, path, value, fp, state.synthesizing ? " SYNTHESIZING" : ""); 369 if (!fp) 378 s = (char*)fp->name; 379 n = fp 486 initialize(register Feature_t* fp, const char* path, const char* command, const char* succeed, const char* fail) argument 602 format(register Feature_t* fp, const char* path, const char* value, unsigned int flags, Error_f conferror) argument 755 register Feature_t* fp; local 1516 Feature_t* fp; local [all...] |
/illumos-gate/usr/src/cmd/saf/ |
H A D | pmadm.c | 420 FILE *fp; /* scratch file pointer */ local 428 fp = fopen(SACTAB, "r"); 429 if (fp == NULL) { 433 if (tag && !find_pm(fp, tag)) { 438 if (type && !(tp = find_type(fp, type))) { 443 (void) fclose(fp); 475 fp = fopen(fname, "r"); 476 if (fp == NULL) { 481 if (find_svc(fp, tp->t_tag, svctag)) { 491 (void) fclose(fp); 554 FILE *fp; /* scratch file pointer */ local 642 FILE *fp; /* scratch file pointer */ local 784 FILE *fp; /* scratch file pointer */ local 944 FILE *fp; /* scratch file pointer */ local 1043 find_svc(FILE *fp, char *tag, char *svctag) argument [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 232 FILE *fp; local 241 fp = fopen(menu_path, "r"); 242 if (fp == NULL) 250 if (fgets(buf, PATH_MAX, fp) == NULL) { 251 if (!feof(fp)) 253 (void) fclose(fp); 262 (void) fclose(fp); 267 (void) fclose(fp); 271 (void) fclose(fp); 275 if (fgets(buf, PATH_MAX, fp) 571 FILE *fp; local 985 FILE *fp; local 1022 FILE *fp; local 1217 FILE *fp; local [all...] |
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sendsig.c | 133 caddr_t fp; local 190 fp = (caddr_t)(SA((uintptr_t)lwp->lwp_sigaltstack.ss_sp) + 197 fp = (caddr_t)rp->r_sp - STACK_RESERVE; 204 fp = (caddr_t)((uintptr_t)fp & ~(STACK_ENTRY_ALIGN - 1ul)); 217 sp = fp - minstacksz; 220 minstacksz = fp - sp; 226 if (sp >= as->a_userlimit || fp >= as->a_userlimit) { 245 fp -= SA(sizeof (siginfo_t)); 246 uzero(fp, sizeo 396 caddr_t fp; local 619 caddr_t fp; local [all...] |
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | update_mdconf.c | 108 FILE *fp; local 112 if ((fp = fopen(fname, "a")) == NULL) { 120 (void) fprintf(fp, "%s = 1;\n", upp->prop_name); 125 (void) fclose(fp); 223 * INPUT: *fp - file pointer that contains the mddb_bootlist. 236 FILE *fp, /* File pointer to snarf from */ 260 rewind(fp); 261 while (fgets(buf, bufsz, fp) != NULL) { 333 FILE *fp; local 344 if ((fp 235 snarf_n_modify_bootlist( FILE *fp, char *tname, char *buf, int bufsz, ftype_t mddb_file ) argument [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | addbib.c | 60 FILE *fp, *fopen(); local 100 if ((fp = fopen(argv[i], "a")) == NULL) { 104 addbib(fp, argv[i]); /* loop for input */ 109 addbib(FILE *fp, char *argv) /* add entries to a bibliographic database */ argument 120 putc('\n', fp); 139 fprintf(fp, "%s %s", 149 fputs(line, fp); 154 fputs(line, fp); 157 fprintf(fp, "%s %s", bibskel[i].keylet, line); 165 fprintf(fp, " 204 bibedit(FILE *fp, char *cmd, char *arg) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_import.c | 187 print_cmd_short(char *name, FILE *fp, ilbadm_cmd_desc_t *cmd) argument 194 (void) fprintf(fp, "%s %s|%s %s\n", name, 197 (void) fprintf(fp, "%s %s|%s\n", name, cmd->c_name, 204 print_cmdlist_short(char *name, FILE *fp) argument 206 print_cmd_short(name, fp, ilbadm_cmds); 263 i_getln_to_argv(FILE *fp, arg_t **ap) argument 281 if (fgets(currp, STR_ADJ_SZ(LINESZ, linebuf, currp), fp) == NULL) 326 FILE *fp; local 331 if ((fp = fdopen(fd, "r")) == NULL) { 347 while ((argcount = i_getln_to_argv(fp, 383 FILE *fp; local [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 74 kfpu_t *fp; local 81 fp = (kfpu_t *)stk; 82 fp->fpu_fprs = 0; 128 kfpu_t *fp; local 134 fp = (kfpu_t *)stk; 138 bzero(fp, sizeof (kfpu_t) + GSR_SIZE); 140 lwp->lwp_fpu = (void *)fp; 141 mpcb->mpcb_fpu = fp; 186 kfpu_t *fp, *pfp = lwptofpu(lwp); local 192 * remember child's fp an 257 kfpu_t *fp = lwptofpu(lwp); local 300 kfpu_t *fp = lwptofpu(lwp); local 341 kfpu_t *fp = lwptofpu(lwp); local 377 kfpu_t *fp = lwptofpu(lwp); local 410 kfpu_t *fp = lwptofpu(lwp); local [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 193 getaline(FILE *fp, char *line, int llen) argument 198 if (!fp || !line) 203 if (fgets(line, llen, fp) != line) 351 put_ddname(FILE *fp, char *nm) argument 361 (void) fputc('\\', fp); 364 (void) fputc(*nm++, fp); 375 put_ddlevel(FILE *fp, int level) argument 377 if (!fp) 380 (void) fprintf(fp, IS_LBR_BKTYPE(level) ? "%c" : "%d", level); 389 static void put_ddate(FILE *fp, argument 479 getrecord(FILE *fp, dumpdates_t *ddatep, int *recno) argument 518 readdumptimes(FILE *fp, dumpdates_t *ddheadp) argument 553 dumprecout(FILE *fp, dumpdates_t *ddp) argument 588 FILE *fp; local 746 FILE *fp; local [all...] |