75 | | |
76 | | === __int '''_fat_ioc_access'''( unsigned int use_irq , unsigned int to_mem , unsigned int lba , unsigned int buf_vaddr , unsigned int count )__ === |
77 | | This function transfers one or several blocks between the block device and a memory buffer by calling the relevant driver. The <use_irq> boolean argument forces the descheduling mode if supported by the IOC driver. |
78 | | The <to_mem> boolean argument defines the transfer direction (from block device to memory if non zero). The |
79 | | <lba> argument is the first block address on the block device. The <buf_vaddr> argument is the memory buffer virtual address. The <count> argument is the number of blocks to be transferred. |
80 | | |
81 | | It returns 0 on success, or a negative value on failure. |
| 206 | === __int '''_fat_ioc_access'''( unsigned int use_irq , unsigned int to_mem , unsigned int lba , unsigned int buf_vaddr , unsigned int count )__ === |
| 207 | This function transfers one or several blocks between the block device and a memory buffer by calling the relevant driver. The <use_irq> boolean argument forces the descheduling mode if supported by the IOC driver. |
| 208 | The <to_mem> boolean argument defines the transfer direction (from block device to memory if non zero). The |
| 209 | <lba> argument is the first block address on the block device. The <buf_vaddr> argument is the memory buffer virtual address. The <count> argument is the number of blocks to be transferred. |
| 210 | |
| 211 | It returns 0 on success, or a negative value on failure. |
| 212 | |
| 213 | |