/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetipnodes.c | 39 puthostent(const struct hostent *hp, FILE *fp) argument 75 if (fprintf(fp, "%s\t%s", res, hp->h_name) == EOF) 78 if (fprintf(fp, " %s", *q) == EOF) 81 if (putc('\n', fp) == EOF)
|
H A D | dogetnet.c | 64 putnetent(const struct netent *np, FILE *fp) argument 75 if (fprintf(fp, "%-20s %s", 79 if (fprintf(fp, " %s", *p) == EOF) 82 if (putc('\n', fp) == EOF)
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | pkgenv.c | 64 FILE *fp; local 75 if ((fp = fopen(p_pkginfo, "r")) == NULL) { 80 while (value = fpkgparam(fp, param)) { 86 (void) fclose(fp);
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kunbind.c | 76 file_t *fp; local 84 fp = tiptr->fp; 85 vp = fp->f_vnode;
|
H A D | t_kgtstate.c | 75 file_t *fp; local 80 fp = tiptr->fp; 81 vp = fp->f_vnode;
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 133 stream_bytes(FILE *fp, const char *string) argument 139 (void) fprintf(fp, "%c", c); 141 (void) fprintf(fp, "\\%03o", (uint8_t)c); 147 print_what(FILE *fp, mode_t what) argument 183 (void) fprintf(fp, "%c", symbol); 187 print_cmn(FILE *fp, differ_info_t *di, const char *file) argument 189 stream_bytes(fp, di->dsmnt); 190 stream_bytes(fp, file); 194 print_rename(FILE *fp, differ_info_t *di, const char *old, const char *new, argument 198 (void) fprintf(fp, " 216 print_link_change(FILE *fp, differ_info_t *di, int delta, const char *file, zfs_stat_t *isb) argument 234 print_file(FILE *fp, differ_info_t *di, char type, const char *file, zfs_stat_t *isb) argument 251 write_inuse_diffs_one(FILE *fp, differ_info_t *di, uint64_t dobj) argument 339 write_inuse_diffs(FILE *fp, differ_info_t *di, dmu_diff_record_t *dr) argument 352 describe_free(FILE *fp, differ_info_t *di, uint64_t object, char *namebuf, int maxlen) argument 372 write_free_diffs(FILE *fp, differ_info_t *di, dmu_diff_record_t *dr) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | elf64_freebsd.c | 72 elf64_exec(struct preloaded_file *fp) argument 80 if ((md = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) 84 err = bi_load64(fp->f_args, 0, &modulep, &kernend, 1); 123 elf64_obj_exec(struct preloaded_file *fp) argument
|
H A D | bootinfo32.c | 103 struct preloaded_file *fp; local 109 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 111 MOD_NAME(addr, fp->f_name, c); /* this field must come first */ 112 MOD_TYPE(addr, fp->f_type, c); 113 if (fp->f_args) 114 MOD_ARGS(addr, fp->f_args, c); 115 MOD_ADDR(addr, fp [all...] |
H A D | bootinfo64.c | 104 struct preloaded_file *fp; local 111 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 113 MOD_NAME(addr, fp->f_name, c); /* this field must come first */ 114 MOD_TYPE(addr, fp->f_type, c); 115 if (fp->f_args) 116 MOD_ARGS(addr, fp->f_args, c); 117 v = fp [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | elf32_freebsd.c | 57 elf32_exec(struct preloaded_file *fp) argument 66 if ((md = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) 70 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend); 111 elf32_obj_exec(struct preloaded_file *fp) argument
|
H A D | bootinfo32.c | 103 struct preloaded_file *fp; local 109 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 111 MOD_NAME(addr, fp->f_name, c); /* this field must come first */ 112 MOD_TYPE(addr, fp->f_type, c); 113 if (fp->f_args) 114 MOD_ARGS(addr, fp->f_args, c); 115 MOD_ADDR(addr, fp [all...] |
H A D | bootinfo64.c | 104 struct preloaded_file *fp; local 111 for (fp = file_findfile(NULL, NULL); fp != NULL; fp = fp->f_next) { 113 MOD_NAME(addr, fp->f_name, c); /* this field must come first */ 114 MOD_TYPE(addr, fp->f_type, c); 115 if (fp->f_args) 116 MOD_ARGS(addr, fp->f_args, c); 117 v = fp [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 107 int32_t ioctl_retry(int fp, int request, void * arg_pointer); 383 i_psvc_count_records(FILE *fp, char *end, uint32_t *countp) argument 390 first_record = ftell(fp); 392 while ((ret = fgets(buf, BUFSZ, fp)) != NULL) { 403 fseek(fp, first_record, SEEK_SET); 410 i_psvc_count_tables_associations(FILE *fp, uint32_t *countp, char *end) argument 417 first_record = ftell(fp); 419 while ((ret = fgets(buf, BUFSZ, fp)) != NULL) { 427 fseek(fp, first_record, SEEK_SET); 434 i_psvc_count_table_records(FILE *fp, cha argument 1650 int32_t fp; local 1680 int32_t fp; local 1710 int32_t fp; local 1738 int32_t fp; local 1766 int32_t fp; local 1794 int32_t fp; local 1822 int32_t fp; local 1850 int32_t fp; local 1880 int32_t fp; local 1908 int32_t fp; local 1936 int32_t fp; local 1968 int32_t fp; local 2002 int32_t fp; local 2039 int32_t fp; local 2089 int32_t fp; local 2137 int32_t fp; local 2171 int32_t fp; local 2204 int32_t fp; local 2238 int32_t fp; local 2270 int32_t fp; local 2301 int32_t fp; local 2334 int32_t fp; local 2370 int32_t fp; local 2404 int32_t fp; local 2441 int32_t fp; local 2482 int32_t fp; local 2519 int32_t fp; local 2557 int32_t fp; local 2591 int32_t fp; local 2627 int32_t fp; local 2662 int32_t fp; local 2893 i_psvc_load_associations(EHdl_t *hp, FILE *fp) argument 2971 i_psvc_load_tables(EHdl_t *hp, FILE *fp) argument 3734 int32_t fp, temp_errno; local 5200 ioctl_retry(int fp, int request, void * arg_pointer) argument [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | receipt.c | 57 FILE *pp, *fp; local 77 fp = setinput(mp); 78 readline(fp, head);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_mod.c | 45 ctf_file_t *fp; local 52 if ((fp = ctf_modopen(mp, &rc)) == NULL) 55 ctf_close(fp);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | sscanf.c | 28 ** fp -- file pointer 38 SM_FILE_T *fp, 44 sm_eofread(fp, buf, len) 45 SM_FILE_T *fp;
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | fileurl.c | 361 FILE *fp; local 371 if (( fp = fopen( path, mode )) == NULL ) { 373 if (( fp = ldaptool_open_file( path, mode )) == NULL ) { 379 if ( fseek( fp, 0L, SEEK_END ) != 0 ) { 381 fclose( fp ); 385 bvp->bv_len = ftell( fp ); 389 fclose( fp ); 393 if ( fseek( fp, 0L, SEEK_SET ) != 0 ) { 395 fclose( fp ); 399 rlen = fread( bvp->bv_val, 1, bvp->bv_len, fp ); [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | open.c | 64 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...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puterror.c | 46 puterror(FILE *fp, char *defmesg, char *error) argument 88 (void) puttext(fp, tmp, ckindent, ckwidth); 89 (void) fputc('\n', fp);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_ctf_open.c | 99 mdb_ctf_close(ctf_file_t *fp) argument 101 ctf_close(fp); 106 mdb_ctf_write(const char *file, ctf_file_t *fp) argument
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | elf_freebsd.c | 67 __elfN(ofw_exec)(struct preloaded_file *fp) argument 75 if ((fmp = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) { 81 if ((error = md_load(fp->f_args, &mdp, &dtbp)) != 0)
|
H A D | ppc64_elf_freebsd.c | 67 ppc64_ofw_elf_exec(struct preloaded_file *fp) argument 75 if ((fmp = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) { 86 if ((error = md_load64(fp->f_args, &mdp, &dtbp)) != 0)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 204 static void put_ed(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 229 nv_putv(np, val, flags, fp); 233 static void put_history(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 246 nv_putv(np, val, flags, fp); 257 static void put_optindex(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 261 nv_putv(np, val, flags, fp); 263 nv_disc(np,fp,NV_POP); 266 static Sfdouble_t nget_optindex(register Namval_t* np, Namfun_t *fp) argument 271 static Namfun_t *clone_optindex(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument 274 memcpy((void*)dp,(void*)fp,sizeo 282 put_restricted(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 326 put_cdpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 359 put_lang(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 460 put_ifs(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 481 get_ifs(register Namval_t* np, Namfun_t *fp) argument 539 put_seconds(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 563 get_seconds(register Namval_t* np, Namfun_t *fp) argument 576 nget_seconds(register Namval_t* np, Namfun_t *fp) argument 588 put_rand(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 614 nget_rand(register Namval_t* np, Namfun_t *fp) argument 625 get_rand(register Namval_t* np, Namfun_t *fp) argument 634 nget_lineno(Namval_t* np, Namfun_t *fp) argument 646 put_lineno(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 665 get_lineno(register Namval_t* np, Namfun_t *fp) argument 671 get_lastarg(Namval_t* np, Namfun_t *fp) argument 681 put_lastarg(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 700 hasgetdisc(register Namfun_t *fp) argument 745 get_match(register Namval_t* np, Namfun_t *fp) argument 775 get_version(register Namval_t* np, Namfun_t *fp) argument 780 nget_version(register Namval_t* np, Namfun_t *fp) argument 820 put_vpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 846 get_nspace(Namval_t* np, Namfun_t *fp) argument 1440 next_stat(register Namval_t* np, Dt_t *root,Namfun_t *fp) argument 1450 create_stat(Namval_t *np,const char *name,int flag,Namfun_t *fp) argument 1487 name_stat(Namval_t *np, Namfun_t *fp) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_shutdown.c | 55 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/lib/libnwam/common/ |
H A D | libnwam_files.c | 423 FILE *fp = NULL; local 497 fp = fopen(filename, "r"); 498 if (fp == NULL) { 513 fp = fopen(ncpfiles[j], "r"); 514 if (fp != NULL) { 528 if (fp == NULL) { 535 while (fgets(line, sizeof (line), fp) != NULL) { 590 if (fp != NULL) 591 (void) fclose(fp); 619 nwam_object_to_line(FILE *fp, cons argument 739 FILE *fp; local [all...] |