代码搜索:DEV
找到约 10,000 项符合「DEV」的源代码
代码结果 10,000
www.eeworm.com/read/226941/14446127
c dev.c
#ifndef __KERNEL__
# define __KERNEL__ //按内核模块编译
#endif
#ifndef MODULE
# define MODULE //设备驱动程序模块编译
#endif
#define DEVICE_NAME "MyDev"
#define OPENSPK 1
#define CLOSESPK 2
www.eeworm.com/read/225618/14529748
cc dev.cc
#include
#include
#include
#include
#include "dev.h"
chrdev_t * chrdevvec[MAXBLKDEV];
extern int openchrfd(int flags, inode_t * inode, fdes_t *
www.eeworm.com/read/225618/14529762
h dev.h
#ifndef _CHRDEV_H
#define _CHRDEV_H
#include
struct inode_t;
struct fdes_t;
struct chrdev_t {
virtual ~chrdev_t() {}
virtual int open(int flags, inode_t * inode, fdes_t ** fdes) =
www.eeworm.com/read/225618/14529777
cc dev.cc
#include
#include
#include
#include
#include "dev.h"
#include "fd.h"
blkdev_t * blkdevvec[MAXBLKDEV];
static ulong nrsect, nrtime, nwsect, nwtime;
www.eeworm.com/read/225618/14529788
h dev.h
#ifndef _DEVBLKDEV_H
#define _DEVBLKDEV_H
#include
#include
#include "req.h"
#define SECTSIZE 512
#define SECTBITS 9
#define MAXBUFPERIO 32
struct buf_t;
struct blkd
www.eeworm.com/read/225618/14529803
cc dev.cc
#include
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/225618/14529816
h dev.h
#ifndef _NETDEV_H
#define _NETDEV_H
#include
#include "eth.h"
#include
#include
#include
struct pkt_t;
/* Structure defining a queue for a networ
www.eeworm.com/read/124442/14567938
h dev.h
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user l
www.eeworm.com/read/124442/14567957
c dev.c
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user l
www.eeworm.com/read/223304/14647105
c dev.c
/*
FUSE: Filesystem in Userspace
Copyright (C) 2001-2006 Miklos Szeredi
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#include