Searched defs:fp (Results 301 - 325 of 1010) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/tcpd/
H A Dinetcf.c61 FILE *fp; local
81 if ((fp = fopen(conf, "r")) == 0) {
86 for (i = 0; inet_files[i] && (fp = fopen(inet_files[i], "r")) == 0; i++)
88 if (fp == 0) {
105 while (xgets(buf, sizeof(buf), fp)) {
155 fclose(fp);
/illumos-gate/usr/src/cmd/truss/
H A Dlistopts.c67 int *fp) /* first-time flag */
80 } else if (!*fp) { /* first time, clear the set */
82 *fp = TRUE;
315 int *fp) /* first-time flag */
329 } else if (!*fp) { /* first time, clear the set */
331 *fp = TRUE;
389 int *fp) /* first-time flag */
403 } else if (!*fp) { /* first time, clear the set */
405 *fp = TRUE;
65 syslist(char *str, sysset_t *setp, int *fp) argument
312 siglist(private_t *pri, char *str, sigset_t *setp, int *fp) argument
387 fltlist(char *str, fltset_t *setp, int *fp) argument
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttydefs.c247 FILE *fp; local
259 if ((fp = fopen(TTYDEFS, "r")) != NULL) {
265 if (find_label(fp,ttydef->g_id)) {
266 (void)fclose(fp);
272 (void)fclose(fp);
277 if ((fp = fopen(TTYDEFS, "a+")) == NULL) {
284 (void)fprintf(fp,"# VERSION=%d\n", TTYDEFS_VERS);
306 (void)fprintf(fp,"%s:%s:%s:A:%s\n", ttydef->g_id, ttydef->g_iflags,
310 (void)fprintf(fp,"%s:%s:%s::%s\n", ttydef->g_id, ttydef->g_iflags,
313 (void)fclose(fp);
323 FILE *fp; /* scratch file pointer */ local
381 FILE *fp; /* fp associated with tname */ local
[all...]
H A Dtmchild.c383 FILE *fp; local
394 if ((fp = fopen(ISSUEFILE, "r")) != NULL) {
395 while ((ptr = fgets(buffer, sizeof (buffer), fp)) != NULL) {
398 (void) fclose(fp);
H A Dtmpmtab.c72 FILE *fp; local
87 if ((fp = fopen(PMTABFILE,"r")) == NULL) {
115 (rawc=getc(fp))!= '\n' && rawc != EOF; ptr++,oldc=(char)rawc){
126 while ((rawc = getc(fp)) != EOF && rawc != '\n')
278 (void)fclose(fp);
296 (void)fclose(fp);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c234 file_t *fp; local
242 if ((fp = getf(*filedesc)) == NULL) {
248 ASSERT(fp->f_vnode != NULL);
249 VN_HOLD(fp->f_vnode);
251 *vpp = fp->f_vnode;
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c367 unsigned char *fp; local
374 fp = fsp->pcfs_fatp + (cn << 2);
375 cn = ltohi(*(pc_cluster32_t *)fp);
378 fp = fsp->pcfs_fatp + (cn << 1);
379 cn = ltohs(*(pc_cluster16_t *)fp);
382 fp = fsp->pcfs_fatp + (cn + (cn >> 1));
384 cn = (((unsigned int)*fp++ & 0xf0) >> 4);
385 cn += (*fp << 4);
387 cn = *fp++;
388 cn += ((*fp
408 unsigned char *fp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c343 gfs_file_t *fp = vp->v_data; local
353 kmem_free(sft, fp->gfs_size);
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c126 readline(FILE *fp) argument
140 if (fgets(bptr, buflen - (size_t)(bptr - buf), fp) == NULL)
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c68 FILE *ft, *fp; local
197 FILE *fp, *ft; local
213 fp = fopen(from, "r");
214 if (fp == NULL) {
218 while (fgets(buf, sizeof (buf) - 1, fp) != NULL)
221 (void) fclose(fp);
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdcsrv.c271 rdcsrv_create(file_t *fp, rdc_svc_args_t *args, int mode) argument
311 error = svc_tli_kcreate(fp, RDC_RPC_MAX,
332 error = svc_tli_kcreate(fp, RDC_RPC_MAX,
411 rdcsrv_load(file_t *fp, rdcsrv_t *disptab, rdc_svc_args_t *args, int mode) argument
417 rc = rdcsrv_create(fp, args, mode);
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_syscalls.c331 struct file *fp; local
348 if ((fp = (struct file *)getf(fd)) == NULL) {
351 vp = fp->f_vnode;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_shutdown.c55 sctp_faddr_t *fp; local
89 fp = sctp->sctp_current;
91 fp = sctp_rotate_faddr(sctp, sctp->sctp_shutdown_faddr);
94 sctp->sctp_shutdown_faddr = fp;
98 (sendmp = sctp_make_sack(sctp, fp, NULL)) != NULL) {
110 sendmp = sctp_make_mp(sctp, fp,
135 sctp_set_iplen(sctp, sendmp, fp->sf_ixa);
136 (void) conn_ip_output(sendmp, fp->sf_ixa);
147 boolean_t rexmit, sctp_faddr_t *fp)
178 if (fp
146 sctp_shutdown_received(sctp_t *sctp, sctp_chunk_hdr_t *sch, boolean_t crwsd, boolean_t rexmit, sctp_faddr_t *fp) argument
368 sctp_send_shutdown_ack(sctp_t *sctp, sctp_faddr_t *fp, boolean_t crwsd) argument
[all...]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kutil.c78 vp = tiptr->fp->f_vnode;
97 vp = tiptr->fp->f_vnode;
204 file_t *fp; local
210 fp = tiptr->fp;
211 vp = fp->f_vnode;
/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c64 file_t *fp, *startfp; local
208 error = falloc((vnode_t *)NULL, filemode, &fp, &fd);
225 fp->f_vnode = vp;
226 mutex_exit(&fp->f_tlock);
231 setf(fd, fp);
244 unfalloc(fp);
253 if ((fp = getf(dupfd)) == NULL) {
257 mutex_enter(&fp->f_tlock);
258 fp->f_count++;
259 mutex_exit(&fp
[all...]
H A Dstrcalls.c193 file_t *fp; local
201 if ((fp = getf(fdes)) == NULL)
203 if ((fp->f_flag & mode) == 0) {
207 vp = fp->f_vnode;
239 flag = fp->f_flag;
273 flag = fp->f_flag;
422 file_t *fp; local
431 if ((fp = getf(fdes)) == NULL)
433 if ((fp->f_flag & mode) == 0) {
437 vp = fp
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_container.c189 int *fp = (int *)ctx; local
191 *fp = lvl;
/illumos-gate/usr/src/uts/common/io/
H A Dstr_conf.c129 i_fmodsw_hash_insert(fmodsw_impl_t *fp) argument
137 bucket = FMODSW_HASH(fp->f_name);
140 FMODSW_KEYCMP(p->f_name, fp->f_name, found);
142 fp->f_next = p;
143 *pp = fp;
207 fmodsw_impl_t *fp; local
216 if ((fp = kmem_zalloc(sizeof (fmodsw_impl_t), KM_NOSLEEP)) == NULL)
219 (void) strncpy(fp->f_name, name, len);
220 fp->f_name[len] = '\0';
225 fp
252 fmodsw_impl_t *fp; local
278 fmodsw_impl_t *fp; local
306 fmodsw_rele(fmodsw_impl_t *fp) argument
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dpkginfo.c193 FILE *fp; local
198 if ((fp = pkginfopen(pkgdir, pkginst)) == NULL) {
205 while (value = fpkgparam(fp, temp)) {
238 (void) fclose(fp);
243 (void) fclose(fp);
378 FILE *fp; local
383 if ((fp = fopen(temp, "r")) == NULL)
386 while (fgets(temp, 256, fp)) {
390 (void) fclose(fp);
394 (void) fclose(fp);
424 FILE *fp; local
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsftable.c60 Fmtpos_t* fp; /* position array of arguments */ local
67 fp = NIL(Fmtpos_t*);
68 else if(!(fp = sffmtpos(f,form,args,ft,-1)) )
139 if(fp && fp[n].ft.fmt == 0)
140 { fp[n].ft.fmt = LEFTP;
141 fp[n].ft.form = (char*)form;
194 if(fp && fp[n].ft.fmt == 0)
195 { fp[
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dbase64.c53 register unsigned char* fp; local
64 fp = fe = (unsigned char*)fb;
79 *fn = fp;
91 if (fp >= fe)
96 *fn = fp;
103 b = *fp++ << 16;
104 b |= *fp++ << 8;
105 b |= *fp++;
113 n += tp - tmp + (fp < fe);
125 *fn = fp;
164 register unsigned char* fp; local
[all...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmpool.c298 reg Block_t* fp; local
316 if(!(fp = seg->free))
320 if(seg->size == (s = SIZE(fp)&~BITS))
325 seg->free = fp;
/illumos-gate/usr/src/uts/sparc/fpu/
H A Diu_simulator.c53 } fp; local
140 fp.fi = pinst;
145 (int)((fp.i << 13) >> 11);
148 (int)((fp.i << 10) >> 8);
155 (int)((fp.i << 13) >> 11);
158 (int)((fp.i << 10) >> 8);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c119 FSTATUS *fp = va_arg(args, FSTATUS *); local
121 isFormMessage = (STREQU(fp->form->alert.shcmd, "showfault"));
123 formPath = makepath(Lp_A_Forms, fp->form->name,
126 formPath = fp->alert->msgfile;
128 fformat(formPath, fp,isFormMessage);
132 schedule (EV_FORM_MESSAGE, fp);
133 } else if (!fp->alert->active) {
134 if (exec(EX_FALERT, fp) == 0)
135 fp->alert->active = 1;
138 fp
207 fformat(char *file, FSTATUS *fp, int isFormMessage) argument
308 f_count(FSTATUS *fp, char *name) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddraw.c314 drawspline(FILE *fp, int flag) argument
315 /* fp - input for point list */
374 if (fscanf(fp, "%d %d", &x[N], &y[N]) != 2)

Completed in 228 milliseconds

<<11121314151617181920>>