| Function report | 
| Source Code: arch\x86\kernel\ksysfs.c | Create Date:2022-07-28 07:42:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:setup_data_data_read
Proto:static ssize_t setup_data_data_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | fp | |
| struct kobject * | kobj | |
| struct bin_attribute * | bin_attr | |
| char * | buf | |
| loff_t | off | |
| size_t | count | 
| 152 | ret = 0 | 
| 157 | ret = kobj_to_setup_data_nr(kobj, & nr) | 
| 161 | ret = get_setup_data_paddr(nr, & paddr) | 
| 164 | data = memremap(paddr, size of data , MEMREMAP_WB) | 
| 168 | If type == SETUP_INDIRECT && type != SETUP_INDIRECT Then | 
| 172 | Else | 
| 189 | p = memremap(paddr, len, MEMREMAP_WB) | 
| 190 | If Not p Then | 
| 196 | out : | 
| 198 | Return ret | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |