HomeSort by: relevance | last modified time | path
    Searched defs:dev (Results 1 - 25 of 1562) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/games/trek/
check_out.c 58 int dev; local in function:check_out
60 dev = device;
63 if (!damaged(dev))
67 out(dev);
72 printf(" Using starbase %s\n", Device[dev].name);
check_out.c 58 int dev; local in function:check_out
60 dev = device;
63 if (!damaged(dev))
67 out(dev);
72 printf(" Using starbase %s\n", Device[dev].name);
damage.c 66 int dev; local in function:damage
71 dev = dev1;
73 printf("\t%s damaged\n", Device[dev].name);
79 f = damaged(dev);
82 schedule(E_FIXDV, dam, 0, 0, dev);
89 if (e->evcode != E_FIXDV || e->systemname != dev)
95 errx(1, "Cannot find old damages %d", dev);
damage.c 66 int dev; local in function:damage
71 dev = dev1;
73 printf("\t%s damaged\n", Device[dev].name);
79 f = damaged(dev);
82 schedule(E_FIXDV, dam, 0, 0, dev);
89 if (e->evcode != E_FIXDV || e->systemname != dev)
95 errx(1, "Cannot find old damages %d", dev);
  /src/libexec/identd/
ipf.c 39 int dev; local in function:ipf_natlookup
71 if ((dev = open(IPNAT_NAME, O_RDONLY)) == -1) {
75 if (ioctl(dev, SIOCGNATL, &obj) == -1) {
77 (void)close(dev);
80 (void)close(dev);
pf.c 34 int dev; local in function:pf_natlookup
68 /* Open the /dev/pf device and do the lookup. */
69 if ((dev = open("/dev/pf", O_RDWR)) == -1) {
70 maybe_syslog(LOG_ERR, "Cannot open /dev/pf: %m");
73 if (ioctl(dev, DIOCNATLOOK, &nl) == -1) {
75 (void)close(dev);
78 (void)close(dev);
ipf.c 39 int dev; local in function:ipf_natlookup
71 if ((dev = open(IPNAT_NAME, O_RDONLY)) == -1) {
75 if (ioctl(dev, SIOCGNATL, &obj) == -1) {
77 (void)close(dev);
80 (void)close(dev);
pf.c 34 int dev; local in function:pf_natlookup
68 /* Open the /dev/pf device and do the lookup. */
69 if ((dev = open("/dev/pf", O_RDWR)) == -1) {
70 maybe_syslog(LOG_ERR, "Cannot open /dev/pf: %m");
73 if (ioctl(dev, DIOCNATLOOK, &nl) == -1) {
75 (void)close(dev);
78 (void)close(dev);
npf.c 58 int dev, af; local in function:npf_natlookup
82 /* Open the /dev/pf device and do the lookup. */
83 if ((dev = open("/dev/npf", O_RDWR)) == -1) {
84 maybe_syslog(LOG_ERR, "Cannot open /dev/npf: %m");
87 if (npf_nat_lookup(dev, af, addr, port, IPPROTO_TCP, PFIL_OUT) == -1) {
89 (void)close(dev);
92 (void)close(dev);
npf.c 58 int dev, af; local in function:npf_natlookup
82 /* Open the /dev/pf device and do the lookup. */
83 if ((dev = open("/dev/npf", O_RDWR)) == -1) {
84 maybe_syslog(LOG_ERR, "Cannot open /dev/npf: %m");
87 if (npf_nat_lookup(dev, af, addr, port, IPPROTO_TCP, PFIL_OUT) == -1) {
89 (void)close(dev);
92 (void)close(dev);
  /src/sys/arch/ia64/stand/common/
devopen.c 40 struct devdesc *dev; local in function:devopen
43 if ((result = archsw.arch_getdev((void *)&dev, fname, (const char **) file)) == 0) { /* get the device */
45 f->f_devdata = dev;
46 if ((result = dev->d_dev->dv_open(f, dev)) == 0) { /* try to open it */
48 f->f_dev = dev->d_dev;
50 free(dev); /* release the device descriptor */
devopen.c 40 struct devdesc *dev; local in function:devopen
43 if ((result = archsw.arch_getdev((void *)&dev, fname, (const char **) file)) == 0) { /* get the device */
45 f->f_devdata = dev;
46 if ((result = dev->d_dev->dv_open(f, dev)) == 0) { /* try to open it */
48 f->f_dev = dev->d_dev;
50 free(dev); /* release the device descriptor */
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_hwmon.h 31 struct drm_device *dev; member in struct:nouveau_hwmon
36 nouveau_hwmon(struct drm_device *dev)
38 return nouveau_drm(dev)->hwmon;
42 int nouveau_hwmon_init(struct drm_device *dev);
43 void nouveau_hwmon_fini(struct drm_device *dev);
nouveau_hwmon.h 31 struct drm_device *dev; member in struct:nouveau_hwmon
36 nouveau_hwmon(struct drm_device *dev)
38 return nouveau_drm(dev)->hwmon;
42 int nouveau_hwmon_init(struct drm_device *dev);
43 void nouveau_hwmon_fini(struct drm_device *dev);
  /src/sys/arch/playstation2/dev/
emac3var.h 33 device_t dev; member in struct:emac3_softc
emac3var.h 33 device_t dev; member in struct:emac3_softc
  /src/sys/external/bsd/drm2/dist/drm/ast/
ast_ttm.c 45 struct drm_device *dev = ast->dev; local in function:ast_mm_init
48 dev, pci_resource_start(dev->pdev, 0),
56 arch_io_reserve_memtype_wc(pci_resource_start(dev->pdev, 0),
57 pci_resource_len(dev->pdev, 0));
58 ast->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
59 pci_resource_len(dev->pdev, 0));
66 struct drm_device *dev = ast->dev; local in function:ast_mm_fini
    [all...]
ast_ttm.c 45 struct drm_device *dev = ast->dev; local in function:ast_mm_init
48 dev, pci_resource_start(dev->pdev, 0),
56 arch_io_reserve_memtype_wc(pci_resource_start(dev->pdev, 0),
57 pci_resource_len(dev->pdev, 0));
58 ast->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
59 pci_resource_len(dev->pdev, 0));
66 struct drm_device *dev = ast->dev; local in function:ast_mm_fini
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/vboxvideo/
vbox_ttm.c 22 struct drm_device *dev = &vbox->ddev; local in function:vbox_mm_init
24 vmm = drm_vram_helper_alloc_mm(dev, pci_resource_start(dev->pdev, 0),
33 vbox->fb_mtrr = drm_mtrr_add(pci_resource_start(dev->pdev, 0),
34 pci_resource_len(dev->pdev, 0),
37 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
38 pci_resource_len(dev->pdev, 0));
vbox_ttm.c 22 struct drm_device *dev = &vbox->ddev; local in function:vbox_mm_init
24 vmm = drm_vram_helper_alloc_mm(dev, pci_resource_start(dev->pdev, 0),
33 vbox->fb_mtrr = drm_mtrr_add(pci_resource_start(dev->pdev, 0),
34 pci_resource_len(dev->pdev, 0),
37 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
38 pci_resource_len(dev->pdev, 0));
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_irq.c 39 struct drm_device *dev = (struct drm_device *) arg; local in function:qxl_irq_handler
40 struct qxl_device *qdev = (struct qxl_device *)dev->dev_private;
qxl_irq.c 39 struct drm_device *dev = (struct drm_device *) arg; local in function:qxl_irq_handler
40 struct qxl_device *qdev = (struct qxl_device *)dev->dev_private;
  /src/usr.sbin/sesd/srcs/
chpmon.c 54 int fd, delay, dev; local in function:main
71 for (dev = 2; dev < a; dev++) {
72 fd = open(v[dev], O_RDWR);
74 perror(v[dev]);
84 v[dev], strerror(errno));
93 v[dev], strerror(errno));
99 if (carray[dev]) {
101 "condition\n", v[dev]);
    [all...]
chpmon.c 54 int fd, delay, dev; local in function:main
71 for (dev = 2; dev < a; dev++) {
72 fd = open(v[dev], O_RDWR);
74 perror(v[dev]);
84 v[dev], strerror(errno));
93 v[dev], strerror(errno));
99 if (carray[dev]) {
101 "condition\n", v[dev]);
    [all...]
  /src/sys/arch/i386/stand/efiboot/
efidisk.h 34 int dev; member in struct:efidiskinfo

Completed in 59 milliseconds

1 2 3 4 5 6 7 8 91011>>