Home
last modified time | relevance | path

Searched refs:cfp (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c160 return (cfp); in _nsw_getoneconfig_v1()
354 return (cfp); in _nsw_getoneconfig()
476 freeconf(cfp); in _nsw_getoneconfig()
529 return (cfp); in __nsw_getconfig_v1()
575 retp = cfp; in __nsw_getconfig_v1()
627 return (cfp); in __nsw_getconfig()
672 retp = cfp; in __nsw_getconfig()
734 if (cfp) { in freeconf_v1()
752 if (cfp) { in freeconf()
860 cp->sw = cfp; in add_concell_v1()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c793 cfp->cf_parhash[h] = pp; in fmd_conf_fill()
811 cfp->cf_argv = argv; in fmd_conf_open()
812 cfp->cf_argc = argc; in fmd_conf_open()
813 cfp->cf_flag = flag; in fmd_conf_open()
822 cfp->cf_defer = NULL; in fmd_conf_open()
824 fmd_conf_fill(cfp, cfp->cf_params, _fmd_conf_defc, _fmd_conf_defv, 0); in fmd_conf_open()
825 fmd_conf_fill(cfp, cfp->cf_params + _fmd_conf_defc, argc, argv, 1); in fmd_conf_open()
828 fmd_conf_close(cfp); in fmd_conf_open()
832 return (cfp); in fmd_conf_open()
876 fmd_free(cfp->cf_parhash, in fmd_conf_close()
[all …]
H A Dfmd_api.c361 fmd_conf_formal_t *cfp; in fmd_hdl_register() local
446 cfp = mp->mod_argv; in fmd_hdl_register()
448 for (i = 0; i < mp->mod_argc; i++, prop++, cfp++) { in fmd_hdl_register()
449 cfp->cf_name = fmd_strdup(prop->fmdp_name, FMD_SLEEP); in fmd_hdl_register()
450 cfp->cf_ops = _fmd_prop_ops[prop->fmdp_type]; in fmd_hdl_register()
451 cfp->cf_default = fmd_strdup(prop->fmdp_defv, FMD_SLEEP); in fmd_hdl_register()
579 fmd_conf_formal_t *cfp = mp->mod_argv; in fmd_module_unregister() local
625 for (i = 0; i < mp->mod_argc; i++, cfp++) { in fmd_module_unregister()
626 fmd_strfree((char *)cfp->cf_name); in fmd_module_unregister()
627 fmd_strfree((char *)cfp->cf_default); in fmd_module_unregister()
H A Dfmd_module.c418 fmd_conf_formal_t *cfp = mp->mod_argv; in fmd_module_destroy() local
474 for (i = 0; i < mp->mod_argc; i++, cfp++) { in fmd_module_destroy()
475 fmd_strfree((char *)cfp->cf_name); in fmd_module_destroy()
476 fmd_strfree((char *)cfp->cf_default); in fmd_module_destroy()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswparse.c97 if (cfp) { in freeconf_v1()
98 if (cfp->dbase) in freeconf_v1()
99 free(cfp->dbase); in freeconf_v1()
100 if (cfp->lookups) { in freeconf_v1()
108 free(cfp); in freeconf_v1()
207 return (cfp); in _nsw_getoneconfig_v1()
212 freeconf_v1(cfp); in _nsw_getoneconfig_v1()
266 return (cfp); in _nsw_getoneconfig_v1()
336 return (cfp); in _nsw_getoneconfig_v1()
353 return (cfp); in _nsw_getoneconfig_v1()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dcf.c47 SM_FILE_T *cfp; variable
55 cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, path, SM_IO_RDONLY, NULL);
56 if (cfp == NULL)
59 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
92 if (sm_io_error(cfp))
96 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
100 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dlemon.c778 for(cfp=stp->cfp; cfp; cfp=cfp->next) cfp->status = INCOMPLETE;
781 for(cfp=stp->cfp; cfp; cfp=cfp->next){
826 for(cfp=stp->cfp; cfp; cfp=cfp->next){
835 for(cfp=stp->cfp; cfp; cfp=cfp->next){
859 for(cfp=lemp->sorted[i]->cfp; cfp; cfp=cfp->next){
867 for(cfp=lemp->sorted[i]->cfp; cfp; cfp=cfp->next){
901 for(cfp=stp->cfp; cfp; cfp=cfp->next){ /* Loop over all configurations */
1101 cfp->fplp = cfp->bplp = 0;
1151 for(cfp=current; cfp; cfp=cfp->next){
1220 for(; cfp; cfp=nextcfp){
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c4328 for (cfp = *cfap; cfp; cfp = cfp->next) in findcsfrag()
4372 for (cfp = *cfap; cfp; cfp = cfp->next) { in addcsfrag()
4546 for (cfp = csfragino; cfp; cfp = cfp->next) { in fixcsfragino()
4599 cfp = cfp->next) { in checkfragallocated()
4874 for (cfp = csfragino; cfp; cfp = cfp->next) in notenoughspace()
4887 freefrags(cfp->nfrag, cfp->frags, cfp->cylno); in unalloccsfragino()
4898 freefrags(cfp->ofrag, cfp->frags, cfp->cylno); in unalloccsfragfree()
4918 for (cfp = csfrag; cfp; cfp = cfpnext) { in findcsfragfree()
4936 for (cfp = csfragino; cfp; cfp = cfp->next) { in copycsfragino()
5032 for (cfp = csfragino; cfp; cfp = cfp->next) { in alloccsfragino()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Duucp.c485 FILE *cfp; local
544 if (pclose(cfp) != 0) {
591 cfp = syscfile(cfile, s1);
592 (void) fprintf(cfp,
597 (void) fclose(cfp);
648 cfp = syscfile(cfile, s2);
652 (void) fclose(cfp);
679 FILE *cfp; local
687 cfp = fopen(file, "a");
688 ASSERT(cfp != NULL, Ct_OPEN, file, errno);
[all …]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c1503 pci_acc_cfblk_t *cfp; in pci_config_rd8() local
1513 rval = (*pci_getb_func)(cfp->c_busnum, cfp->c_devnum, cfp->c_funcnum, in pci_config_rd8()
1539 pci_acc_cfblk_t *cfp; in pci_config_rd16() local
1549 rval = (*pci_getw_func)(cfp->c_busnum, cfp->c_devnum, cfp->c_funcnum, in pci_config_rd16()
1575 pci_acc_cfblk_t *cfp; in pci_config_rd32() local
1585 rval = (*pci_getl_func)(cfp->c_busnum, cfp->c_devnum, in pci_config_rd32()
1612 pci_acc_cfblk_t *cfp; in pci_config_wr8() local
1621 (*pci_putb_func)(cfp->c_busnum, cfp->c_devnum, in pci_config_wr8()
1645 pci_acc_cfblk_t *cfp; in pci_config_wr16() local
1654 (*pci_putw_func)(cfp->c_busnum, cfp->c_devnum, in pci_config_wr16()
[all …]
H A Dpci.c345 pci_acc_cfblk_t *cfp; in pci_bus_map() local
478 cfp = (pci_acc_cfblk_t *)&hp->ah_bus_private; in pci_bus_map()
479 cfp->c_busnum = PCI_REG_BUS_G(pci_rp->pci_phys_hi); in pci_bus_map()
480 cfp->c_devnum = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in pci_bus_map()
481 cfp->c_funcnum = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pci_bus_map()
/illumos-gate/usr/src/uts/sparc/v9/fpu/
H A Dfpu.c88 kfpu_t *cfp, *pfp; in fp_fork() local
91 cfp = lwptofpu(clwp); in fp_fork()
97 cfp->fpu_qcnt = pfp->fpu_qcnt; in fp_fork()
99 cfp->fpu_q[i] = pfp->fpu_q[i]; in fp_fork()
104 cfp->fpu_fprs = pfp->fpu_fprs; in fp_fork()
106 fp_fksave(cfp); in fp_fork()
109 cfp->fpu_fr.fpu_regs[i] = pfp->fpu_fr.fpu_regs[i]; in fp_fork()
111 cfp->fpu_fr.fpu_dregs[i] = pfp->fpu_fr.fpu_dregs[i]; in fp_fork()
113 cfp->fpu_en = 1; in fp_fork()
/illumos-gate/usr/src/cmd/ctfconvert/
H A Dctfconvert.c137 ctfconvert_fixup_t *cfp = arg; in ctfconvert_fixup_genunix_cb() local
139 cfp->cf_lastpad = B_FALSE; in ctfconvert_fixup_genunix_cb()
141 cfp->cf_cyclic = B_TRUE; in ctfconvert_fixup_genunix_cb()
146 cfp->cf_mcpu = B_TRUE; in ctfconvert_fixup_genunix_cb()
151 cfp->cf_lastpad = B_TRUE; in ctfconvert_fixup_genunix_cb()
152 cfp->cf_padoff = off; in ctfconvert_fixup_genunix_cb()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dpraliases.c65 SM_FILE_T *cfp; local
116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
160 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
226 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
H A Deditmap.c102 FILE *cfp; local
214 if ((cfp = fopen(cfile, "r")) == NULL)
220 while (fgets(buf, sizeof(buf), cfp) != NULL)
270 (void) fclose(cfp);
H A Dmailstats.c56 SM_FILE_T *cfp; variable
119 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
134 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
210 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
H A Dmakemap.c106 SM_FILE_T *cfp; local
237 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
244 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
296 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/illumos-gate/usr/src/uts/intel/os/
H A Dfpu.c608 struct fpu_ctx *cfp; /* new fpu context */ in fp_new_lwp() local
615 cfp = &ct->t_lwp->lwp_pcb.pcb_fpu; in fp_new_lwp()
623 cfp->fpu_flags = FPU_EN | FPU_VALID; in fp_new_lwp()
624 cfp->fpu_regs.kfpu_status = 0; in fp_new_lwp()
625 cfp->fpu_regs.kfpu_xstatus = 0; in fp_new_lwp()
636 cfx = cfp->fpu_regs.kfpu_u.kfpu_fx; in fp_new_lwp()
643 cfp->fpu_xsave_mask = fp->fpu_xsave_mask; in fp_new_lwp()
648 cxs = cfp->fpu_regs.kfpu_u.kfpu_xs; in fp_new_lwp()
667 ctxop_attach(ct, fp_ctxop_allocate(cfp)); in fp_new_lwp()
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c742 conftab_t *cfp = NULL; in build_event_table() local
784 for (cfp = conftab; cfp->cf_next; cfp = cfp->cf_next) in build_event_table()
786 cfp->cf_next = new_cfp; in build_event_table()
788 cfp = new_cfp; in build_event_table()
789 cfp->cf_conf_file = str; in build_event_table()
790 cfp->cf_next = NULL; in build_event_table()
875 conftab_t *cfp; in free_event_table() local
896 cfp = conftab; in free_event_table()
897 while (cfp) { in free_event_table()
899 cfp_next = cfp->cf_next; in free_event_table()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c513 pci_acc_cfblk_t *cfp; in npe_bus_map() local
665 cfp = (pci_acc_cfblk_t *)&hp->ah_bus_private; in npe_bus_map()
666 cfp->c_busnum = PCI_REG_BUS_G(pci_rp->pci_phys_hi); in npe_bus_map()
667 cfp->c_devnum = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in npe_bus_map()
668 cfp->c_funcnum = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in npe_bus_map()
683 cfp->c_busnum < ecfginfo[2] || in npe_bus_map()
684 cfp->c_busnum > ecfginfo[3]) { in npe_bus_map()
698 pci_rp->pci_phys_low += ((cfp->c_busnum << 20) | in npe_bus_map()
699 (cfp->c_devnum) << 15 | in npe_bus_map()
700 (cfp->c_funcnum << 12)); in npe_bus_map()
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c461 FILE *cfp = NULL, *tfp = NULL; in conf_close() local
495 if ((cfp = fdopen(cfd, "w")) == NULL) in conf_close()
499 cfp = fopen("/dev/null", "w"); in conf_close()
518 conf_print(cfp, tfp); in conf_close()
519 if (fclose(cfp) < 0) in conf_close()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c5700 FILE *cfp, in readnvpair() argument
6141 FILE *cfp, in readparams() argument
6876 FILE *cfp, in readclass() argument
7302 FILE *cfp, in readfilter() argument
7664 read_curl_begin(FILE *cfp) in read_curl_begin() argument
7670 res = readtoken(cfp, &st); in read_curl_begin()
7780 FILE *cfp, in readaction() argument
7802 res = readtoken(cfp, &st); in readaction()
8401 FILE *cfp, in read_cfile_ver() argument
8413 res = readtoken(cfp, &sp); in read_cfile_ver()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c406 FILE *cfp; local
408 cfp = fopen (chat_file, "r");
409 if (cfp == NULL)
415 while (fgets(buf, STR_LEN, cfp) != NULL) {
463 fclose (cfp);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c617 ses_cfghdr(uchar_t *buffer, int buflen, SesCfgHdr *cfp) in ses_cfghdr() argument
621 gget8(buffer, 1, cfp->Nsubenc); in ses_cfghdr()
622 gget32(buffer, 4, cfp->GenCode); in ses_cfghdr()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DuDNS.h189 CacheRecord ***cfp, mDNSInterfaceID InterfaceID);

12