Searched refs:rv (Results 176 - 200 of 460) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c635 u_int8_t rv; local
638 rv = cfread8(CF_ERROR);
639 puthex8(rv);
641 rv = cfread8(CF_SECT_CNT);
642 puthex8(rv);
644 rv = cfread8(CF_SECT_NUM);
645 puthex8(rv);
647 rv = cfread8(CF_CYL_L);
648 puthex8(rv);
650 rv
[all...]
/freebsd-9.3-release/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c253 int rv, amnt, data_available; local
256 rv = 0;
261 rv = uiomove((void *)(sc->sc_data + sc->sc_rpos),
263 if (rv != 0)
270 return rv;
276 int rv, amnt, data_available; local
282 rv = 0;
287 rv = uiomove((void *)(sc->sc_data + sc->sc_wpos),
289 if (rv != 0)
296 return rv;
[all...]
/freebsd-9.3-release/sys/mips/adm5120/
H A Dadmpci.c365 struct resource *rv = NULL;
385 rv = rman_reserve_resource(rm, start, end, count, flags, child);
386 if (rv == NULL)
388 rman_set_rid(rv, *rid);
390 bh += (rman_get_start(rv));
392 rman_set_bustag(rv, sc->sc_st);
393 rman_set_bushandle(rv, bh);
395 if (bus_activate_resource(child, type, *rid, rv)) {
396 rman_release_resource(rv);
401 return (rv);
[all...]
/freebsd-9.3-release/sys/mips/rmi/
H A Dxlr_pci.c522 struct resource *rv; local
543 rv = rman_reserve_resource(rm, start, end, count, flags, child);
544 if (rv == 0)
547 rman_set_rid(rv, *rid);
551 rman_set_bushandle(rv, va);
553 rman_set_virtual(rv, (void *)va);
554 rman_set_bustag(rv, rmi_pci_bus_space);
558 if (bus_activate_resource(child, type, *rid, rv)) {
559 rman_release_resource(rv);
563 return (rv);
[all...]
/freebsd-9.3-release/usr.bin/csup/
H A Dstream.c971 int rv; local
980 rv = inflateInit(state);
981 if (rv != Z_OK)
993 rv = deflateInit(state, Z_DEFAULT_COMPRESSION);
994 if (rv != Z_OK)
1058 int done, error, flags, rv; local
1070 rv = Z_OK;
1078 rv == Z_BUF_ERROR || buf_avail(buf) == 0) {
1090 rv = deflate(state, flags);
1091 if (rv !
1115 int rv; local
[all...]
H A Dproto.c91 int error, rv, soerror; local
97 rv = select(s + 1, &readfd, NULL, NULL, NULL);
98 } while (rv == -1 && errno == EINTR);
99 if (rv == -1)
720 int rv, val, ignore; local
724 rv = 0;
738 rv = stream_printf(wr, "%c", c);
743 rv = stream_printf(wr, "%d", val);
747 rv = stream_printf(wr, "%x", val);
751 rv
[all...]
/freebsd-9.3-release/sys/boot/zfs/
H A Dzfs.c528 int rv; local
541 rv = zfs_mount(spa, dev->root_guid, mount);
542 if (rv != 0) {
544 return (rv);
594 int rv; local
620 rv = zfs_lookup_dataset(spa, rootname, &dev->root_guid);
621 if (rv != 0)
622 return (rv);
676 int rv; local
691 rv
[all...]
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Dupa.c384 int rv; local
386 rv = bus_print_child_header(dev, child);
387 rv += upa_print_res(device_get_ivars(child));
388 rv += bus_print_child_footer(dev, child);
389 return (rv);
411 struct resource *rv; local
446 rv = bus_generic_alloc_resource(dev, child, type, rid,
449 rle->res = rv;
450 return (rv);
587 int rv; local
[all...]
/freebsd-9.3-release/sbin/dhclient/
H A Dconflex.c169 int rv; local
176 rv = token;
179 rv = get_token(cfile);
185 return (rv);
292 int rv = NUMBER_OR_NAME; local
303 rv = NAME;
313 return (intern(tval, rv));
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-mdio.h383 int rv; local
391 rv = mdiobus_read(bus, phy_id, location);
393 if (rv < 0)
395 return rv;
435 int rv; local
443 rv = mdiobus_write(bus, phy_id, location, (u16)val);
445 if (rv < 0)
/freebsd-9.3-release/sys/dev/ofw/
H A Dofw_fdt.c329 int offset, rv; local
347 rv = fdt_nextprop(offset, buf, size);
348 return (rv);
440 int rv; local
453 rv = ofw_fdt_fixup(ofw);
455 retvals[0] = rv;
457 return (rv);
/freebsd-9.3-release/sys/powerpc/psim/
H A Diobus.c312 struct resource *rv; local
334 rv = rman_reserve_resource(rm, start, end, count, flags, child);
335 if (rv == NULL) {
341 rman_set_rid(rv, *rid);
344 if (bus_activate_resource(child, type, *rid, rv) != 0) {
348 rman_release_resource(rv);
353 return (rv);
/freebsd-9.3-release/contrib/tnftp/src/
H A Dutil.c1249 int rv = 0; local
1258 rv = 0;
1260 rv = 1;
1263 DPRINTF("isipv6addr: got %d for %s\n", rv, addr);
1265 return (rv == 1) ? 1 : 0;
1286 int rv, ch; local
1291 rv = -2;
1295 rv = -1;
1300 return rv;
1331 int flags, rv, timeou local
[all...]
/freebsd-9.3-release/contrib/bind9/bin/dig/
H A Ddig.c1491 char **rv; local
1495 rv = argv;
1496 for (rc--, rv++; rc > 0; rc--, rv++) {
1497 if (rv[0][0] != '-')
1499 option = &rv[0][1];
1526 char **rv; local
1602 rv = argv;
1603 for (rc--, rv++; rc > 0; rc--, rv
[all...]
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dixp425_pci.c281 struct resource *rv; local
283 rv = NULL;
298 return (rv);
301 rv = rman_reserve_resource(rmanp, start, end, count, flags & ~RF_ACTIVE,
303 if (rv == NULL)
305 rman_set_rid(rv, *rid);
307 if (bus_activate_resource(child, type, *rid, rv)) {
308 rman_release_resource(rv);
313 return (rv);
H A Dixp425.c502 struct resource *rv; local
513 rv = rman_reserve_resource(&sc->sc_irq_rman, start, end, count,
515 if (rv != NULL)
516 rman_set_rid(rv, *rid);
548 rv = rman_reserve_resource(&sc->sc_mem_rman, start, end,
550 if (rv == NULL) {
555 rman_set_rid(rv, *rid);
558 rv = NULL;
561 if (rv != NULL && needactivate) {
562 if (bus_activate_resource(child, type, *rid, rv)) {
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_bookmark.c151 int rv = 0; local
172 rv = error;
176 return (rv);
355 int rv = 0; local
389 rv = error;
392 return (rv);
440 int rv; local
450 rv = dsl_sync_task(nvpair_name(pair), dsl_bookmark_destroy_check,
453 return (rv);
/freebsd-9.3-release/sys/mips/idt/
H A Didtpci.c472 struct resource *rv = NULL; local
492 rv = rman_reserve_resource(rm1, start, end, count, flags, child);
495 if ((rv == NULL) && (rm2 != NULL))
496 rv = rman_reserve_resource(rm2, start, end, count, flags,
499 if (rv == NULL)
502 rman_set_rid(rv, *rid);
505 if (bus_activate_resource(child, type, *rid, rv)) {
506 rman_release_resource(rv);
511 return (rv);
/freebsd-9.3-release/contrib/gdtoa/
H A Dprintf.c0322 int k, rv = 0;
327 rv |= k;
333 return rv;
669 #define put(x) { *outbuf++ = x; if (outbuf == obe) outbuf = (*fput)(f,&rv); }
690 len, prec, prec1, psign, rv, sign, width;
706 rv = 0;
901 c = outbuf - ob0 + rv;
1332 return (f->lastlen = outbuf - ob0) + rv;
1346 int rv;
1357 int rv;
[all...]
H A Ddmisc.c68 char *rv, *t; local
70 t = rv = rv_alloc(n);
75 return rv;
/freebsd-9.3-release/sbin/mount_msdosfs/
H A Dmount_msdosfs.c272 int done, rv; local
276 rv = -1;
279 rv = strtol(optarg, &ep, 8);
281 if (!done || rv < 0 || *ep)
283 return (rv);
/freebsd-9.3-release/sys/vm/
H A Dvm_unix.c82 int prot, rv; local
170 rv = vm_map_insert(map, NULL, 0, old, new, prot, VM_PROT_ALL, 0);
171 if (rv != KERN_SUCCESS) {
201 rv = vm_map_delete(map, new, old);
202 if (rv != KERN_SUCCESS) {
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_pq.c135 uint64_t rv = dt_pq_getvalue(p, rc); local
137 if (lv < rv) {
142 v = rv;
/freebsd-9.3-release/sys/boot/common/
H A Dconsole.c102 int rv; local
109 ((rv = consoles[cons]->c_in()) != -1))
110 return(rv);
/freebsd-9.3-release/sys/dev/stg/
H A Dtmc18c30_subr.c127 int rv; local
130 rv = stgprobesubr(rman_get_bustag(sc->port_res),
134 return rv;

Completed in 200 milliseconds

1234567891011>>