Searched defs:fp (Results 601 - 625 of 1010) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c1001 lufs_merge_deltas(fileid_t *fp) argument
1014 bof = ldbtob(fp->fi_blocknum);
1015 nb = fp->fi_count;
1050 fp->fi_memp + MAX(l->l_mof - bof, 0),
1060 bzero(fp->fi_memp + MAX(l->l_mof - bof, 0),
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c112 remove_core_file(char *fp, enum core_types core_type) argument
122 if ((error = pn_get(fp, UIO_SYSSPACE, &pn)) != 0)
130 startvp = (fp[0] == '/' ? rootvp : PTOU(curproc)->u_cdir);
189 create_core_file(char *fp, enum core_types core_type, vnode_t **vpp) argument
201 file = fp;
218 if (error = pn_get(fp, UIO_SYSSPACE, &pn))
249 if (error = pn_get(fp, UIO_SYSSPACE, &pn)) {
273 (void) remove_core_file(fp, core_type);
326 do_core(char *fp, int sig, enum core_types core_type, struct core_globals *cg) argument
420 if ((error = remove_core_file(fp, core_typ
464 expand_string(const char *pat, char *fp, int size, cred_t *cr) argument
576 char *fp; local
[all...]
H A Dtlabel.c585 file_t *fp; local
588 if ((fp = getf(fd)) == NULL)
591 error = cgetlabel(label_p, fp->f_vnode);
H A Dgrow.c613 int prot, int flags, struct file *fp, offset_t pos)
686 if (fp == NULL) {
705 vp = fp->f_vnode;
721 if ((offset_t)len > (OFFSET_MAX(fp) - pos))
725 if (type == MAP_SHARED && (fp->f_flag & FWRITE) == 0) {
746 if (((maxprot & uprot) != uprot) || (fp->f_flag & FREAD) == 0)
783 error = nbl_svmand(vp, fp->f_cred, &svmand);
809 addrp, len, uprot, maxprot, flags, fp->f_cred, NULL);
849 struct file *fp; local
855 else if ((fp
612 smmap_common(caddr_t *addrp, size_t len, int prot, int flags, struct file *fp, offset_t pos) argument
874 struct file *fp; local
930 struct file *fp; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_drv.c200 acpidev_class_list_init(uint64_t *fp) argument
241 *fp |= ACPI_DEVCFG_CONTAINER;
262 *fp |= ACPI_DEVCFG_CPU;
277 *fp |= ACPI_DEVCFG_MEMORY;
303 *fp |= ACPI_DEVCFG_PCI;
363 *fp = 0;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dstk.c154 register struct frame *fp; local
164 fp = (struct frame*)cp;
165 if(fp->prev)
167 cp = fp->prev;
168 free(fp);
172 free(fp);
218 register struct frame *fp; local
240 if(!(fp=newof((char*)0,struct frame, 1,bsize)))
245 count(addsize,sizeof(*fp)+bsize);
246 cp = (char*)(fp
326 register struct frame *fp; local
342 register struct frame *fp; local
499 register struct frame *fp= (struct frame*)sp->stkbase; local
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfvprintf.c124 Fmtpos_t* fp; /* arg position list */ local
204 fp = NIL(Fmtpos_t*);
266 { if(!fp &&
267 !(fp = (*_Sffmtposf)(f,oform,oargs,ft,0)) )
273 if(fp)
274 { t_str = fp[n].argv.s;
275 n_str = fp[n].ft.size;
370 if(!fp && !(fp = (*_Sffmtposf)(f,oform,oargs,ft,0)) )
376 if(fp)
[all...]
H A Dsfvscanf.c321 Fmtpos_t* fp; local
368 fp = NIL(Fmtpos_t*);
464 { if(!fp &&
465 !(fp = (*_Sffmtposf)(f,oform,oargs,ft,1)) )
471 if(fp)
472 { t_str = fp[n].argv.s;
473 n_str = fp[n].ft.size;
513 if(!fp &&
514 !(fp = (*_Sffmtposf)(f,oform,oargs,ft,1)) )
520 if(fp)
[all...]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c146 struct fc_request *fp, *qp; local
157 fp = kmem_zalloc(sizeof (struct fc_request), KM_SLEEP);
159 fp->next = NULL;
160 fp->busy = FC_R_INIT;
161 fp->error = FC_SUCCESS;
162 fp->ap_dip = ap;
163 fp->ap_ops = ops;
164 fp->handle = handle;
172 fc_request_head = fp;
176 qp->next = fp;
236 struct fc_request *fp = arg; local
280 struct fc_request *fp; local
309 fc_finish_request(struct fc_request *fp) argument
342 struct fc_resource *fp; local
[all...]
H A Dfcode.c307 struct fc_request *fp; local
321 fp = st->req;
322 fp->error = FC_ERROR;
328 fp = st->req;
329 ASSERT(fp);
330 ASSERT(fp->ap_ops);
336 (void) fp->ap_ops(fp->ap_dip, fp->handle, cp);
338 (fp
383 struct fc_request *fp; local
617 struct fc_request *fp; local
780 struct fc_request *fp; local
894 struct fc_request *fp; local
[all...]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Ddtrace_isa.c105 struct frame *fp, *nextfp, *minfp, *stacktop; local
110 fp = (struct frame *)((caddr_t)dtrace_getfp() + STACK_BIAS);
285 minfp = fp;
288 nextfp = (struct frame *)((caddr_t)fp->fr_savfp + STACK_BIAS);
342 pcstack[depth++] = (pc_t)fp->fr_savpc;
353 pcstack[depth++] = (pc_t)fp->fr_savpc;
356 fp = nextfp;
357 minfp = fp;
647 struct frame *fp; local
664 fp
703 struct frame *fp, *nextfp, *minfp, *stacktop; local
750 uintptr_t fp; local
[all...]
/illumos-gate/usr/src/uts/sparc/v9/fpu/
H A Dv9instr.c62 } fp; local
64 fp.inst = pinst;
70 asi = (fp.i >> 5) & 0xff;
87 fea = (uint64_t)((fp.i << 19) >> 19);
375 * Simulator for moving fp register on condition (FMOVcc).
396 * Simulator for moving fp register on integer register condition (FMOVr).
581 } fp; local
583 fp.inst = pinst; /* Extract simm11 field */
584 r = (fp.i << 21) >> 21;
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dsdt.c305 struct frame *fp = (struct frame *)dtrace_getfp(); local
317 fp = (struct frame *)(fp->fr_savfp);
319 if (fp->fr_savpc == (pc_t)dtrace_invop_callsite) {
327 stack = ((uintptr_t **)&fp[1])[1];
342 struct regs *rp = (struct regs *)((uintptr_t)&fp[1] +
379 stack = (uintptr_t *)&fp[1];
/illumos-gate/usr/src/cmd/luxadm/
H A Dadm.c180 int fp; local
245 if ((fp = open(file, O_RDONLY)) < 0) {
259 while ((read(fp, fbuf, BUFSIZ)) > 0) {
286 if ((emulex_fcode_reader(fp, "manufacturer",
302 close(fp);
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c541 dconf_print(dumpconf_t *dcp, FILE *fp) argument
553 (void) fprintf(fp, gettext(" Dump content: %s pages\n"), content);
556 (void) fprintf(fp, gettext(" Dump device: %s (%s)\n"),
560 (void) fprintf(fp, gettext(" Dump device: none "
564 (void) fprintf(fp, gettext("Savecore directory: %s"), dcp->dc_savdir);
568 (void) fprintf(fp, gettext(" (minfree = %lluKB)"), min);
570 (void) fprintf(fp, gettext(" (minfree = %lluMB)"),
574 (void) fprintf(fp, gettext("\n"));
576 (void) fprintf(fp, gettext(" Savecore enabled: %s\n"),
578 (void) fprintf(fp, gettex
673 print_content(const dumpconf_t *dcp, FILE *fp) argument
688 print_device(const dumpconf_t *dcp, FILE *fp) argument
695 print_enable(const dumpconf_t *dcp, FILE *fp) argument
702 print_csave(const dumpconf_t *dcp, FILE *fp) argument
709 print_savdir(const dumpconf_t *dcp, FILE *fp) argument
[all...]
/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/smbsrv/smbd/
H A Dsmbd_main.c78 static void smbd_usage(FILE *fp);
974 smbd_usage(FILE *fp) argument
983 (void) fprintf(fp, "Usage: %s [-f]\n", smbd.s_pname);
986 (void) fprintf(fp, " %s\n", help[i]);
/illumos-gate/usr/src/uts/common/syscall/
H A Dutssys.c390 file_t *fp; local
393 if (((fp = ufp->uf_file) == NULL) ||
394 ((vp = fp->f_vnode) == NULL)) {
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dsimulator.c265 kfpu_t *fp = lwptofpu(lwp); local
266 /* Ensure fp has been enabled */
271 if (!fp->fpu_en)
294 fp->fpu_fsr &= ~0x30301000;
295 fp->fpu_fsr |= 0xE0000;
296 data.l[0] = fp->fpu_fsr;
301 (unsigned)fp->
306 fp->fpu_fr.fpu_dregs[rd];
309 fp->fpu_fr.fpu_dregs[rd+1];
489 kfpu_t *fp local
902 kfpu_t *fp = lwptofpu(lwp); local
[all...]
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c475 pcidr_plugin_t fp; local
497 fp = (pcidr_plugin_t)dlsym(dlh, PCIDR_PLUGIN_SYMSTR);
498 if (fp == NULL) {
503 rv = fp(attrlistp, optp);
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c193 getaline(FILE *fp, char *line, int llen) argument
198 if (!fp || !line)
203 if (fgets(line, llen, fp) != line)
351 put_ddname(FILE *fp, char *nm) argument
361 (void) fputc('\\', fp);
364 (void) fputc(*nm++, fp);
375 put_ddlevel(FILE *fp, int level) argument
377 if (!fp)
380 (void) fprintf(fp, IS_LBR_BKTYPE(level) ? "%c" : "%d", level);
389 static void put_ddate(FILE *fp, argument
479 getrecord(FILE *fp, dumpdates_t *ddatep, int *recno) argument
518 readdumptimes(FILE *fp, dumpdates_t *ddheadp) argument
553 dumprecout(FILE *fp, dumpdates_t *ddp) argument
588 FILE *fp; local
746 FILE *fp; local
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c51 FILE *fp; local
69 fp = fopen(path, "r");
71 INJECT_ERROR1("GET_CAP_FINDROOT_FOPEN", fp = NULL);
72 if (fp == NULL) {
79 while (s_fgets(buf, sizeof (buf), fp) != NULL) {
97 ret = fclose(fp);
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c225 put_quoted(FILE *fp, char *val) argument
227 (void) putc('\'', fp);
232 (void) putc('\\', fp);
235 (void) putc(*val, fp);
240 (void) putc('\'', fp);
618 FILE *fp; local
628 if ((fp = fopen(bd->name, "w")) == NULL)
636 (void) fprintf(fp, "%s %s ",
638 put_quoted(fp, bent->val);
639 (void) fprintf(fp, "\
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c87 struct preloaded_file *fp, *kfp; local
93 fp = NULL;
148 fp = file_alloc();
149 if (fp == NULL) {
155 fp->f_name = strdup(filename);
156 fp->f_type = strdup(__elfN(obj_moduletype));
160 fp->f_size = __elfN(obj_loadimage)(fp, &ef, dest);
161 if (fp->f_size == 0 || fp
189 obj_loadimage(struct preloaded_file *fp, elf_file_t ef, u_int64_t off) argument
351 obj_parse_modmetadata(struct preloaded_file *fp, elf_file_t ef) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c372 FILE *fp = NULL; local
380 if ((fp = fopen(META_MNSET_NODELIST, "r")) == NULL) {
425 while ((fp != NULL) && ((buf = fgets(line, sizeof (line) - 1, fp)) !=
456 if ((fp) && (fclose(fp) != 0))
480 if ((fp) && (fclose(fp) != 0))
496 if ((fp) && (fclose(fp) !
518 FILE *fp = NULL; local
[all...]

Completed in 85 milliseconds

<<21222324252627282930>>