/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootops.c | 70 struct fakeprop *fpp = fakeprops; in fakelook_init() local 72 while (fpp->bootname != NULL) { in fakelook_init() 73 switch (fpp->promnode) { in fakelook_init() 75 fpp->promnode = prom_rootnode(); in fakelook_init() 78 fpp++; in fakelook_init() 85 struct fakeprop *fpp = fakeprops; in fakelook() local 87 while (fpp->bootname != NULL) { in fakelook() 88 if (strcmp(prop, fpp->bootname) == 0) in fakelook() 89 return (fpp); in fakelook() 90 fpp++; in fakelook() [all …]
|
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 180 fpregset_t *fpp; in getsetcontext() local 245 fpp = &uc.uc_mcontext.fpregs; in getsetcontext() 255 if ((fpp->fpu_q) && (fpp->fpu_qcnt)) { in getsetcontext() 256 if (fpp->fpu_qcnt > MAXFPQ || in getsetcontext() 257 fpp->fpu_q_entrysize <= 0 || in getsetcontext() 258 fpp->fpu_q_entrysize > sizeof (struct _fq)) in getsetcontext() 260 if (copyin(fpp->fpu_q, fpu_q, in getsetcontext() 261 fpp->fpu_qcnt * fpp->fpu_q_entrysize)) in getsetcontext() 263 fpp->fpu_q = fpu_q; in getsetcontext() 265 fpp->fpu_qcnt = 0; /* avoid confusion later */ in getsetcontext() [all …]
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | p2open.c | 109 __p2close(int *fdp, FILE **fpp, int kill_sig) in __p2close() argument 119 } else if (fpp != NULL) { in __p2close() 120 fds[0] = fileno(fpp[0]); in __p2close() 121 fds[1] = fileno(fpp[1]); in __p2close() 141 (void) fclose(fpp[0]); in __p2close() 142 (void) fclose(fpp[1]); in __p2close()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | delkey.c | 52 _KEY_MAP *kp, **kpp = cur_term->_keys, **fpp, **dpp; in delkey() local 87 for (fpp = kpp, dpp = kpp + 1; i > 0; i--, fpp++, dpp++) in delkey() 88 *fpp = *dpp; in delkey()
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_prd_i86pc.c | 435 struct mps_fps_hdr *fpp = NULL; in mps_probe() local 444 fpp = (struct mps_fps_hdr *)find_sig( in mps_probe() 447 if (fpp == NULL) { in mps_probe() 451 fpp = (struct mps_fps_hdr *)find_sig( in mps_probe() 455 if (fpp == NULL) { in mps_probe() 456 fpp = (struct mps_fps_hdr *)find_sig( in mps_probe() 460 if (fpp == NULL) { in mps_probe() 465 (void *)fpp); in mps_probe() 468 if (checksum((uchar_t *)fpp, fpp->fps_len * 16) != 0) { in mps_probe() 473 ctp = (struct mps_ct_hdr *)(uintptr_t)fpp->fps_mpct_paddr; in mps_probe()
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_lookup.c | 219 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() argument 221 ctf_file_t *fp = *fpp; /* caller passes in starting CTF container */ in ctf_lookup_by_id() 225 (void) ctf_set_errno(*fpp, ECTF_NOPARENT); in ctf_lookup_by_id() 231 *fpp = fp; /* function returns ending CTF container */ in ctf_lookup_by_id() 327 ctf_file_t **fpp = &fp; in ctf_dyn_lookup_by_id() local 331 if ((t = ctf_lookup_by_id(fpp, id)) != NULL) in ctf_dyn_lookup_by_id()
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 419 int from_kernel, int *fdp, file_t **fpp) in door_create_common() argument 471 if (fpp != NULL) in door_create_common() 472 *fpp = fp; in door_create_common() 850 struct file **fpp; in door_call() local 856 fpp = ct->d_fpp; in door_call() 859 if (door_insert(*fpp, didpp) == -1) { in door_call() 861 door_fp_close(fpp, n + 1); in door_call() 865 fpp++; didpp++; ncopied++; in door_call() 1228 file_t **fpp = ct->d_fpp; in door_server_dispatch() local 1273 if (door_insert(*fpp, &start[ncopied]) == -1) { in door_server_dispatch() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | str_conf.c | 151 i_fmodsw_hash_remove(const char *name, fmodsw_impl_t **fpp) in i_fmodsw_hash_remove() argument 171 *fpp = p; in i_fmodsw_hash_remove() 176 i_fmodsw_hash_find(const char *name, fmodsw_impl_t **fpp) in i_fmodsw_hash_find() argument 190 *fpp = p; in i_fmodsw_hash_find()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack_subr.c | 79 long *fpp = (long *)&((struct rwindow *)frame)->rw_fp; in crawl() local 81 fs_dprintf(("<1> fpp = %p, frame = %p\n", fpp, frame)); in crawl() 120 fs_dprintf(("<7> fpp = %p\n", fpp)); in crawl() 121 *fpp = 0; in crawl()
|
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 305 char **fpp = calloc(maxflds, sizeof (linep)); in parse_line() local 306 char **tpp = fpp; in parse_line() 310 if (!fpp) in parse_line() 314 free(fpp); in parse_line() 323 free_fields(fpp, i); in parse_line() 326 return (fpp); in parse_line() 329 free_fields(fpp, i); in parse_line() 337 return (fpp); in parse_line()
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | v9dep.c | 798 kfpu_t *fpp = lwptofpu(lwp); in setregs() local 860 fpp->fpu_en = 0; in setregs() 861 fpp->fpu_fprs = 0; in setregs() 906 kfpu_t *fpp; in sendsig() local 944 fpp = lwptofpu(lwp); in sendsig() 945 fpp->fpu_fprs = _fp_read_fprs(); in sendsig() 946 if ((fpp->fpu_en) || (fpp->fpu_fprs & FPRS_FEF)) { in sendsig() 947 fpq_size = fpp->fpu_q_entrysize * fpp->fpu_qcnt; in sendsig() 1237 kfpu_t *fpp; in sendsig32() local 1271 fpp = lwptofpu(lwp); in sendsig32() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ndifm.c | 225 ndi_fmcentry_t *fep, **fpp; in ndi_fmc_insert() local 241 fpp = &((ddi_dma_impl_t *)resource)->dmai_error.err_fep; in ndi_fmc_insert() 250 fpp = &((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_insert() 273 ASSERT(*fpp == NULL); in ndi_fmc_insert() 274 *fpp = fep; in ndi_fmc_insert()
|
H A D | fio.c | 1134 falloc(vnode_t *vp, int flag, file_t **fpp, int *fdp) in falloc() argument 1160 *fpp = fp; in falloc()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 600 struct face *fp, **fpp; in find_face() local 609 for (fpp = &krb5int_fac.data; *fpp; ) { in find_face() 610 fp = *fpp; in find_face() 623 *fpp = fp->next; in find_face() 628 fpp = &(*fpp)->next; in find_face()
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 276 fasttrap_provider_t **fpp, *fp; in fasttrap_pid_cleanup_cb() local 301 fpp = (fasttrap_provider_t **)&bucket->ftb_data; in fasttrap_pid_cleanup_cb() 303 while ((fp = *fpp) != NULL) { in fasttrap_pid_cleanup_cb() 305 fpp = &fp->ftp_next; in fasttrap_pid_cleanup_cb() 349 fpp = &fp->ftp_next; in fasttrap_pid_cleanup_cb() 351 *fpp = fp->ftp_next; in fasttrap_pid_cleanup_cb() 2258 fasttrap_provider_t **fpp, *fp; in fasttrap_detach() local 2262 fpp = (fasttrap_provider_t **)&bucket->ftb_data; in fasttrap_detach() 2263 while ((fp = *fpp) != NULL) { in fasttrap_detach() 2276 fpp = &fp->ftp_next; in fasttrap_detach() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | archdep.c | 135 const uint16_t *fpp; in fxsave_to_fnsave() local 146 fpp = &fx->fx_st[(i - top + 8) & 7].fpr_16[0]; in fxsave_to_fnsave() 147 ibit = fpp[3] >> 15; in fxsave_to_fnsave() 148 expo = fpp[4] & 0x7fff; in fxsave_to_fnsave() 153 if (bcmp(fpp, &zero, sizeof (zero))) in fxsave_to_fnsave()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 415 struct frame *fpp; in showstack() local 428 fpp = (struct frame *)fp; in showstack() 429 pc = fpp->fr_savpc; in showstack() 443 fp = fpp->fr_savfp; in showstack()
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vnops.c | 371 page_t *pp, *fpp; in bootfs_getapage() local 399 fpp = page_numtopp_nolock(pfn); in bootfs_getapage() 401 if (ppcopy(fpp, pp) == 0) { in bootfs_getapage()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 805 sctp_faddr_t *fpp; in sctp_unlink_faddr() local 807 fpp = NULL; in sctp_unlink_faddr() 832 for (fpp = sctp->sctp_faddrs; fpp->sf_next != fp; fpp = fpp->sf_next) in sctp_unlink_faddr() 841 fpp->sf_next = fp->sf_next; in sctp_unlink_faddr()
|
H A D | sctp_opt_data.c | 407 sctp_faddr_t **fpp) in sctp_find_peer_fp() argument 425 *fpp = NULL; in sctp_find_peer_fp() 427 *fpp = sctp_lookup_faddr(sctp, &addr); in sctp_find_peer_fp() 428 if (*fpp == NULL) { in sctp_find_peer_fp()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfcomp.c | 153 frentry_t *f, **fpp; local 195 for (fpp = &g->fg_start; *fpp != NULL; ) 196 fpp = &((*fpp)->fr_next); 197 *fpp = f;
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 3467 workq_t *wqp, ctf_cu_t *cdies, ctf_file_t **fpp) in ctf_dwarf_convert_batch() argument 3529 if (*fpp != NULL) { in ctf_dwarf_convert_batch() 3531 fpprev = *fpp; in ctf_dwarf_convert_batch() 3532 *fpp = NULL; in ctf_dwarf_convert_batch() 3546 *fpp = NULL; in ctf_dwarf_convert_batch() 3552 err = ctf_merge_merge(cmp, fpp); in ctf_dwarf_convert_batch() 3555 *fpp = NULL; in ctf_dwarf_convert_batch() 3575 ctf_dwarf_convert(ctf_convert_t *cch, int fd, Elf *elf, ctf_file_t **fpp, in ctf_dwarf_convert() argument 3586 *fpp = NULL; in ctf_dwarf_convert() 3653 *fpp = cup->cu_ctfp; in ctf_dwarf_convert() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_module.c | 1394 const char *name, ctf_file_t **fpp, ctf_id_t *idp) in dtrace_lookup_by_type_user() argument 1403 *fpp = NULL; in dtrace_lookup_by_type_user() 1421 *fpp = dmp->dm_libctfp[i]; in dtrace_lookup_by_type_user() 1427 *fpp = NULL; in dtrace_lookup_by_type_user() 1470 *fpp = fp; in dtrace_lookup_by_type_user() 1473 *fpp = NULL; in dtrace_lookup_by_type_user()
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 1356 setfile(char **fpp, char **epp, char *file) in setfile() argument 1360 *fpp = (char *)malloc(BUFSIZ); in setfile() 1361 if (*fpp == 0) { in setfile() 1366 (void) strcpy(*fpp, file); in setfile() 1367 for (cp = *fpp; *cp; cp++) in setfile()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 176 getsonode(int sock, int *errorp, file_t **fpp) in getsonode() argument 213 if (fpp) in getsonode() 214 *fpp = fp; in getsonode()
|