/illumos-gate/usr/src/tools/protocmp/ |
H A D | proto_list.c | 113 get_line(FILE *fp, char *v[]) argument 126 rc = fgets(p, BUFSIZ, fp);
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | cr_tty.c | 172 bool **fp; local 179 fp = sflags; 181 *(*fp++) = tgetflag(namp); 183 fprintf(outf, "%2.2s = %s\n", namp, *fp[-1] ? "TRUE" : "FALSE");
|
/illumos-gate/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 102 ctf_write(ctf_file_t *fp, int fd) argument 104 return (ctf_set_errno(fp, ENOTSUP)); 123 ctf_file_t *fp = NULL; local 159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) 162 if (!ctf_leave_compressed && (caddr_t)fp->ctf_base != mp->ctfdata) { 171 kobj_set_ctf(mp, (caddr_t)fp->ctf_base, fp->ctf_size); 172 fp->ctf_data.cts_data = fp->ctf_base; 173 fp [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_heartbeat.c | 50 sctp_faddr_t *fp; local 65 fp = sctp_lookup_faddr(sctp, &addr); 67 if (fp == NULL) { 88 smp = sctp_make_mp(sctp, fp, len); 106 sctp_set_iplen(sctp, smp, fp->sf_ixa); 107 (void) conn_ip_output(smp, fp->sf_ixa); 118 sctp_send_heartbeat(sctp_t *sctp, sctp_faddr_t *fp) argument 130 SCTP_PRINTADDR(fp->sf_faddr), SCTP_PRINTADDR(fp->sf_saddr))); 135 sizeof (fp 205 sctp_faddr_t *fp; local 278 sctp_faddr_t *fp; local [all...] |
H A D | sctp_init.c | 142 sctp_init_mp(sctp_t *sctp, sctp_faddr_t *fp) argument 178 mp = sctp_make_mp(sctp, fp, initlen); 223 sctp_set_iplen(sctp, mp, fp->sf_ixa);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | audit_core.c | 391 audit_falloc(struct file *fp) argument 397 ASSERT(F2A(fp) == NULL); 401 F2A(fp) = fad; 417 audit_unfalloc(struct file *fp) argument 421 fad = F2A(fp); 429 fp->f_audit_data = 0;
|
H A D | ddi_nodeid.c | 112 * Insert fp before np ... the lock must be held. 115 np_insert(struct available *fp, struct available *np) argument 117 fp->prev = np->prev; 118 fp->next = np; 121 np->prev->next = fp; 123 nhead = fp; 124 np->prev = fp; 128 * Add fp to the end of the list ... the lock must be held. 131 np_add(struct available *fp) argument 136 nhead = fp; 224 struct available *np, *fp; local 299 struct available *np, *fp; local [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | acl.c | 101 file_t *fp; local 105 if ((fp = getf(fdes)) == NULL) 107 if (fp->f_flag & FREVOKED) { 112 error = cacl(cmd, nentries, aclbufp, fp->f_vnode, &rv);
|
H A D | chdir.c | 97 file_t *fp; local 100 if ((fp = getf(fd)) == NULL) 102 vp = fp->f_vnode; 147 file_t *fp; local 150 if ((fp = getf(fd)) == NULL) 152 vp = fp->f_vnode;
|
H A D | lseek.c | 77 lseek32_common(file_t *fp, int stype, offset_t off, offset_t max, argument 87 vp = fp->f_vnode; 90 curoff = fp->f_offset; 115 if (error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL)) { 145 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); 154 fp->f_offset = (offset_t)noff; 174 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); 185 fp->f_offset = (offset_t)noff; 197 fp->f_offset = newoff; 208 file_t *fp; local 246 file_t *fp; local 276 file_t *fp; local [all...] |
H A D | mmapobjsys.c | 72 struct file *fp; local 88 fp = getf(fd); 89 if (fp == NULL) { 92 vp = fp->f_vnode; 94 if ((fp->f_flag & FREAD) == 0) { 148 error = mmapobj(vp, flags, mrp, &num_mapped, padding, fp->f_cred);
|
H A D | processor_bind.c | 53 kthread_t *fp; local 69 fp = tp; 74 } while ((tp = tp->t_forw) != fp);
|
H A D | statvfs.c | 192 struct file *fp; local 195 if ((fp = getf(fdes)) == NULL) 198 error = cstatvfs64(fp->f_vnode->v_vfsp, (struct statvfs64 *)sbp); 200 error = cstatvfs32(fp->f_vnode->v_vfsp, (struct statvfs32 *)sbp); 243 struct file *fp; local 246 if ((fp = getf(fdes)) == NULL) 248 error = cstatvfs64(fp->f_vnode->v_vfsp, sbp); 317 struct file *fp; local 320 if ((fp = getf(fdes)) == NULL) 322 error = cstatvfs32(fp 358 struct file *fp; local [all...] |
H A D | ucredsys.c | 48 file_t *fp; local 58 if ((fp = getf(fd)) == NULL) 61 vp = fp->f_vnode;
|
H A D | utime.c | 54 file_t *fp; local 76 if ((fp = getf(fd)) == NULL) 78 startvp = fp->f_vnode;
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 305 FILE *fp; local 309 if ((fp = fopen("/etc/vfstab", "r")) == NULL) 319 if (getvfsany(fp, &vp, &ref_vp)) { 320 (void) fclose(fp); 324 (void) fclose(fp);
|
H A D | puttext.c | 48 puttext(FILE *fp, char *str, int lmarg, int rmarg) argument 82 (void) putc(' ', fp); 97 (void) putc('\n', fp); 99 (void) putc(' ', fp); 107 * for fp. 118 (void) putc(mbs[i], fp); 278 (void) putc(' ', fp); 281 (void) putc(mbtemp[i], fp); 282 (void) putc('\n', fp); 300 (void) putc(' ', fp); [all...] |
/illumos-gate/usr/src/lib/libast/common/preroot/ |
H A D | getpreroot.c | 49 register FILE* fp; local 57 if (!(fp = popen(buf, "rug"))) return(0); 58 for (p = path; (c = getc(fp)) != EOF && c != '\n'; *p++ = c); 60 pclose(fp);
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmlast.c | 114 reg Block_t* fp; local 148 fp = (Block_t*)data; 149 SEG(fp) = seg; 150 SIZE(fp) = ((Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data) - sizeof(Head_t); 151 seg->free = fp; 353 reg Block_t* fp; local 371 if(!(fp = seg->free)) 375 if(seg->size == (s = SIZE(fp)&~BITS)) 380 seg->free = fp;
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | unpack.c | 254 } fp; local 265 pfpsd->fp_current_read_dreg(&fp.ll[0], DOUBLE(n), pfpsd); 266 unpackint64(pu, fp.f.int64_reg); 275 pfpsd->fp_current_read_dreg(&fp.ll[0], DOUBLE(n), pfpsd); 276 unpackdouble(pfpsd, pu, fp.f.double_reg, fp.y[1]); 281 pfpsd->fp_current_read_dreg(&fp.ll[0], QUAD_E(n), pfpsd); 282 pfpsd->fp_current_read_dreg(&fp.ll[1], QUAD_F(n), pfpsd); 283 unpackextended(pfpsd, pu, fp.f.extended_reg, fp [all...] |
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 191 kfpu_t *fp = lwptofpu(lwp); local 201 fp->fpu_fprs = _fp_read_fprs(); 202 if ((fp->fpu_en) || (fp->fpu_fprs & FPRS_FEF)) { 204 * If we have an fpu and the current thread owns the fp 205 * context, flush fp registers into the pcb. 208 if ((fp->fpu_fprs & FPRS_FEF) != FPRS_FEF) { 212 fp->fpu_fprs = fprs; 216 "with fp disabled!"); 220 fp_v8p_fksave(fp); 326 kfpu_t *fp = lwptofpu(lwp); local [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | flt.c | 97 FLT *fp; local 107 fp = f->next; 109 free_flt(fp); 120 FLT *fp; local 131 fp = f->next; 134 switch (fp->type) 139 while(fp->i1--) 141 (void) snprintf(id, sizeof (id), "%s-%d", fp->s1, fp->i1); 152 "%s-%s", fp [all...] |
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | printlist.c | 87 printlist(FILE *fp, char **list) argument 89 return (fdprintlist(fileno(fp), list));
|
H A D | sdn.c | 77 printsdn(FILE *fp, SCALED sdn) argument 79 fdprintsdn(fileno(fp), sdn);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | rep.cc | 71 FILE *fp; local 94 fp = fopen(nse_depinfo, "r"); 95 if (fp == NULL) { 103 while (fgetws(line, line_size, fp) != NULL) { 112 if (fgetws(&line[line_index], line_size, fp) == NULL) 153 (void) fclose(fp);
|