Searched refs:fp (Results 76 - 100 of 1284) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_deleg_ops.c64 recall_all_delegations(rfs4_file_t *fp, bool_t trunc, caller_context_t *ct) argument
68 rfs4_recall_deleg(fp, trunc, NULL);
74 rfs4_dbe_lock(fp->rf_dbe);
75 if (fp->rf_dinfo.rd_dtype == OPEN_DELEGATE_NONE) {
76 rfs4_dbe_unlock(fp->rf_dbe);
81 rfs4_dbe_unlock(fp->rf_dbe);
86 while (fp->rf_dinfo.rd_dtype != OPEN_DELEGATE_NONE) {
87 rc = rfs4_dbe_twait(fp->rf_dbe,
90 rfs4_dbe_unlock(fp->rf_dbe);
91 rfs4_recall_deleg(fp, trun
105 rfs4_file_t *fp; local
130 rfs4_file_t *fp; local
159 rfs4_file_t *fp; local
180 rfs4_file_t *fp; local
199 rfs4_file_t *fp; local
218 rfs4_file_t *fp; local
238 rfs4_file_t *fp; local
260 rfs4_file_t *fp; local
280 rfs4_file_t *fp; local
298 rfs4_file_t *fp; local
313 rfs4_file_t *fp; local
331 rfs4_file_t *fp; local
348 rfs4_file_t *fp; local
365 rfs4_file_t *fp; local
405 rfs4_file_t *fp; local
[all...]
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c96 register struct afile *fp; local
172 fp = (struct afile *)calloc(argc, sizeof (struct afile));
173 if (fp == 0) {
177 fp0 = fp;
179 if (gstat(fp, *argv, 1, (off_t *)0)) {
180 fp->fname = *argv;
181 fp->fflags |= ISARG;
182 fp++;
186 fplast = fp;
193 fp
224 register struct afile *fp; local
261 register struct afile *fp; local
318 gstat(struct afile *fp, char *file, int statarg, off_t *pnb) argument
509 register struct afile *fp; local
620 fmtentry(struct afile *fp) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c63 getnode(FILE *fp) argument
71 newnode->fp = fp;
77 search(FILE *fp) argument
82 if (tmp->fp == fp)
88 append(FILE *fp) argument
92 if ((newnode = getnode(fp)) == (NODE *)NULL)
129 FILE *fp; local
131 if ((fp
[all...]
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Derror.c32 err_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
36 fmdump_printf(fp, "%-20s %-32s\n",
44 err_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
51 fmdump_printf(fp, "%-20s %-37s 0x%016llx\n",
59 err_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument
64 fmdump_printf(fp, "%-20s.%9.9llu %s\n",
70 nvlist_print(fp, rp->rec_nvl);
72 fmdump_printf(fp, "\n");
77 err_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
79 return (err_verb23_cmn(lp, rp, fp, NUL
83 err_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
[all...]
H A Dinfo.c32 info_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
36 fmdump_printf(fp, "%-20s %-32s\n",
44 info_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
51 fmdump_printf(fp, "%-20s %-36s %s\n",
59 info_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument
67 fmdump_printf(fp, "%-20s.%9.9llu %s\n",
73 nvlist_print(fp, rp->rec_nvl);
75 fmdump_printf(fp, "\n");
80 info_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
82 return (info_verb23_cmn(lp, rp, fp, NUL
86 info_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
[all...]
H A Dnvlrender.c50 FILE *fp = nvlist_prtctl_getdest(pctl); local
71 (void) fprintf(fp, "%s", fmristr);
84 fmdump_print_json(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument
86 if (nvlist_print_json(fp, rp->rec_nvl) != 0 || fprintf(fp, "\n") < 0 ||
87 fflush(fp) != 0)
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c43 register Namfun_t *fp; local
45 if((fp = nfp) != NIL(Namfun_t*) && !nv_local)
46 fp = nfp = nfp->next;
48 for(; fp; fp=fp->next)
50 if(!fp->disc || (!fp->disc->getnum && !fp->disc->getval))
52 if(!nv_isattr(np,NV_NODISC) || fp
75 register Namfun_t *fp; local
118 register Namfun_t *fp, *fpnext; local
229 Namfun_t *fp; local
429 nv_setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
539 setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
581 putdisc(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
611 nv_clone_disc(register Namfun_t *fp, int flags) argument
660 nv_disc(register Namval_t *np, register Namfun_t* fp, int mode) argument
744 register Namfun_t *fp; local
759 put_notify(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
774 register Namfun_t *fp; local
853 register Namfun_t *fp, **mfp = &mp->nvfun, *nfp, *fpnext; local
885 Namfun_t *fp, *fpnext; local
1201 nv_stack(register Namval_t *np, register Namfun_t* fp) argument
1214 next_table(register Namval_t* np, Dt_t *root,Namfun_t *fp) argument
1223 create_table(Namval_t *np,const char *name,int flags,Namfun_t *fp) argument
1230 clone_table(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
1248 put_table(register Namval_t* np, const char* val, int flags, Namfun_t* fp) argument
1273 get_table(Namval_t *np, Namfun_t *fp) argument
1358 Namfun_t *fp = pp->nvfun; local
1388 register Namfun_t *fp; local
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem_sbrk.c97 sbrk_fail_t *fnext, *fprev, *fp; local
104 fp = (sbrk_fail_t *)pos;
108 fp->sf_base = pos;
109 fp->sf_size = size;
112 fp->sf_next = fnext = &sbrk_fails;
113 fp->sf_prev = fprev = sbrk_fails.sf_prev;
114 fnext->sf_prev = fp;
115 fprev->sf_next = fp;
127 sbrk_fail_t *fp; local
130 for (fp
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Deval.c120 struct file *fp; local
147 for (fp = bp->b_files; fp; fp = fp->f_next)
148 fakedata(fp, srcdst);
205 for (fp = bp->b_files; fp; fp = fp
250 struct file *fp; local
370 eval_file(struct base *bp, struct file *fp) argument
498 struct file *fp; local
661 note_info(struct file *fp, const struct stat *sp, side_t which) argument
749 update_info(struct file *fp, side_t which) argument
778 fakedata(struct file *fp, int which) argument
815 check_inum(struct file *fp, int src) argument
947 FILE *fp; local
[all...]
H A Drename.c89 find_renames(struct file *fp) argument
95 if (fp->f_files == 0)
99 for (np = fp->f_files; np; np = np->f_next) {
107 rp = find_oldname(fp, np, side);
109 errs |= note_rename(fp, np, rp, side);
114 for (np = fp->f_files; np; np = np->f_next) {
143 { struct file *fp; local
159 for (fp = dirp->f_files; fp; fp
[all...]
/illumos-gate/usr/src/cmd/tail/
H A Dforward.c96 forward(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument
107 if (fseeko(fp, off, SEEK_SET) == -1) {
112 if ((ch = getc(fp)) == EOF) {
113 if (ferror(fp)) {
124 if ((ch = getc(fp)) == EOF) {
125 if (ferror(fp)) {
138 fseeko(fp, -off, SEEK_END) == -1) {
143 while (getc(fp) != EOF)
145 if (ferror(fp)) {
150 if (bytes(fp, f
191 rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dgetwin.c48 get_cc(w, mbs, fp)
51 FILE *fp;
57 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4)
60 if (fscanf(fp, "%[^\n]%n ", mbs, &n) < 1)
75 getwin(fp)
76 FILE *fp;
84 __m_trace("getwin(%p)", fp);
88 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4)
99 fp, "SCROLL=%hd,%hd VMIN=%hd VTIME=%hd FLAGS=%hx FG=%hx,%hd ",
109 by = fscanf( fp, "B
[all...]
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.c38 getaline(line, maxlen, fp)
41 FILE *fp;
50 if (fgets(start, maxlen, fp) == NULL) {
73 (void) ungetc(*(p-1), fp);
78 while ((c = getc(fp)) != EOF) {
85 if (getc(fp) == EOF)
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfindiop.c58 FILE *fp; local
88 FILE *fp; local
106 for(fp = _iob, iov = iobglue; fp < &_iob[NSTATIC]; /* void */)
107 *iov++ = fp++;
116 FILE *fp; local
130 FILE *fp; local
136 for(fp = _iob; fp < &_iob[NSTATIC]; fp
[all...]
H A Dputc.c37 putc(c, fp)
39 register FILE *fp;
41 return (__putc__(c, fp));
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dfpu.c54 #include <sys/fp.h>
179 struct fpu_ctx *fp; /* parent fpu context */ local
189 fp = &t->t_lwp->lwp_pcb.pcb_fpu;
196 fp_save(fp);
205 fn = &fp->fpu_regs.kfpu_u.kfpu_fn;
212 fx = &fp->fpu_regs.kfpu_u.kfpu_fx;
220 cfp->fpu_xsave_mask = fp->fpu_xsave_mask;
222 fx = &fp->fpu_regs.kfpu_u.kfpu_xs.xs_fxsave;
251 * fp context belongs to a thread on deathrow
256 * fp contex
266 fp_free(struct fpu_ctx *fp, int isexec) argument
294 fp_save(struct fpu_ctx *fp) argument
334 fp_restore(struct fpu_ctx *fp) argument
367 struct fpu_ctx *fp = &ttolwp(curthread)->lwp_pcb.pcb_fpu; local
409 struct fpu_ctx *fp = &ttolwp(curthread)->lwp_pcb.pcb_fpu; local
522 fpu_ctx_t *fp = &ttolwp(curthread)->lwp_pcb.pcb_fpu; local
597 fpu_ctx_t *fp = &ttolwp(curthread)->lwp_pcb.pcb_fpu; local
699 struct fpu_ctx *fp = &curthread->t_lwp->lwp_pcb.pcb_fpu; local
[all...]
/illumos-gate/usr/src/lib/libnsl/saf/
H A Dcheckver.c53 FILE *fp; /* file pointer for sactab */ local
58 if ((fp = fopen(fname, "rF")) == NULL)
61 while (fgets(p, BUFSIZ, fp)) {
68 (void) fclose(fp);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfgetws.c48 _fgetws_impl(wchar_t *_RESTRICT_KYWD ws, int n, FILE *_RESTRICT_KYWD fp, argument
55 FLOCKFILE(lk, fp);
56 if (orient && GET_NO_MODE(fp))
57 _setorientation(fp, _WC_MODE);
67 wc = _fgetwc_unlocked(fp);
92 fgetws(wchar_t *_RESTRICT_KYWD ws, int n, FILE *_RESTRICT_KYWD fp) argument
94 return (_fgetws_impl(ws, n, fp, 0));
98 __fgetws_xpg5(wchar_t *ws, int n, FILE *fp) argument
100 return (_fgetws_impl(ws, n, fp, 1));
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfput.c30 ** fp -- the file pointer for the buffer to be written to
40 sm_io_fputs(fp, timeout, s)
41 SM_FILE_T *fp;
48 SM_REQUIRE_ISA(fp, SmFileMagic);
53 return sm_fvwrite(fp, timeout, &uio);
/illumos-gate/usr/src/uts/common/os/
H A Dddi_nodeid.c112 * 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/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c51 mdb_ctf_close(ctf_file_t *fp) argument
53 ctf_close(fp);
57 mdb_ctf_write(const char *filename, ctf_file_t *fp) argument
64 if (ctf_write(fp, fd) == CTF_ERR) {
/illumos-gate/usr/src/cmd/fs.d/
H A Ddeffs.c51 FILE *fp; local
59 if ((fp = fopen(REMOTE, "r")) != NULL) {
60 if (fgets(buf, sizeof (buf), fp) != NULL)
62 fclose(fp);
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dswab.c46 char *fp, *tp; local
51 fp = (char *)from;
53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfcomp.c75 FILE *fp; local
91 fp = cfile;
93 fprintf(fp, "/*\n");
94 fprintf(fp, "* Copyright (C) 1993-2000 by Darren Reed.\n");
95 fprintf(fp, "*\n");
96 fprintf(fp, "* Redistribution and use in source and binary forms are permitted\n");
97 fprintf(fp, "* provided that this notice is preserved and due credit is given\n");
98 fprintf(fp, "* to the original author and the contributors.\n");
99 fprintf(fp, "*/\n\n");
101 fprintf(fp, "#includ
452 static FILE *fp = NULL; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dsystat.c47 register FILE *fp; local
59 fp = fopen(filename, "r");
60 if (fp != NULL) {
61 if (fgets(line, S_SIZE, fp) != NULL)
68 fclose(fp);
113 fp = fopen(filename, "w");
115 if (fp == NULL) {
120 (void) fprintf(fp, "%d %d %ld %ld %s %s\n",
122 (void) fclose(fp);
137 register FILE *fp; local
[all...]

Completed in 93 milliseconds

1234567891011>>