Searched refs:transfer (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.2/kernel/src/libs/ |
D | unistd.c | 29 uint32_t transfer; in swab() local 30 for (; nbytes > 0; nbytes -= transfer) in swab() 32 transfer = (nbytes > 32) ? 32 : nbytes; in swab() 33 memcpy(buf, _src, transfer); in swab() 34 memcpy(_src, _dest, transfer); in swab() 35 memcpy(_dest, buf, transfer); in swab() 36 _src += transfer; in swab() 37 _dest += transfer; in swab()
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | unistd.c | 186 uint32_t transfer; in swab() local 187 for (; nbytes > 0; nbytes -= transfer) in swab() 189 transfer = (nbytes > 32) ? 32 : nbytes; in swab() 190 memcpy(buf, _src, transfer); in swab() 191 memcpy(_src, _dest, transfer); in swab() 192 memcpy(_dest, buf, transfer); in swab() 193 _src += transfer; in swab() 194 _dest += transfer; in swab()
|
/DragonOS-0.1.2/kernel/src/filesystem/ |
D | MBR.c | 16 return gd->fops->transfer(gd, AHCI_CMD_READ_DMA_EXT, 0, 1, (uint64_t)buf); in MBR_read_partition_table()
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat_ent.c | 35 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, fsbi->FAT1_base_sector + i, 1, (… in fat32_alloc_clusters() 136 blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, in fat32_read_FAT_entry() 159 blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, in fat32_write_FAT_entry() 164 blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, in fat32_write_FAT_entry() 166 blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, in fat32_write_FAT_entry() 210 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_per_clus, (uin… in fat32_find_empty_dentry() 259 … blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sector, fsbi->sec_per_clus, in fat32_find_empty_dentry() 456 …sb->blk_device->bd_disk->fops->transfer(sb->blk_device->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sinfo->i_… in fat32_remove_entries()
|
D | fat32.c | 80 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_per_clus, (uin… in __fat32_search_long_short() 377 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, blk->bd_start_LBA, 1, (uint64_t)… in fat32_read_superblock() 410 blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, in fat32_read_superblock() 498 …inode->sb->blk_device->bd_disk->fops->transfer(inode->sb->blk_device->bd_disk, AHCI_CMD_READ_DMA_E… in fat32_write_inode() 509 …inode->sb->blk_device->bd_disk->fops->transfer(inode->sb->blk_device->bd_disk, AHCI_CMD_WRITE_DMA_… in fat32_write_inode() 617 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_pe… in fat32_read() 711 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_pe… in fat32_write() 734 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sector, fsbi->sec_p… in fat32_write() 925 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, tmp_dentry_sector, fsbi->sec_pe… in fat32_create() 1027 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, tmp_dentry_sector, fsbi->sec_pe… in fat32_mkdir() [all …]
|
/DragonOS-0.1.2/kernel/src/common/ |
D | blk_types.h | 30 …long (*transfer)(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uint64_t bu… member
|
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/ |
D | ahci.c | 45 .transfer = ahci_transfer,
|