Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1148191
  • 博文数量: 241
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2279
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-27 19:53
个人简介

JustForFun

文章分类

全部博文(241)

文章存档

2023年(8)

2022年(2)

2021年(3)

2020年(30)

2019年(11)

2018年(27)

2017年(54)

2016年(83)

2015年(23)

我的朋友

发布时间:2020-10-05 23:26:29

fs/namespace.c SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name,  char __user *, type, unsigned long, flags, void __user *, data){ int retval; unsigned long data_page; unsigned long type_page; unsigned long dev_page; char *dir_.........【阅读全文】

阅读(953) | 评论(0) | 转发(0)

发布时间:2020-10-05 23:24:52

fs/目录下的read_write.cSYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count){ struct file *file; ssize_t ret = -EBADF; int fput_needed; file = fget_light(fd, &fput_ne.........【阅读全文】

阅读(925) | 评论(0) | 转发(0)

发布时间:2020-10-05 23:23:01

fs/fcntl.c SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg){struct file *filp;long err = -EBADF;filp = fget(fd);if (!filp)goto out;err = security_file_fcntl(filp, cmd, arg);if (err) {fput(filp);return err;}.........【阅读全文】

阅读(1494) | 评论(0) | 转发(0)

发布时间:2020-09-04 20:14:25

am8268  usb从机驱动udc笔记        drivers/usb/am7x/am7x_udc.c      static int __init  am7x_udc_probe(struct platform_device *pdev){    struct aotg_udc  *udc ;    int retval = 0;    struct .........【阅读全文】

阅读(1027) | 评论(0) | 转发(0)

发布时间:2020-09-04 01:35:38

系统内核:linux 4.10<drivers/usb/host/isp116x-hcd.c>//见<arch/arm/mach-pxa/viper.c>static struct platform_device isp116x_devicestatic const char hcd_name[] = "isp116x-hcd";module_platform_driver(isp116x_driver);/* work with hotplug and coldplug */MODULE_ALIAS("platform:isp116x-hcd");static .........【阅读全文】

阅读(988) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册