Searched refs:fp (Results 251 - 275 of 1262) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/
H A Dexec.c63 __elfN(arm_exec)(struct preloaded_file *fp) argument
71 if ((fmp = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL)
77 if ((error = bi_load(fp->f_args, &modulep, &kernend)) != 0) {
84 printf("Kernel args: %s\n", fp->f_args);
/illumos-gate/usr/src/cmd/getent/
H A Ddogetnetmask.c43 putnetmask(const struct in_addr key, const struct in_addr netmask, FILE *fp) argument
49 if (fprintf(fp, "%-20s", inet_nettoa(net)) == EOF)
51 if (fprintf(fp, " %s", inet_ntoa(netmask)) == EOF)
53 if (putc('\n', fp) == EOF)
H A Ddogetauthattr.c34 putauthattr(const authattr_t *auth, FILE *fp) argument
43 if (fprintf(fp, "%s:%s:%s:%s:%s:",
54 if (fprintf(fp, "%s=%s%s",
61 if (putc('\n', fp) == EOF)
H A Ddogetexecattr.c34 putexecattr(const execattr_t *exec, FILE *fp) argument
43 if (fprintf(fp, "%s:%s:%s:%s:%s:%s:",
55 if (fprintf(fp, "%s=%s%s",
62 if (putc('\n', fp) == EOF)
H A Ddogetprofattr.c34 putprofattr(const profattr_t *prof, FILE *fp) argument
43 if (fprintf(fp, "%s:%s:%s:%s:",
53 if (fprintf(fp, "%s=%s%s",
60 if (putc('\n', fp) == EOF)
H A Ddogetserv.c38 putservent(const struct servent *sp, FILE *fp) argument
47 if (fprintf(fp, "%-20s %d/%s",
51 if (fprintf(fp, " %s", *p) == EOF)
54 if (putc('\n', fp) == EOF)
/illumos-gate/usr/src/cmd/mandoc/
H A Dlibman.h30 void (*fp)(MACRO_PROT_ARGS); member in struct:man_macro
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Delf32_freebsd.c53 elf32_exec(struct preloaded_file *fp) argument
60 if ((md = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL)
64 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend);
80 elf32_obj_exec(struct preloaded_file *fp __unused)
H A Dlinux.c66 find_real_addr(struct preloaded_file *fp) argument
73 md = file_findmetadata(fp, MODINFOMD_SMAP);
95 struct preloaded_file *fp; local
107 fp = file_findfile(NULL, NULL);
108 if (fp != NULL)
144 fp = file_alloc();
145 if (fp == NULL) {
150 bios_addsmapdata(fp);
159 linux_data_real_addr = find_real_addr(fp);
162 file_discard(fp);
276 linux_exec(struct preloaded_file *fp) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflush.c58 * Macros to declare and loop over a fp or fp/xfp combo to
62 #define FPDECL(fp) FILE *fp
63 #define FIRSTFP(lp, fp) fp = lp->iobp
64 #define NEXTFP(fp) fp++
65 #define FPLOCK(fp) &fp
811 getiop(FILE *fp, rmutex_t *lk, mbstate_t *mb) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c56 check_multiboot (const char *filename, FILE *fp) argument
62 if (fread (buf, 1, 8192, fp) < 0)
221 FILE *fp; local
223 fp = fopen (argv[optind], "r");
224 if (! fp)
230 if (! check_multiboot (argv[optind], fp))
233 fclose (fp);
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm64/
H A Dexec.c70 elf64_exec(struct preloaded_file *fp) argument
109 if ((md = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL)
116 err = bi_load(fp->f_args, &modulep, &kernendp);
125 clean_addr = (vm_offset_t)efi_translate(fp->f_addr);
136 elf64_obj_exec(struct preloaded_file *fp) argument
139 printf("%s called for preloaded file %p (=%s):\n", __func__, fp,
140 fp->f_name);
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-reference.c194 ctf_file_t *fp; local
198 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
205 if (!ctftest_check_numbers(fp, check_base))
207 if (!ctftest_check_symbols(fp, check_syms))
210 if (!ctftest_check_descent(descents[d].cdt_sym, fp,
217 if (ctftest_check_descent(alt_descents[d].cdt_sym, fp,
230 ctf_close(fp);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_digraph_xml.c42 tdg_xml_nvstring(FILE *fp, uint_t pad, const char *name, const char *value) argument
44 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%s' />\n", pad, "",
50 tdg_xml_nvlist(FILE *fp, uint_t pad, const char *name) argument
52 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s'>\n", pad, "",
57 tdg_xml_nvuint8(FILE *fp, uint_t pad, const char *name, const uint8_t value) argument
59 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%u' />\n", pad, "",
65 tdg_xml_nvint8(FILE *fp, uint_t pad, const char *name, const uint8_t value) argument
67 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%d' />\n", pad, "",
73 tdg_xml_nvuint16(FILE *fp, uint_t pad, const char *name, const uint8_t value) argument
75 (void) fprintf(fp, "
81 tdg_xml_nvint16(FILE *fp, uint_t pad, const char *name, const uint8_t value) argument
89 tdg_xml_nvuint32(FILE *fp, uint_t pad, const char *name, const uint32_t value) argument
97 tdg_xml_nvint32(FILE *fp, uint_t pad, const char *name, const int32_t value) argument
105 tdg_xml_nvuint64(FILE *fp, uint_t pad, const char *name, const uint64_t value) argument
113 tdg_xml_nvint64(FILE *fp, uint_t pad, const char *name, const int64_t value) argument
121 tdg_xml_nvdbl(FILE *fp, uint_t pad, const char *name, const double value) argument
129 tdg_xml_nvarray(FILE *fp, uint_t pad, const char *name, const char *type) argument
136 tdg_xml_nvint32arr(FILE *fp, uint_t pad, const char *name, int32_t *val, uint_t nelems) argument
151 tdg_xml_nvuint32arr(FILE *fp, uint_t pad, const char *name, uint32_t *val, uint_t nelems) argument
166 tdg_xml_nvint64arr(FILE *fp, uint_t pad, const char *name, int64_t *val, uint_t nelems) argument
181 tdg_xml_nvuint64arr(FILE *fp, uint_t pad, const char *name, uint64_t *val, uint_t nelems) argument
196 serialize_nvpair_nvlist(topo_hdl_t *thp, FILE *fp, uint_t pad, const char *name, nvlist_t *nvl) argument
222 serialize_nvpair(topo_hdl_t *thp, FILE *fp, uint_t pad, const char *pname, nvpair_t *nvp) argument
442 FILE *fp = (FILE *)arg; local
467 serialize_property(topo_hdl_t *thp, FILE *fp, uint_t pad, tnode_t *tn, topo_propval_t *pv, const char *pgname) argument
602 serialize_pgroups(topo_hdl_t *thp, FILE *fp, tnode_t *tn) argument
669 FILE *fp = (FILE *)arg; local
721 topo_digraph_serialize(topo_hdl_t *thp, topo_digraph_t *tdg, FILE *fp) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c60 xdr_float(XDR *xdrs, float *fp) argument
65 return (XDR_PUTINT32(xdrs, (int *)fp));
68 return (XDR_GETINT32(xdrs, (int *)fp));
104 xdr_quadruple(XDR *xdrs, long double *fp) argument
115 return (XDR_PUTBYTES(xdrs, (char *)fp, sizeof (long double)));
117 return (XDR_GETBYTES(xdrs, (char *)fp, sizeof (long double)));
130 xdr_float(XDR *xdrs, float *fp) argument
144 f = *fp;
205 *fp = f;
311 xdr_quadruple(XDR *xdrs, long double *fp) argument
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Dacls.c170 set_acls(const char *name, struct fileinfo *fp) argument
175 if (fp->f_numacls == 0) {
178 acls[0].a_id = fp->f_uid;
179 acls[0].a_perm = (fp->f_mode >> 6) & 7;
182 acls[1].a_id = fp->f_gid;
183 acls[1].a_perm = (fp->f_mode >> 3) & 7;
187 acls[2].a_perm = (fp->f_mode >> 6) & 7;
191 acls[3].a_perm = fp->f_mode & 7;
196 nacl = fp->f_numacls;
197 list = fp
[all...]
H A Daction.c49 * update fp->f_info[srcdst]
50 * update fp->f_info[OPT_BASE] from fp->f_info[srcdst]
55 * set fp->f_flags |= F_CONFLICT
56 * set fp->f_problem
123 do_like(struct file *fp, side_t srcdst, bool_t do_stats) argument
135 bp = fp->f_base;
139 fp->f_flags |= F_CONFLICT;
140 fp->f_problem = gettext(PROB_prohibited);
148 sp = &fp
390 do_copy(struct file *fp, side_t srcdst) argument
851 do_remove(struct file *fp, side_t srcdst) argument
937 do_rename(struct file *fp, side_t srcdst) argument
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c74 * - fp - connection end point
100 struct file *fp, /* connection end point */
119 RPCLOG(16, "svc_tli_kcreate: on file %p\n", (void *)fp);
121 if (fp == NULL || nxprt == NULL)
124 if (fp->f_vnode->v_stream == NULL)
130 wq = fp->f_vnode->v_stream->sd_wrq;
149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,
162 error = svc_clts_kcreate(fp, max_msgsize, &tinfo, &xprt);
166 error = svc_cots_kcreate(fp, max_msgsize, &tinfo, &xprt);
190 xprt->xp_fp = fp;
99 svc_tli_kcreate( struct file *fp, uint_t max_msgsize, char *netid, struct netbuf *addrmask, SVCMASTERXPRT **nxprt, SVC_CALLOUT_TABLE *sct, void (*closeproc)(const SVCMASTERXPRT *), int id, bool_t hotstream) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm.c93 FILE *fp; local
95 fp = fopen(filename, "r");
96 if (fp == NULL) {
102 line = fgets(buffer, bufsize, fp);
103 (void) fclose(fp);
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c39 * static char *_file_getline(FILE *fp)
41 * FILE *fp - file pointer to read from
51 _file_getline(FILE *fp) argument
60 while (fgets(tmp, size, fp)) {
92 FILE *fp, *fp2; local
117 if ((fp = fopen(file, "r")) != NULL) {
133 while ((cp = _file_getline(fp)) != NULL) {
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c83 static FILE *fp; /* File pointer for receipient's terminal */ variable
99 extern FILE *fp;
342 fp = fopen(&rterminal[0], "w");
347 if (fcntl(fileno(fp), F_SETFD, FD_CLOEXEC) < 0) {
364 (void) fprintf(fp,
367 fflush(fp);
383 if (myuid && !permit1(fileno(fp))) {
403 putc('\r', fp);
409 putc(*bp, fp);
413 putc(*bp, fp);
[all...]
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_shr.c67 FILE *fp; local
71 fp = fopen(shr_file, "r");
72 if (fp == NULL) {
77 while ((p = fgets(linebuf, sizeof (linebuf), fp)) != NULL) {
99 (void) fclose(fp);
/illumos-gate/usr/src/lib/iconv_modules/utf-8/
H A DMakefile81 fp=`echo $$f | $(TR) "+" "%"` ; \
82 echo "installing $$f as $(BTS_DIR)/$$fp ..." ; \
83 $(RM) $(BTS_DIR)/$$fp ; \
84 $(CP) $$f $(BTS_DIR)/$$fp ; \
85 $(CHMOD) 0444 $(BTS_DIR)/$$fp; \
/illumos-gate/usr/src/lib/libcmd/common/
H A Dpaste.c89 register Sfio_t *fp; local
95 if(fp=streams[n])
97 if(cp = sfgetr(fp,'\n',0))
121 if(sfwrite(out,cp,sfvalue(fp)-((n+1)<nstream)) < 0)
178 register Sfio_t *fp, **streams; local
254 fp = sfstdin;
255 else if(!(fp = sfopen(NiL,cp,"r")))
257 if(fp && sflag)
259 if(spaste(fp,sfstdout,delim,dsiz,dlen,mp) < 0)
261 if(fp!
[all...]
/illumos-gate/usr/src/cmd/dispadmin/
H A Ddispadmin.c257 read_default_file(FILE *fp) argument
262 for (line = 1; fgets(buf, BUFSZ, fp) != NULL; line++) {
276 (void) fclose(fp);
281 (void) fclose(fp);
297 FILE *fp; local
314 if ((fp = fdopen(fd, "r")) == NULL)
317 clname = read_default_file(fp);
338 if ((fp = fdopen(fd, "w")) == NULL)
344 "#\n", fp);
345 if ((fprintf(fp, "
374 FILE *fp; local
[all...]

Completed in 83 milliseconds

<<11121314151617181920>>