Searched refs:fp (Results 501 - 525 of 1284) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c485 FILE *fp; local
496 if ((fp = fopen(fname, "w")) == NULL)
504 (void) lockf(fileno(fp), F_LOCK, 0);
505 (void) fchmod(fileno(fp), 0600);
506 (void) fchown(fileno(fp), uid, gid);
513 (void) fprintf(fp,
520 (void) fprintf(fp, "Name Service %-7s (%u)\n",
522 (void) fprintf(fp, "Datagram Service %-7s (%u)\n",
524 (void) fprintf(fp, "Browser Service %-7s (%u)\n",
526 (void) fprintf(fp, "Time
[all...]
/illumos-gate/usr/src/uts/sun4/ml/
H A Dsubr_asm.s306 * save_gsr(kfpu_t *fp)
314 save_gsr(kfpu_t *fp)
331 restore_gsr(kfpu_t *fp)
348 * Get the graphics status register info from fp and return it
355 _fp_read_pgsr(kfpu_t *fp)
370 * get_gsr(kfpu_t *fp)
371 * Get the graphics status register info from fp and return it
378 get_gsr(kfpu_t *fp)
391 * _fp_write_pgsr(uint64_t *buf, kfpu_t *fp)
392 * Set the graphics status register info to fp fro
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fmt.c628 const mdb_fmt_desc_t *fp = &fmttab[fmt]; local
646 switch (FMT_TYPE(fp->f_type)) {
648 funcp = (mdb_fmt_func_f *)fp->f_ptr;
653 switch (fp->f_size) {
670 if (fp->f_float == B_TRUE) {
671 if (fp->f_size != 8) {
672 fail("format %c is using illegal fp size\n",
680 if (mdb_tgt_aread(t, as, buf, fp->f_size, addr) !=
681 fp->f_size) {
686 switch (fp
727 const mdb_fmt_desc_t *fp = &fmttab[0]; local
[all...]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrhypot.S278 ldx [%fp+STACK_BIAS+176],stridez
280 ld [%fp+STACK_BIAS+92],stridez
285 st %i0,[%fp+tmp_counter]
289 stx %i1,[%fp+tmp_px]
293 stx %i3,[%fp+tmp_py]
307 ld [%fp+tmp_counter],counter
308 ldx [%fp+tmp_px],%i4
309 ldx [%fp+tmp_py],%i3
310 st %g0,[%fp+tmp_counter]
345 stx %g1,[%fp
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c194 int fp; local
224 fp = 1;
233 if ((fp = open(fname, O_WRONLY | O_APPEND | O_CREAT, 0644))
243 if (fcntl(fp, F_SETLK, &lock) == -1)
250 if (fstat(fp, &buf) == -1)
256 if (ftruncate(fp, 0) == -1)
274 if (write(fp, &d, sizeof (struct sa)) != sizeof (struct sa))
275 ftruncate(fp, flength), fail(1, "write failed");
278 if (write(fp, iodev, sizeof (struct iodevinfo)) !=
280 ftruncate(fp, flengt
566 void *fp = kstat_data_lookup(ksp, name); local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcollect.c241 ** fp -- file to read.
279 collect(fp, smtpmode, hdrp, e, rsetsize)
280 SM_FILE_T *fp;
310 sm_io_setinfo(fp, SM_IO_WHAT_TIMEOUT, &dbto);
360 while (!sm_io_eof(fp) && !sm_io_error(fp))
363 c = sm_io_getc(fp, SM_TIME_DEFAULT);
367 sm_io_clearerr(fp);
478 (void) sm_io_ungetc(fp, SM_TIME_DEFAULT,
611 sm_io_clearerr(fp);
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c102 sctp_faddr_t *fp = sctp->sctp_current; local
103 ip_xmit_attr_t *ixa = fp->sf_ixa;
116 mp = sctp_make_mp(sctp, fp, 0);
126 if (fp->sf_isv4) {
135 if (len + hdrlen > fp->sf_pmss) {
136 len = fp->sf_pmss - hdrlen;
525 sctp_faddr_t *fp; local
532 fp = SCTP_CHUNK_DEST(sctp->sctp_err_chunks);
534 fp = dest;
537 mss = fp
580 sctp_faddr_t *fp; local
[all...]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Ddtrace_isa.c46 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/lib/libdiskmgt/common/
H A Dinuse_mnt.c205 FILE *fp; local
218 if ((fp = fopen("/etc/mnttab", "r")) != NULL) {
222 while (getmntent(fp, &entry) == 0) {
243 (void) fclose(fp);
261 (void) fclose(fp);
271 (void) fclose(fp);
278 (void) fclose(fp);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlflow.c227 i_dladm_flow_fput_grp(FILE *fp, dld_flowinfo_t *attr) argument
230 FPRINTF_ERR(fprintf(fp, "%s\tlinkid=%d\t",
235 FPRINTF_ERR(fprintf(fp, "%s=%" PRIu64 "\t", BW_LIMIT,
239 FPRINTF_ERR(fprintf(fp, "%s=%d\t", PRIORITY,
244 FPRINTF_ERR(fprintf(fp, "%s=%x:%x\t", DSFIELD,
272 FPRINTF_ERR(fprintf(fp, "%s=%s/%d\t", LOCAL_IP_ADDR,
299 FPRINTF_ERR(fprintf(fp, "%s=%s/%d\t", REMOTE_IP_ADDR,
303 FPRINTF_ERR(fprintf(fp, "%s=%d\t", TRANSPORT,
307 FPRINTF_ERR(fprintf(fp, "%s=%d\t", LOCAL_PORT,
311 FPRINTF_ERR(fprintf(fp, "
325 FILE *fp, *nfp; local
486 FILE *fp; local
810 FILE *fp; local
[all...]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c110 FILE *fp; /* pipe read stream */ local
264 * Set up pipe from shell stdout to "fp" for us
301 if ((fp = fdopen(pv[0], "rF")) == NULL) {
316 (void) fclose(fp);
323 flockfile(fp);
324 while ((i = getc_unlocked(fp)) != EOF) {
345 funlockfile(fp);
350 (void) fclose(fp); /* kill shell if still writing */
/illumos-gate/usr/src/cmd/rcap/common/
H A Dutils.c175 FILE *fp; local
180 fp = level >= RCM_DEBUG ? stderr : stdout;
183 (void) fputs(pname, fp);
184 (void) fputs(": ", fp);
186 (void) fputs(msg, fp);
187 (void) fputc('\n', fp);
188 (void) fflush(fp);
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c114 FILE *fp; /* scratch file pointer */ local
377 fp = fopen(SACTAB, "r");
378 if (fp == NULL) {
382 if (!find_pm(fp, pmtag)) {
387 (void) fclose(fp);
453 FILE *fp; /* file pointer for _sactab */ local
461 fp = fopen(SACTAB, "r");
462 if (fp == NULL) {
466 if (find_pm(fp, tag)) {
471 (void) fclose(fp);
682 FILE *fp; /* file pointer for _sactab */ local
974 FILE *fp; /* file pointer for _sactab */ local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_salloc.c284 __db_shalloc_dump(addr, fp)
286 FILE *fp;
291 if (fp == NULL)
292 fp = stderr;
294 fprintf(fp, "%s\nMemory free list\n", DB_LINE);
299 fprintf(fp, "%#lx: %lu\t", (u_long)elp, (u_long)elp->len);
300 fprintf(fp, "\n");
/illumos-gate/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c146 getaline(FILE *fp) argument
154 ptr = fgets(line, MAXLINELEN, fp);
156 (void) fclose(fp);
197 FILE *fp; local
201 if ((fp = fopen(XKBTABLE_PATH, "r")) == NULL) {
206 while (getaline(fp)) {
254 (void) fclose(fp);
/illumos-gate/usr/src/lib/libnvpair/
H A Dlibnvpair.c194 FILE *fp = pctl->nvprt_fp; \
198 (void) fprintf(fp, pctl->nvprt_nmfmt, name); \
199 (void) fprintf(fp, vfmt, (ptype)value); \
227 FILE *fp = pctl->nvprt_fp; \
234 (void) fprintf(fp, pctl->nvprt_nmfmt, name); \
236 (void) fprintf(fp, "[%d]: ", i); \
239 (void) fprintf(fp, pctl->nvprt_btwnarrfmt); \
240 (void) fprintf(fp, vfmt, (ptype)valuep[i]); \
262 FILE *fp = pctl->nvprt_fp; local
265 (void) fprintf(fp, "
282 FILE *fp = pctl->nvprt_fp; local
312 nvlist_prtctl_setdest(nvlist_prtctl_t pctl, FILE *fp) argument
385 FILE *fp = pctl->nvprt_fp; local
509 prtctl_defaults(FILE *fp, struct nvlist_prtctl *pctl, struct nvlist_printops *ops) argument
567 FILE *fp = pctl->nvprt_fp; local
756 nvlist_print(FILE *fp, nvlist_t *nvl) argument
[all...]
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_main.c69 FILE *fp; local
157 fp = fopen(argv[optind], "r");
158 if (fp == NULL) {
162 iconv_file(fp, argv[optind]);
163 (void) fclose(fp);
181 iconv_file(FILE *fp, const char *fname) argument
196 while ((nr = fread(ibuf+MB_LEN_MAX, 1, BUFSIZ, fp)) > 0) {
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sasl.c118 FILE *fp; local
130 if ((fp = fopen(NSCONFIGFILE, "rF")) == NULL)
133 (void) fclose(fp);
134 if ((fp = fopen(NSCREDFILE, "rF")) == NULL)
137 (void) fclose(fp);
263 FILE *fp = NULL; local
267 if ((fp = fopen(fname, "rF")) == NULL) {
273 while (linep = fgets(lineq, BUFSIZ, fp)) {
296 (void) fclose(fp);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c513 FILE *fp; local
516 fp = fopen(path, "r");
517 if (fp == NULL)
530 while (fgets(ifline, sizeof (ifline), fp) != NULL) {
535 (void) fclose(fp);
540 (void) fclose(fp);
547 (void) fclose(fp);
568 (void) fclose(fp);
574 (void) fclose(fp);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_protocol.c64 nvlist_t *prop, *fp; local
70 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 ||
71 topo_hdl_nvdup(node->tn_hdl, fp, fru) < 0) {
/illumos-gate/usr/src/lib/libmail/inc/
H A Ds_string.h75 extern char *s_read_line(FILE *fp, string *to);
76 extern size_t s_read_to_eof(FILE *fp, string *to);
77 extern string *s_seq_read(FILE *fp, string *to, int lineortoken);
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c124 FILE *fp; local
129 if ((fp = fopen(file, "r")) == NULL)
132 while (fgets(cp, PATH_MAX, fp) != NULL) {
188 (void) fclose(fp);
/illumos-gate/usr/src/cmd/dfs.cmds/general/
H A Dgeneral.c67 FILE *dfp; /* fp for dfs list */
168 * getfs(fp) - get the next file system name from fp
176 getfs(fp)
177 FILE *fp;
181 while (s = fgets(buf, BUFSIZ, fp)) {
/illumos-gate/usr/src/cmd/awk/
H A Dmaketab.c117 FILE *fp; local
123 if ((fp = fopen("y.tab.h", "r")) == NULL) {
129 while (fgets(buf, sizeof (buf), fp) != NULL) {
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c505 get_bcache(fileid_t *fp) argument
515 x_len = fp->fi_count;
516 x_blkno = fp->fi_blocknum;
517 x_dev = fp->fi_devp->di_dcookie;
524 set_bcache(fileid_t *fp) argument
539 if (fp->fi_memp = bkmem_alloc(x_len = fp->fi_count)) {
544 if (diskread(fp) != 0) {
549 bkmem_free(fp->fi_memp, x_len);
554 x_blkno = fp
[all...]

Completed in 108 milliseconds

<<21222324252627282930>>