Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/
H A Dpptrtab.c9 ctf_dict_t *cfp; in main() local
19 if ((cfp = ctf_create (&err)) == NULL) in main()
22 if (ctf_import (cfp, pfp) < 0) in main()
35 if ((ptr = ctf_add_pointer (cfp, CTF_ADD_ROOT, base)) == CTF_ERR) in main()
38 if ((type = ctf_lookup_by_name (cfp, "int *") ) == CTF_ERR) in main()
41 type_name = ctf_type_aname (cfp, type); in main()
43 type_name, ctf_type_kind (cfp, ctf_type_reference (cfp, type))); in main()
46 if (ctf_type_reference (cfp, type) != base) in main()
48 ctf_type_reference (cfp, type)); in main()
56 if ((type = ctf_lookup_by_name (cfp, "long int *") ) == CTF_ERR) in main()
[all …]
H A Dpptrtab-writable-page-deep-lookup.c12 ctf_dict_t *pfp, *cfp; in main() local
28 if ((cfp = ctf_create (&err)) == NULL) in main()
31 if (ctf_import (cfp, pfp) < 0) in main()
40 if ((type = ctf_lookup_by_name (cfp, "*foo")) != CTF_ERR) in main()
42 fprintf (stderr, "Type lookup unexpectedly succeeded: %s\n", ctf_errmsg (ctf_errno (cfp))); in main()
46 if ((type = ctf_lookup_by_name (cfp, "foo *")) == CTF_ERR) in main()
48 fprintf (stderr, "Type lookup error: %s\n", ctf_errmsg (ctf_errno (cfp))); in main()
52 ctf_dict_close (cfp); in main()
66 fprintf (stderr, "Cannot create child type: %s\n", ctf_errmsg (ctf_errno (cfp))); in main()
/netbsd-src/sys/arch/m68k/include/
H A Dframe.h230 #define ATOMIC_CAS_CHECK(cfp) \ argument
232 if (! CLKF_USERMODE(cfp) && \
233 (CLKF_PC(cfp) < (u_long)&_atomic_cas_ras_end && \
234 CLKF_PC(cfp) > (u_long)&_atomic_cas_ras_start)) { \
235 (cfp)->cf_pc = (u_long)&_atomic_cas_ras_start; \
239 #define ATOMIC_CAS_CHECK(cfp) /* nothing */ argument
/netbsd-src/distrib/utils/ssh/
H A Dssh.c101 FILE *cfp; /* command file ptr */ in main() local
135 if ((cfp = fopen(cf_name, "r")) != NULL) { in main()
136 error = runfile(cfp); in main()
137 fclose(cfp); in main()
152 cfp = fopen(cf_name, "r"); in main()
153 if (cfp == NULL) { in main()
157 error = runfile(cfp); in main()
158 fclose(cfp); in main()
199 runfile(FILE *cfp) in runfile() argument
214 if ((fgets(ibuf, sizeof(ibuf), cfp)) == NULL) in runfile()
/netbsd-src/usr.sbin/lpr/common_source/
H A Drmjob.c187 FILE *cfp; in process() local
192 if ((cfp = fopen(file, "r")) == NULL) in process()
195 while (get_line(cfp)) { in process()
203 (void)fclose(cfp); in process()
229 FILE *cfp; in chk() local
244 if ((cfp = fopen(file, "r")) == NULL) in chk()
247 while (get_line(cfp)) { in chk()
251 (void)fclose(cfp); in chk()
H A Ddisplayq.c302 FILE *cfp; in inform() local
309 if ((cfp = fopen(cf, "r")) == NULL) in inform()
318 while (get_line(cfp)) { in inform()
322 fclose(cfp); in inform()
354 fclose(cfp); in inform()
H A Dcommon.c207 get_line(FILE *cfp) in get_line() argument
213 while ((c = getc(cfp)) != '\n' && linel+1<sizeof(line)) { in get_line()
/netbsd-src/sys/kern/
H A Dsubr_userconf.c201 const struct cfparent *cfp; in userconf_pdev() local
217 cfp = cd->cf_pspec; in userconf_pdev()
218 if (cfp == NULL) in userconf_pdev()
220 else if (cfp->cfp_parent != NULL && cfp->cfp_unit != -1) in userconf_pdev()
221 printf(" %s%d", cfp->cfp_parent, cfp->cfp_unit); in userconf_pdev()
223 printf(" %s?", cfp->cfp_parent != NULL ? cfp->cfp_parent in userconf_pdev()
224 : cfp->cfp_iattr); in userconf_pdev()
238 if (cfp) { in userconf_pdev()
240 ia = cfiattr_lookup(cfp->cfp_iattr, 0); in userconf_pdev()
/netbsd-src/usr.bin/man/
H A Dmanconf.c103 FILE *cfp; in config() local
110 if ((cfp = fopen(fname, "r")) == NULL) in config()
113 for (lcnt = 1; (p = fgetln(cfp, &len)) != NULL; ++lcnt) { in config()
212 (void)fclose(cfp); in config()
/netbsd-src/games/dm/
H A Ddm.c129 FILE *cfp; in read_config() local
132 if (!(cfp = fopen(_PATH_CONFIG, "r"))) in read_config()
134 while (fgets(lbuf, sizeof(lbuf), cfp)) in read_config()
154 (void)fclose(cfp); in read_config()
/netbsd-src/usr.sbin/lpr/lpd/
H A Dprintjob.c96 static FILE *cfp; /* control file */ variable
347 if ((cfp = fopen(file, "r")) == NULL) { in printit()
400 while (get_line(cfp)) in printit()
484 (void)fclose(cfp); in printit()
504 fseek(cfp, 0L, 0); in printit()
505 while (get_line(cfp)) in printit()
525 (void)fclose(cfp); in printit()
807 if ((cfp = fopen(file, "r")) == NULL) in sendit()
824 while (get_line(cfp)) { in sendit()
841 while ((i = get_line(cfp)) != 0) in sendit()
[all …]
/netbsd-src/lib/libc/rpc/
H A Dsvc_vc.c438 struct cf_rendezvous *cfp; in svc_vc_rendezvous_control() local
440 cfp = (struct cf_rendezvous *)xprt->xp_p1; in svc_vc_rendezvous_control()
441 if (cfp == NULL) in svc_vc_rendezvous_control()
445 *(int *)in = cfp->maxrec; in svc_vc_rendezvous_control()
448 cfp->maxrec = *(int *)in; in svc_vc_rendezvous_control()
475 struct cf_conn *cfp; in read_vc() local
518 cfp = (struct cf_conn *)xprt->xp_p1; in read_vc()
520 if (cfp->nonblock) { in read_vc()
529 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
551 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
/netbsd-src/sys/arch/mips/mips/
H A Dmips3_clockintr.c66 mips3_clockintr(struct clockframe *cfp) in mips3_clockintr() argument
95 hardclock(cfp); in mips3_clockintr()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dclock.c139 decr_intr(struct clockframe *cfp) in decr_intr()
190 hardclock(cfp); in decr_intr()
191 hardclock(cfp); in decr_intr()
138 decr_intr(struct clockframe * cfp) decr_intr() argument
/netbsd-src/sys/arch/x68k/dev/
H A Dgrf_machdep.c120 grfmatch(device_t parent, cfdata_t cfp, void *aux) in grfmatch() argument
124 addr = cfp->cf_loc[GRFBCF_ADDR]; in grfmatch()
/netbsd-src/sys/arch/evbsh3/nextvod/
H A Dstasc.c146 stasc_match(device_t parent, cfdata_t cfp, void *aux) in stasc_match() argument
149 if (strcmp(cfp->cf_name, "stasc") != 0) in stasc_match()
/netbsd-src/sys/arch/sh3/dev/
H A Dwdog.c100 wdogmatch(device_t parent, cfdata_t cfp, void *aux) in wdogmatch() argument
103 if (strcmp(cfp->cf_name, "wdog")) in wdogmatch()
/netbsd-src/sys/arch/hpcsh/dev/
H A Dpsh3pwr.c111 psh3pwr_match(device_t parent, struct cfdata *cfp, void *aux) in psh3pwr_match() argument
117 if (strcmp(cfp->cf_name, "psh3pwr") != 0) in psh3pwr_match()
H A Dj6x0pwr.c129 j6x0pwr_match(device_t parent, cfdata_t cfp, void *aux) in j6x0pwr_match() argument
139 if (strcmp(cfp->cf_name, "j6x0pwr") != 0) in j6x0pwr_match()
H A Dpsh3lcd.c225 psh3lcd_match(device_t parent __unused, struct cfdata *cfp, void *aux __unused) in psh3lcd_match() argument
232 if (strcmp(cfp->cf_name, "psh3lcd") != 0) in psh3lcd_match()
/netbsd-src/external/lgpl3/gmp/dist/mpn/cray/
H A DREADME39 The cfp subdirectory is for systems utilizing the traditional Cray
44 systems with cfp floating point, the main obstacle is the forming of
54 For best speed for cfp systems, we need a mul_basecase, since that
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdstate.c148 uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p);
152 int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp,
1522 struct nfslock **new_lopp, struct nfslockconflict *cfp, in nfsrv_lockctrl() argument
1635 new_lop->lo_first, new_lop->lo_end, cfp, p); in nfsrv_lockctrl()
2122 if (cfp != NULL && ret == 0) { in nfsrv_lockctrl()
2123 cfp->cl_clientid.lval[0]=lop->lo_stp->ls_stateid.other[0]; in nfsrv_lockctrl()
2124 cfp->cl_clientid.lval[1]=lop->lo_stp->ls_stateid.other[1]; in nfsrv_lockctrl()
2125 cfp->cl_first = lop->lo_first; in nfsrv_lockctrl()
2126 cfp->cl_end = lop->lo_end; in nfsrv_lockctrl()
2127 cfp->cl_flags = lop->lo_flags; in nfsrv_lockctrl()
[all …]
/netbsd-src/sys/arch/amigappc/amigappc/
H A Dmainbus.c89 mbmatch(device_t parent, cfdata_t cfp, void *aux) in mbmatch() argument
/netbsd-src/sys/arch/landisk/dev/
H A Dpwrsw_obio.c70 pwrsw_obio_probe(device_t parent, cfdata_t cfp, void *aux) in pwrsw_obio_probe() argument
/netbsd-src/sys/arch/atari/isa/
H A Dfdcisa.c97 fdc_isa_probe(device_t parent, cfdata_t cfp, void *aux) in fdc_isa_probe() argument

12