/illumos-gate/usr/src/uts/common/sys/ |
H A D | Makefile | 248 fbuf.h \
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_cots.c | 1631 char *fbuf; in conn_kstat_update() local 1648 fbuf = cm_ksp_data->x_server.value.str.addr.ptr; in conn_kstat_update() 1656 (void) sprintf(fbuf, in conn_kstat_update() 1666 (void) kinet_ntop6((uchar_t *)&sin6->sin6_addr, fbuf, in conn_kstat_update() 1674 (void) sprintf(fbuf, in conn_kstat_update() 1679 strlen(fbuf) + 1; in conn_kstat_update()
|
/illumos-gate/usr/src/cmd/ptools/pstack/ |
H A D | pstack.c | 118 uintptr_t frame_addr, char *fbuf, size_t bufsz); 120 const long *argv, char *fbuf, size_t bufsz);
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 503 flow_fields_buf_t *fbuf) in print_flow() argument 513 (void) snprintf(fbuf->flow_name, sizeof (fbuf->flow_name), in print_flow() 515 (void) snprintf(fbuf->flow_link, sizeof (fbuf->flow_link), in print_flow() 519 sizeof (fbuf->flow_ipaddr)); in print_flow() 521 sizeof (fbuf->flow_proto)); in print_flow() 524 sizeof (fbuf->flow_lport)); in print_flow() 528 sizeof (fbuf->flow_rport)); in print_flow() 531 sizeof (fbuf->flow_dsfield)); in print_flow() 545 flow_fields_buf_t fbuf; in show_flow() local 550 bzero(&fbuf, sizeof (fbuf)); in show_flow() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.h | 216 #define fbuf B.Bfbuf macro
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_durable.c | 871 char *fbuf, struct nvlist **nvlpp) in smb2_dh_read_nvlist() argument 900 iov.iov_base = fbuf; in smb2_dh_read_nvlist() 919 rc = nvlist_unpack(fbuf, flen, nvlpp, KM_SLEEP); in smb2_dh_read_nvlist()
|
H A D | smb_vops.c | 918 char *from, *to, *fbuf, *tbuf; in smb_vop_rename() local 931 fbuf = kmem_zalloc(MAXNAMELEN, KM_SLEEP); in smb_vop_rename() 932 from = smb_vop_catia_v5tov4(from_name, fbuf, MAXNAMELEN); in smb_vop_rename() 938 kmem_free(fbuf, MAXNAMELEN); in smb_vop_rename()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-header.p5m | 876 file path=usr/include/sys/fbuf.h
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 554 fclose(fbuf); in collect() 614 fclose(fbuf); in collect() 628 fbuf = stdout; in collect() 729 fclose(fbuf); in collect() 838 FILE *fbuf; in mesedit() local 863 putc(t, fbuf); in mesedit() 864 fflush(fbuf); in mesedit() 870 fclose(fbuf); in mesedit() 962 fclose(fbuf); in mesedit() 968 fclose(fbuf); in mesedit() [all …]
|
H A D | quit.c | 66 FILE *ibuf, *obuf, *fbuf, *readstat; in quit() local 185 while ((c = getc(fbuf)) != EOF) in quit() 187 fclose(fbuf); in quit() 291 lock(fbuf, "r+", 1); in writeback() 292 fstat(fileno(fbuf), &st); in writeback() 306 fclose(fbuf); in writeback() 311 fseek(fbuf, mailsize, 0); in writeback() 312 while ((c = getc(fbuf)) != EOF) in writeback() 317 c = getc(fbuf); in writeback() 320 fclose(fbuf); in writeback() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 159 FORM fbuf; in main() local 484 FORM fbuf; local 591 fbuf.plen.sc = 0; 595 fbuf.lpi.sc = 0; 597 fbuf.cpi.sc = 0; 598 fbuf.np = DNP; 603 fbuf.paper = P; 641 fbuf.np = DNP; 852 FORM fbuf; local 1001 FORM fbuf; local [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fbio.c | 63 struct fbuf **fbpp) in fbread() 67 struct fbuf *fbp; in fbread() 98 *fbpp = fbp = kmem_alloc(sizeof (struct fbuf), KM_SLEEP); in fbread() 111 fbzero(vnode_t *vp, offset_t off, uint_t len, struct fbuf **fbpp) in fbzero() 115 struct fbuf *fbp; in fbzero() 128 *fbpp = fbp = kmem_alloc(sizeof (struct fbuf), KM_SLEEP); in fbzero() 159 kmem_free(fbp, sizeof (struct fbuf)); \ 164 fbrelse(struct fbuf *fbp, enum seg_rw rw) in fbrelse() 170 fbwrite(struct fbuf *fbp) in fbwrite() 176 fbdwrite(struct fbuf *fbp) in fbdwrite() [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 207 struct fbuf *fbp = NULL; in ud_bmap_write()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 84 struct stat lbuf, fbuf; in zonecfg_open_scratch() local 110 if (fstat(fd, &fbuf) == -1) in zonecfg_open_scratch() 112 if (lbuf.st_ino != fbuf.st_ino || lbuf.st_dev != fbuf.st_dev) { in zonecfg_open_scratch()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 68 uchar_t *fbuf, *p; in format_floppy() local 368 if ((fbuf = (uchar_t *)malloc((unsigned)(4 * spt))) == 0) { in format_floppy() 415 p = (uchar_t *)fbuf; in format_floppy() 431 fdr_form.fdr_addr = (char *)fbuf; in format_floppy()
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | isencrypt.c | 42 isencrypt(const char *fbuf, size_t ninbuf) in isencrypt() argument 51 fp = fbuf; in isencrypt() 52 while (fp < &fbuf[ninbuf]) in isencrypt() 81 for (i = 0; i < 64; i++) bucket[(fbuf[i]>>5)&07] += 1; in isencrypt() 97 if (fbuf[i] == '\0') in isencrypt() 105 if (fbuf[ninbuf - 1] != '\n') in isencrypt()
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | scheck.c | 12 register char *fbuf; local 22 fbuf = imalloc((int)(2 * strlen(format) + 4)); 23 if (fbuf == NULL) 26 tp = fbuf; 50 if (sscanf(string, fbuf, &dummy) != 1) 52 ifree(fbuf);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | word.c | 403 (void) memcpy(f->fbuf, f->fnxt, rest); in readb() 404 f->fnxt = f->fbuf; in readb() 408 if (f->fbuf[rest - 1] == '\n') { in readb() 427 } while ((len = read(f->fdes, f->fbuf + rest, toread)) < 0 && trapnote); in readb() 450 f->fnxt = f->fbuf; in readb()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mime.c | 1101 fbufp = fbuf; 1151 if (!putxline((char *) fbuf, fbufp - fbuf, mci, pxflags)) \ 1154 fbufp = fbuf; \ 1178 fbufp = fbuf; 1183 &fbuf[MAXLINE] - fbufp); 1188 if (fbufp - fbuf > 0) 1190 if (!putxline((char *) fbuf, fbufp - fbuf - 1, 1194 fbufp = fbuf; 1199 &fbuf[MAXLINE] - fbufp); 1206 if (fbufp > fbuf) [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_lock.c | 88 struct stat fbuf; in rcmd_lock_init() local 106 if (fstat(state_fd, &fbuf) != 0) { in rcmd_lock_init() 112 size = fbuf.st_size; in rcmd_lock_init()
|
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 630 if (fbuf[0] == '#' && fbuf[1] == '!' && shellscript(fbuf+2, &mbuf)) in def_position_tests() 788 while (fbuf[i] == 'c' || fbuf[i] == 'C'|| fbuf[i] == '!' || in def_context_tests() 789 fbuf[i] == '*' || fbuf[i] == '\n') { in def_context_tests() 822 while (fbuf[i] != '\n' && fbuf[i++] != ':') { in def_context_tests() 826 while (fbuf[i] == '\n' || fbuf[i] == ' ' || fbuf[i] == '\t') in def_context_tests() 1415 while (fbuf[i] == ' ' || fbuf[i] == '\t' || fbuf[i] == '\n') in lookup() 1422 if (fbuf[k] == ' ' || fbuf[k] == '\n' || in lookup() 1423 fbuf[k] == '\t' || fbuf[k] == '{' || in lookup() 1449 if (fbuf[i] == '/' && fbuf[i+1] == '*') { in ccom() 1451 while (fbuf[i] != '*' || fbuf[i+1] != '/') { in ccom() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_dir.c | 185 struct fbuf *fbp; /* a buffer of directory entries */ in ufs_dirlook() 1017 struct fbuf *fbp; /* pointer to directory block */ in ufs_dircheckforname() 1662 struct fbuf *fbp; in ufs_dirfixdotdot() 2318 struct fbuf *fbp; in ufs_dirmakedirect() 2771 struct fbuf **fbpp) in blkatoff() 2774 struct fbuf *fbp; in blkatoff() 2786 *fbpp = (struct fbuf *)NULL; in blkatoff() 2965 struct fbuf *fbp; in ufs_dircheckpath() 3327 struct fbuf *fbp; in ufs_dirclrdotdot()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 1793 void *fbuf; in set_shfd() local 1808 fbuf = mmap(0, req->reqset_shfd.fdbuf_len, in set_shfd() 1810 if (fbuf == MAP_FAILED) { in set_shfd() 1816 door_dp->dd_buf = fbuf; in set_shfd()
|
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 373 char fbuf[SMALL_SCRATCH_BUFLEN]; in show_disk_name() local 394 (void) snprintf(fbuf, sizeof (fbuf), in show_disk_name() 396 name = fbuf; in show_disk_name()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | adm.c | 175 char fbuf[BUFSIZ]; in adm_fcode() local 253 while ((read(fp, fbuf, BUFSIZ)) > 0) { in adm_fcode() 254 if (memstrstr(fbuf, "SUNW,socal", in adm_fcode() 263 } else if ((memstrstr(fbuf, "SUNW,ifp", in adm_fcode() 266 (memstrstr(fbuf, "SUNW,qlc", in adm_fcode()
|