/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/device/ |
H A D | device.c | 45 static int _is_partitionable(struct device *dev) argument 47 int parts = max_partitions(MAJOR(dev->dev)); 50 if (MAJOR(dev->dev) == md_major()) 53 if ((parts <= 1) || (MINOR(dev->dev) % parts)) 59 static int _has_partition_table(struct device *dev) argument 67 if (!dev_open(dev)) { 72 if (!dev_read(dev, UINT64_ 100 is_partitioned_dev(struct device *dev) argument 291 get_primary_dev(const char *sysfs_dir, struct device *dev, dev_t *result) argument 368 _dev_topology_attribute(const char *attribute, const char *sysfs_dir, struct device *dev) argument 445 dev_alignment_offset(const char *sysfs_dir, struct device *dev) argument 452 dev_minimum_io_size(const char *sysfs_dir, struct device *dev) argument 459 dev_optimal_io_size(const char *sysfs_dir, struct device *dev) argument 468 get_primary_dev(const char *sysfs_dir, struct device *dev, dev_t *result) argument 474 dev_alignment_offset(const char *sysfs_dir, struct device *dev) argument 480 dev_minimum_io_size(const char *sysfs_dir, struct device *dev) argument 486 dev_optimal_io_size(const char *sysfs_dir, struct device *dev) argument [all...] |
H A D | dev-cache.c | 1 /* $NetBSD: dev-cache.c,v 1.3 2009/10/16 21:00:41 joerg Exp $ */ 19 #include "dev-cache.h" 62 struct device *dev_create_file(const char *filename, struct device *dev, argument 65 int allocate = !dev; 69 if (!(dev = dm_malloc(sizeof(*dev)))) { 75 dm_free(dev); 80 dm_free(dev); 84 dev->flags = DEV_ALLOCED; 86 if (!(dev 122 struct device *dev; local 142 dev_set_preferred_name(struct str_list *sl, struct device *dev) argument 240 _add_alias(struct device *dev, const char *path) argument 284 struct device *dev; local 582 _check_closed(struct device *dev) argument 673 dev_name_confirmed(struct device *dev, int quiet) argument 795 dev_fd(struct device *dev) argument 800 dev_name(const struct device *dev) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/ |
H A D | autoconf.c | 64 #include <dev/bi/bireg.h> 258 device_register(device_t dev, void *aux) argument 267 if ((**dp)(dev, aux)) { 268 booted_device = dev; 279 jmfr(const char *n, device_t dev, int nr) argument 283 return !device_is_a(dev, n); 286 #include <dev/qbus/ubavar.h> 299 #include <dev/bi/bivar.h> 301 booted_ni(device_t dev, void *aux) argument 305 if (jmfr("ni", dev, BDEV_N 314 booted_de(device_t dev, void *aux) argument 325 booted_le(device_t dev, void *aux) argument 333 booted_ze(device_t dev, void *aux) argument 341 booted_qt(device_t dev, void *aux) argument 351 booted_qe(device_t dev, void *aux) argument 364 booted_sd(device_t dev, void *aux) argument 397 booted_rl(device_t dev, void *aux) argument 419 booted_ra(device_t dev, void *aux) argument 441 booted_hp(device_t dev, void *aux) argument 467 booted_rd(device_t dev, void *aux) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/shared-core/ |
H A D | via_mm.c | 40 int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 43 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 60 int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 63 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 82 int via_final_context(struct drm_device *dev, int context) argument 84 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 91 if (dev->ctx_count == 1 && dev->dev_private) { 93 drm_irq_uninstall(dev); 95 via_do_cleanup_map(dev); 101 via_lastclose(struct drm_device *dev) argument 113 via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 153 via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 166 via_reclaim_buffers_locked(struct drm_device * dev, struct drm_file *file_priv) argument [all...] |
H A D | nouveau_irq.c | 41 nouveau_irq_preinstall(struct drm_device *dev) argument 43 struct drm_nouveau_private *dev_priv = dev->dev_private; 50 nouveau_irq_postinstall(struct drm_device *dev) argument 52 struct drm_nouveau_private *dev_priv = dev->dev_private; 61 nouveau_irq_uninstall(struct drm_device *dev) argument 63 struct drm_nouveau_private *dev_priv = dev->dev_private; 70 nouveau_fifo_irq_handler(struct drm_device *dev) argument 72 struct drm_nouveau_private *dev_priv = dev->dev_private; 82 chid = engine->fifo.channel_id(dev); 194 nouveau_graph_chid_from_grctx(struct drm_device *dev) argument 227 nouveau_graph_trapped_channel(struct drm_device *dev, int *channel_ret) argument 259 nouveau_graph_trap_info(struct drm_device *dev, struct nouveau_pgraph_trap *trap) argument 296 nouveau_graph_dump_trap_info(struct drm_device *dev, const char *id, struct nouveau_pgraph_trap *trap) argument 320 nouveau_pgraph_intr_notify(struct drm_device *dev, uint32_t nsource) argument 349 nouveau_pgraph_intr_error(struct drm_device *dev, uint32_t nsource) argument 373 nouveau_pgraph_intr_context_switch(struct drm_device *dev) argument 399 nouveau_pgraph_irq_handler(struct drm_device *dev) argument 442 nv50_pgraph_irq_handler(struct drm_device *dev) argument 509 nouveau_crtc_irq_handler(struct drm_device *dev, int crtc) argument 523 nouveau_nv50_display_irq_handler(struct drm_device *dev) argument 534 nouveau_nv50_i2c_irq_handler(struct drm_device *dev) argument 547 struct drm_device *dev = (struct drm_device*)arg; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/ |
H A D | pcap-dos.c | 108 static int ndis_probe (struct device *dev); 109 static int pkt_probe (struct device *dev); 232 volatile struct device *dev; /* might be reset by sig_handler */ local 234 dev = get_device (p->fd); 235 if (!dev) 238 PCAP_ASSERT (dev->copy_rx_buf || dev->peek_rx_buf); 244 if (dev->peek_rx_buf) 246 PCAP_ASSERT (dev->release_rx_buf); 247 rx_len = (*dev 346 struct device *dev = p ? get_device(p->fd) : NULL; local 378 struct device *dev = p ? get_device (p->fd) : NULL; local 454 struct device *dev; local 518 struct device *dev; local 606 struct device *dev; local 685 struct device *dev = active_dev; local 752 struct device *dev; local 874 struct device *dev = p ? get_device(p->fd) : NULL; local 1056 pkt_close(struct device *dev) argument 1068 pkt_open(struct device *dev) argument 1084 pkt_xmit(struct device *dev, const void *buf, int len) argument 1099 pkt_stats(struct device *dev) argument 1112 pkt_probe(struct device *dev) argument 1134 ndis_close(struct device *dev) argument 1142 ndis_open(struct device *dev) argument 1156 ndis_stats(struct device *dev) argument 1165 ndis_probe(struct device *dev) argument [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hx509/ |
H A D | test_nist_cert.in | 49 if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then 52 if ${hxtool} info | grep 'rand: not available' > /dev/null ; then 57 ( mkdir "$nistdir" && cd "$nistdir" && unzip "$nistzip" ) >/dev/null || \ 61 if ${hxtool} validate DIR:$nistdir/certs > /dev/null; then
|
H A D | test_nist_pkcs12.in | 50 if ${hxtool} info | grep 'rsa: hcrypto null RSA' > /dev/null ; then 53 if ${hxtool} info | grep 'rand: not available' > /dev/null ; then 58 ( mkdir "$nistdir" && cd "$nistdir" && unzip "$nistzip" ) >/dev/null || \ 66 if ${hxtool} validate $pass PKCS12:$a > /dev/null; then
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/util/ |
H A D | pod2mantest | 34 if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | fgrep OpenSSL >/dev/null; then 41 if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | grep '^MARKER - ' >/dev/null; then
|
/netbsd-6-1-5-RELEASE/distrib/sun2/ramdisk/ |
H A D | mtree.conf | 9 ./dev
|
/netbsd-6-1-5-RELEASE/distrib/sun3/ramdisk/ |
H A D | mtree.conf | 9 ./dev
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/metadata/ |
H A D | prereq.sh | 21 if $KEYGEN -q -r random.data foo > /dev/null 2>&1
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/smartsign/ |
H A D | prereq.sh | 21 if $KEYGEN -q -r random.data foo > /dev/null 2>&1
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/contrib/ |
H A D | index-prop | 18 unless m{ /dev/null\t};
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 980526-2.c | 4 static inline kdev_t to_kdev_t(int dev) argument 9 return (kdev_t)dev; 10 major = (dev >> 8); 11 minor = (dev & 0xff); 16 void do_mknod(const char * filename, int mode, kdev_t dev) argument 18 if (dev==0x15800078) 40 int sys_mknod(const char * filename, int mode, dev_t dev) argument 47 do_mknod(tmp,mode,to_kdev_t(dev));
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 980526-2.c | 4 static inline kdev_t to_kdev_t(int dev) argument 9 return (kdev_t)dev; 10 major = (dev >> 8); 11 minor = (dev & 0xff); 16 void do_mknod(const char * filename, int mode, kdev_t dev) argument 18 if (dev==0x15800078) 40 int sys_mknod(const char * filename, int mode, dev_t dev) argument 47 do_mknod(tmp,mode,to_kdev_t(dev));
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/contrib/ |
H A D | index-prop | 18 unless m{ /dev/null\t};
|
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/makeinfo/tests/ |
H A D | no-headers | 9 ../makeinfo --no-headers -o /dev/null -I$docdir info.texi
|
/netbsd-6-1-5-RELEASE/sys/dev/i2c/ |
H A D | cx24227var.h | 32 #include <dev/i2c/i2cvar.h> 33 #include <dev/dtv/dtvio.h>
|
H A D | mt2131var.h | 5 #include <dev/i2c/i2cvar.h> 6 #include <dev/dtv/dtvio.h>
|
H A D | nxt2kvar.h | 32 #include <dev/i2c/i2cvar.h> 33 #include <dev/dtv/dtvio.h>
|
/netbsd-6-1-5-RELEASE/sys/arch/sh3/ |
H A D | Makefile.inc | 3 SSH3= ../sh3/sh3/*.[ch] ../sh3/include/*.h ../sh3/dev/*.[ch]
|
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/pci/ |
H A D | pci_machdep.c | 9 #include <dev/pci/pcireg.h> 10 #include <dev/pci/pcivar.h>
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/pci/ |
H A D | pcic_pci_machdep.c | 36 #include <dev/pcmcia/pcmciachip.h> 37 #include <dev/ic/i82365reg.h> 38 #include <dev/ic/i82365var.h> 40 #include <dev/isa/isavar.h> 41 #include <dev/isa/i82365_isavar.h> 43 #include <dev/pci/pcivar.h> 44 #include <dev/pci/i82365_pcivar.h> 60 aprint_normal_dev(&sc->dev, "interrupting at irq %d\n", sc->irq);
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | agpbusprint.c | 8 #include <dev/pci/pcivar.h> 9 #include <dev/pci/agpvar.h>
|