• Home
  • Raw
  • Download

Lines Matching refs:sect

212     return dfp_target->f_dir.sect != dfp->f_dir.sect ||  in fatfs_hash_cmp()
217 static DWORD fatfs_hash(QWORD sect, DWORD dptr, DWORD sclst) in fatfs_hash() argument
220 hash = LOS_HashFNV32aBuf(&sect, sizeof(QWORD), hash); in fatfs_hash()
263 QWORD sect; in init_cluster() local
289 sect = clst2sect(fs, *clust); in init_cluster()
312 fs->winsect = sect++; in init_cluster()
315 PARENTFS(fs)->winsect = sect++; in init_cluster()
329 fs->winsect = sect++; in init_cluster()
332 PARENTFS(fs)->winsect = sect++; in init_cluster()
474 hash = fatfs_hash(dp_new->sect, dp_new->dptr, finfo_new->sclst); in fatfs_create_obj()
548 hash = fatfs_hash(dp->sect, dp->dptr, finfo->sclst); in fatfs_lookup()
621 fp->dir_sect = dp->sect; in fatfs_open()
632 fp->sect = 0; in fatfs_open()
710 result = move_window(fs, dp->sect); in update_dir()
828 if (entry->sect != 0) { in update_filbuff()
829 if (disk_read(fs->pdrv, entry->buf, entry->sect, 1) != RES_OK) { in update_filbuff()
1495 result = move_window(fs, dp->sect); in fatfs_chattr()
2172 QWORD sect; in fatfs_readlink() local
2186 sect = clst2sect(fs, clust); /* Get current sector */ in fatfs_readlink()
2187 if (sect == 0) { in fatfs_readlink()
2192 if (move_window(fs, sect) != FR_OK) { in fatfs_readlink()
2221 QWORD sect; in fatfs_readpage() local
2264 sect = clst2sect(fs, clust); in fatfs_readpage()
2265 sect += (pos / SS(fs)) & (fs->csize - 1); in fatfs_readpage()
2277 if (disk_read(fs->pdrv, buf, sect, step) != RES_OK) { in fatfs_readpage()
2294 sect = clst2sect(fs, clust); in fatfs_readpage()
2319 QWORD sect; in fatfs_writepage() local
2362 sect = clst2sect(fs, clust); in fatfs_writepage()
2363 sect += (pos / SS(fs)) & (fs->csize - 1); in fatfs_writepage()
2375 if (disk_write(fs->pdrv, buf, sect, step) != RES_OK) { in fatfs_writepage()
2392 sect = clst2sect(fs, clust); in fatfs_writepage()